From mboxrd@z Thu Jan 1 00:00:00 1970 From: Corinna Vinschen To: "Suhaib M. Siddiqi" , cygwin@sourceware.cygnus.com Subject: Re: Date: Fri, 26 Feb 1999 11:59:00 -0000 Message-id: <36D6FC23.66EF3D7@cityweb.de> References: <01d601be61ac$ceadd300$29acdfd0@InspirePharm.Com> X-SW-Source: 1999-02/msg00900.html You didn't write very much information, so I only took a look into the librpclib.a and have found, that the symbols are defined. Try nm librpclib.a | grep 'T _xdr' | less and you will see it, too. Are you sure, that your linking stage is correct? Regards, Corinna P.S.: Caution in using xdr_float. It definitely doesn't work correctly. I got a patch in the meantime, which I will publish soon. Suhaib M. Siddiqi wrote: > > Hi, > > I tried using your rpc *librpclib.a* and apprantly ran into a problem. > I get unreferenced symbols to xdr- Looks like xdr is missing? > > Regards > Suhaib > > c:/cygnus/cygwin-b20/H-i586-cygwin32/bin/../lib/gcc-lib/i586-cygwin32/eg > cs-2.91. > 60/../../../../i586-cygwin32/include/cygwin/in.h:150: warning: > `INADDR_LOOPBACK' > redefined > c:/cygnus/cygwin-b20/H-i586-cygwin32/bin/../lib/gcc-lib/i586-cygwin32/eg > cs-2.91. > 60/../../../../i586-cygwin32/include/rpc/types.h:60: warning: this is > the locati > on of the previous definition > libxdrf.a(libxdrf.o)(.text+0x1f):libxdrf.c: undefined reference to > `_xdr_bool' > libxdrf.a(libxdrf.o)(.text+0x53):libxdrf.c: undefined reference to > `_xdr_char' > libxdrf.a(libxdrf.o)(.text+0x87):libxdrf.c: undefined reference to > `_xdr_double' > > libxdrf.a(libxdrf.o)(.text+0xbb):libxdrf.c: undefined reference to > `_xdr_float' > libxdrf.a(libxdrf.o)(.text+0x137):libxdrf.c: undefined reference to > `_xdr_long' > libxdrf.a(libxdrf.o)(.text+0x16b):libxdrf.c: undefined reference to > `_xdr_short' > > libxdrf.a(libxdrf.o)(.text+0x19f):libxdrf.c: undefined reference to > `_xdr_u_char > ' > libxdrf.a(libxdrf.o)(.text+0x1d3):libxdrf.c: undefined reference to > `_xdr_u_long > ' > libxdrf.a(libxdrf.o)(.text+0x207):libxdrf.c: undefined reference to > `_xdr_u_shor > t' > libxdrf.a(libxdrf.o)(.text+0x2bf):libxdrf.c: undefined reference to > `_xdr_string > ' > libxdrf.a(libxdrf.o)(.text+0x351):libxdrf.c: undefined reference to > `_xdr_string > ' > libxdrf.a(libxdrf.o)(.text+0x3a8):libxdrf.c: undefined reference to > `_xdr_opaque > ' > libxdrf.a(libxdrf.o)(.text+0x3e1):libxdrf.c: undefined reference to > `_xdr_setpos > ' > libxdrf.a(libxdrf.o)(.text+0x407):libxdrf.c: undefined reference to > `_xdr_getpos > ' > libxdrf.a(libxdrf.o)(.text+0x6e6):libxdrf.c: undefined reference to > `_xdr_destro > y' > libxdrf.a(libxdrf.o)(.text+0xdc2):libxdrf.c: undefined reference to > `_xdr_int' > libxdrf.a(libxdrf.o)(.text+0xe0d):libxdrf.c: undefined reference to > `_xdr_float' > > libxdrf.a(libxdrf.o)(.text+0x1305):libxdrf.c: undefined reference to > `_xdr_int' > libxdrf.a(libxdrf.o)(.text+0x130f):libxdrf.c: undefined reference to > `_xdr_int' > libxdrf.a(libxdrf.o)(.text+0x1319):libxdrf.c: undefined reference to > `_xdr_int' > libxdrf.a(libxdrf.o)(.text+0x1326):libxdrf.c: undefined reference to > `_xdr_int' > libxdrf.a(libxdrf.o)(.text+0x1336):libxdrf.c: undefined reference to > `_xdr_int' > libxdrf.a(libxdrf.o)(.text+0x1340):libxdrf.c: more undefined references > to `_xdr > _int' follow > libxdrf.a(libxdrf.o)(.text+0x19a1):libxdrf.c: undefined reference to > `_xdr_opaqu > e' > libxdrf.a(libxdrf.o)(.text+0x19c4):libxdrf.c: undefined reference to > `_xdr_int' > libxdrf.a(libxdrf.o)(.text+0x1a2c):libxdrf.c: undefined reference to > `_xdr_vecto > r' > libxdrf.a(libxdrf.o)(.text+0x1a41):libxdrf.c: undefined reference to > `_xdr_float > ' > libxdrf.a(libxdrf.o)(.text+0x1c2d):libxdrf.c: undefined reference to > `_xdr_int' > libxdrf.a(libxdrf.o)(.text+0x1c37):libxdrf.c: undefined reference to > `_xdr_int' > libxdrf.a(libxdrf.o)(.text+0x1c41):libxdrf.c: undefined reference to > `_xdr_int' > libxdrf.a(libxdrf.o)(.text+0x1c4e):libxdrf.c: undefined reference to > `_xdr_int' > libxdrf.a(libxdrf.o)(.text+0x1c5e):libxdrf.c: undefined reference to > `_xdr_int' > libxdrf.a(libxdrf.o)(.text+0x1c68):libxdrf.c: more undefined references > to `_xdr > _int' follow > libxdrf.a(libxdrf.o)(.text+0x1d84):libxdrf.c: undefined reference to > `_xdr_opaqu > e' > collect2: ld returned 1 exit status -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe@sourceware.cygnus.com From mboxrd@z Thu Jan 1 00:00:00 1970 From: Corinna Vinschen To: "Suhaib M. Siddiqi" , cygwin@sourceware.cygnus.com Subject: Re: Date: Sun, 28 Feb 1999 23:02:00 -0000 Message-ID: <36D6FC23.66EF3D7@cityweb.de> References: <01d601be61ac$ceadd300$29acdfd0@InspirePharm.Com> X-SW-Source: 1999-02n/msg00901.html Message-ID: <19990228230200.EgR1QaaS3nz6Ya7YLJxXhRQpf3AmH37h5gDOFN48fqU@z> You didn't write very much information, so I only took a look into the librpclib.a and have found, that the symbols are defined. Try nm librpclib.a | grep 'T _xdr' | less and you will see it, too. Are you sure, that your linking stage is correct? Regards, Corinna P.S.: Caution in using xdr_float. It definitely doesn't work correctly. I got a patch in the meantime, which I will publish soon. Suhaib M. Siddiqi wrote: > > Hi, > > I tried using your rpc *librpclib.a* and apprantly ran into a problem. > I get unreferenced symbols to xdr- Looks like xdr is missing? > > Regards > Suhaib > > c:/cygnus/cygwin-b20/H-i586-cygwin32/bin/../lib/gcc-lib/i586-cygwin32/eg > cs-2.91. > 60/../../../../i586-cygwin32/include/cygwin/in.h:150: warning: > `INADDR_LOOPBACK' > redefined > c:/cygnus/cygwin-b20/H-i586-cygwin32/bin/../lib/gcc-lib/i586-cygwin32/eg > cs-2.91. > 60/../../../../i586-cygwin32/include/rpc/types.h:60: warning: this is > the locati > on of the previous definition > libxdrf.a(libxdrf.o)(.text+0x1f):libxdrf.c: undefined reference to > `_xdr_bool' > libxdrf.a(libxdrf.o)(.text+0x53):libxdrf.c: undefined reference to > `_xdr_char' > libxdrf.a(libxdrf.o)(.text+0x87):libxdrf.c: undefined reference to > `_xdr_double' > > libxdrf.a(libxdrf.o)(.text+0xbb):libxdrf.c: undefined reference to > `_xdr_float' > libxdrf.a(libxdrf.o)(.text+0x137):libxdrf.c: undefined reference to > `_xdr_long' > libxdrf.a(libxdrf.o)(.text+0x16b):libxdrf.c: undefined reference to > `_xdr_short' > > libxdrf.a(libxdrf.o)(.text+0x19f):libxdrf.c: undefined reference to > `_xdr_u_char > ' > libxdrf.a(libxdrf.o)(.text+0x1d3):libxdrf.c: undefined reference to > `_xdr_u_long > ' > libxdrf.a(libxdrf.o)(.text+0x207):libxdrf.c: undefined reference to > `_xdr_u_shor > t' > libxdrf.a(libxdrf.o)(.text+0x2bf):libxdrf.c: undefined reference to > `_xdr_string > ' > libxdrf.a(libxdrf.o)(.text+0x351):libxdrf.c: undefined reference to > `_xdr_string > ' > libxdrf.a(libxdrf.o)(.text+0x3a8):libxdrf.c: undefined reference to > `_xdr_opaque > ' > libxdrf.a(libxdrf.o)(.text+0x3e1):libxdrf.c: undefined reference to > `_xdr_setpos > ' > libxdrf.a(libxdrf.o)(.text+0x407):libxdrf.c: undefined reference to > `_xdr_getpos > ' > libxdrf.a(libxdrf.o)(.text+0x6e6):libxdrf.c: undefined reference to > `_xdr_destro > y' > libxdrf.a(libxdrf.o)(.text+0xdc2):libxdrf.c: undefined reference to > `_xdr_int' > libxdrf.a(libxdrf.o)(.text+0xe0d):libxdrf.c: undefined reference to > `_xdr_float' > > libxdrf.a(libxdrf.o)(.text+0x1305):libxdrf.c: undefined reference to > `_xdr_int' > libxdrf.a(libxdrf.o)(.text+0x130f):libxdrf.c: undefined reference to > `_xdr_int' > libxdrf.a(libxdrf.o)(.text+0x1319):libxdrf.c: undefined reference to > `_xdr_int' > libxdrf.a(libxdrf.o)(.text+0x1326):libxdrf.c: undefined reference to > `_xdr_int' > libxdrf.a(libxdrf.o)(.text+0x1336):libxdrf.c: undefined reference to > `_xdr_int' > libxdrf.a(libxdrf.o)(.text+0x1340):libxdrf.c: more undefined references > to `_xdr > _int' follow > libxdrf.a(libxdrf.o)(.text+0x19a1):libxdrf.c: undefined reference to > `_xdr_opaqu > e' > libxdrf.a(libxdrf.o)(.text+0x19c4):libxdrf.c: undefined reference to > `_xdr_int' > libxdrf.a(libxdrf.o)(.text+0x1a2c):libxdrf.c: undefined reference to > `_xdr_vecto > r' > libxdrf.a(libxdrf.o)(.text+0x1a41):libxdrf.c: undefined reference to > `_xdr_float > ' > libxdrf.a(libxdrf.o)(.text+0x1c2d):libxdrf.c: undefined reference to > `_xdr_int' > libxdrf.a(libxdrf.o)(.text+0x1c37):libxdrf.c: undefined reference to > `_xdr_int' > libxdrf.a(libxdrf.o)(.text+0x1c41):libxdrf.c: undefined reference to > `_xdr_int' > libxdrf.a(libxdrf.o)(.text+0x1c4e):libxdrf.c: undefined reference to > `_xdr_int' > libxdrf.a(libxdrf.o)(.text+0x1c5e):libxdrf.c: undefined reference to > `_xdr_int' > libxdrf.a(libxdrf.o)(.text+0x1c68):libxdrf.c: more undefined references > to `_xdr > _int' follow > libxdrf.a(libxdrf.o)(.text+0x1d84):libxdrf.c: undefined reference to > `_xdr_opaqu > e' > collect2: ld returned 1 exit status -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe@sourceware.cygnus.com