Mail Archives: cygwin/1999/02/26/15:04:45
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 AT sourceware DOT cygnus DOT com
- Raw text -