This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Probs with linking a library
- From: Eljay Love-Jensen <eljay at adobe dot com>
- To: Sumith Makam <makampec at iitr dot ernet dot in>, gcc-help at gcc dot gnu dot org
- Date: Tue, 11 May 2004 14:43:22 -0500
- Subject: Re: Probs with linking a library
- References: <Pine.GSO.4.05.10405120107140.8481-100000@iitr.ernet.in>
Hi Sumith,
Order is important.
Try this:
g++ -lm -lcrypto -lrpcsvc -L/home/sumith/sw/keynote-2.3
okecl_client.o okecl_interface_clnt.o okecl_interface_xdr.o -o oke-load
-lkeynote
HTH,
--Eljay