This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
some help please
- From: etham <etham at free dot fr>
- To: gcc-help at gcc dot gnu dot org
- Date: Mon, 3 Mar 2003 13:56:11 +0100
- Subject: some help please
Sir,
I'm trying to compile some programs in C language in order to test rpc
communication but I get one error
could you help me please ?
I wrote 3 files : modele.x, client .c and serveur.c and then compiled
the first file with this line with no problem :
rpcgen modele.x
but when I try to compile the 2 others with this line I get one
gcc modele_clnt.c modele_xdr.c CLIENT.c -o CLIENT -lnsl
ld: can't locate file for: -lnsl
it tells me there is an file missing and I checked that the first 2
files have been already generated with the first command
what kind of file can I add in this line please?
where can I find some documentation about the extensions which can be
used with gcc as -lnsl, -lm, .......... ?
I do these tests on Macintosh G4 + Mac OS X.2.4 + gcc
Best regards