Errors compiling NRPE under IRIX
Chris Waltham
chris at harvestroad.com
Thu Sep 19 04:48:47 CEST 2002
Hi guys,
I'm having some problems compiling NRPE 1.5 on an IRIX 6.3 machine (an R10k
O2). I get a whole bunch of library/linking errors, but I don't think I
know enough to be able to fix them! I'm using all the GNU tools, including
gcc (2.95.2) and make (3.76.1). Can anybody help?
thanks guys,
Chris
(log below):
cd ./src/; make ; cd ..
make[1]: Entering directory `/home/staff/chris/BUILD/nrpe-1.5/src'
gcc -g -O2 -DHAVE_CONFIG_H -lnsl -lsocket nrpe.c netutils.c -o nrpe
ld32: WARNING 84: /usr/lib32/libnsl.so is not used for resolving any symbol.
ld32: WARNING 84: /usr/lib32/libsocket.so is not used for resolving any symbol.
ld32: WARNING 85: definition of _ffs in /usr/lib32/libnsl.so preempts that
definition in /usr/lib32/mips3/libc.so.
ld32: WARNING 134: weak definition of ffs in /usr/lib32/libnsl.so preempts
that weak definition in /usr/lib32/mips3/libc.so.
ld32: WARNING 134: weak definition of dial in /usr/lib32/libnsl.so preempts
that weak definition in /usr/lib32/mips3/libc.so.
ld32: WARNING 85: definition of _dial in /usr/lib32/libnsl.so preempts that
definition in /usr/lib32/mips3/libc.so.
ld32: WARNING 134: weak definition of undial in /usr/lib32/libnsl.so
preempts that weak definition in /usr/lib32/mips3/libc.so.
ld32: WARNING 134: weak definition of authnone_create in
/usr/lib32/libnsl.so preempts that weak definition in /usr/lib32/mips3/libc.so.
ld32: WARNING 134: weak definition of clnt_create in /usr/lib32/libnsl.so
preempts that weak definition in /usr/lib32/mips3/libc.so.
ld32: WARNING 134: weak definition of clnt_create_vers in
/usr/lib32/libnsl.so preempts that weak definition in /usr/lib32/mips3/libc.so.
ld32: WARNING 85: definition of _clnt_create_vers in /usr/lib32/libnsl.so
preempts that definition in /usr/lib32/mips3/libc.so.
ld32: WARNING 134: weak definition of clnt_sperror in /usr/lib32/libnsl.so
preempts that weak definition in /usr/lib32/mips3/libc.so.
ld32: WARNING 134: weak definition of clnt_perror in /usr/lib32/libnsl.so
preempts that weak definition in /usr/lib32/mips3/libc.so.
ld32: WARNING 134: weak definition of clnt_sperrno in /usr/lib32/libnsl.so
preempts that weak definition in /usr/lib32/mips3/libc.so.
ld32: WARNING 134: weak definition of clnt_perrno in /usr/lib32/libnsl.so
preempts that weak definition in /usr/lib32/mips3/libc.so.
ld32: WARNING 85: definition of _clnt_perrno in /usr/lib32/libnsl.so
preempts that definition in /usr/lib32/mips3/libc.so.
ld32: WARNING 134: weak definition of clnt_spcreateerror in
/usr/lib32/libnsl.so preempts that weak definition in /usr/lib32/mips3/libc.so.
ld32: WARNING 134: weak definition of clnt_pcreateerror in
/usr/lib32/libnsl.so preempts that weak definition in /usr/lib32/mips3/libc.so.
ld32: WARNING 85: definition of _clntraw_create in /usr/lib32/libnsl.so
preempts that definition in /usr/lib32/mips3/libc.so.
ld32: WARNING 134: weak definition of clntraw_create in
/usr/lib32/libnsl.so preempts that weak definition in /usr/lib32/mips3/libc.so.
ld32: WARNING 85: definition of _callrpc in /usr/lib32/libnsl.so preempts
that definition in /usr/lib32/mips3/libc.so.
ld32: WARNING 134: weak definition of callrpc in /usr/lib32/libnsl.so
preempts that weak definition in /usr/lib32/mips3/libc.so.
ld32: WARNING 134: weak definition of clnttcp_create in
/usr/lib32/libnsl.so preempts that weak definition in /usr/lib32/mips3/libc.so.
ld32: WARNING 134: weak definition of clntudp_bufcreate in
/usr/lib32/libnsl.so preempts that weak definition in /usr/lib32/mips3/libc.so.
ld32: WARNING 134: weak definition of clntudp_create in
/usr/lib32/libnsl.so preempts that weak definition in /usr/lib32/mips3/libc.so.
ld32: WARNING 85: definition of _get_myaddress in /usr/lib32/libnsl.so
preempts that definition in /usr/lib32/mips3/libc.so.
ld32: WARNING 134: weak definition of get_myaddress in /usr/lib32/libnsl.so
preempts that weak definition in /usr/lib32/mips3/libc.so.
ld32: WARNING 134: weak definition of netname2user in /usr/lib32/libnsl.so
preempts that weak definition in /usr/lib32/mips3/libc.so.
ld32: WARNING 85: definition of _netname2user in /usr/lib32/libnsl.so
preempts that definition in /usr/lib32/mips3/libc.so.
ld32: WARNING 134: weak definition of netname2host in /usr/lib32/libnsl.so
preempts that weak definition in /usr/lib32/mips3/libc.so.
ld32: WARNING 85: definition of _netname2host in /usr/lib32/libnsl.so
preempts that definition in /usr/lib32/mips3/libc.so.
ld32: WARNING 85: definition of _getnetname in /usr/lib32/libnsl.so
preempts that definition in /usr/lib32/mips3/libc.so.
ld32: WARNING 134: weak definition of getnetname in /usr/lib32/libnsl.so
preempts that weak definition in /usr/lib32/mips3/libc.so.
ld32: WARNING 134: weak definition of user2netname in /usr/lib32/libnsl.so
preempts that weak definition in /usr/lib32/mips3/libc.so.
ld32: WARNING 134: weak definition of host2netname in /usr/lib32/libnsl.so
preempts that weak definition in /usr/lib32/mips3/libc.so.
ld32: WARNING 134: weak definition of pmap_set in /usr/lib32/libnsl.so
preempts that weak definition in /usr/lib32/mips3/libc.so.
ld32: WARNING 134: weak definition of pmap_unset in /usr/lib32/libnsl.so
preempts that weak definition in /usr/lib32/mips3/libc.so.
ld32: WARNING 134: weak definition of pmap_getmaps in /usr/lib32/libnsl.so
preempts that weak definition in /usr/lib32/mips3/libc.so.
ld32: WARNING 85: definition of _pmap_getmaps in /usr/lib32/libnsl.so
preempts that definition in /usr/lib32/mips3/libc.so.
ld32: WARNING 134: weak definition of pmap_getport in /usr/lib32/libnsl.so
preempts that weak definition in /usr/lib32/mips3/libc.so.
ld32: WARNING 134: weak definition of xdr_pmap in /usr/lib32/libnsl.so
preempts that weak definition in /usr/lib32/mips3/libc.so.
ld32: WARNING 134: weak definition of xdr_pmaplist in /usr/lib32/libnsl.so
preempts that weak definition in /usr/lib32/mips3/libc.so.
ld32: WARNING 134: weak definition of pmap_rmtcall in /usr/lib32/libnsl.so
preempts that weak definition in /usr/lib32/mips3/libc.so.
ld32: WARNING 85: definition of _pmap_rmtcall in /usr/lib32/libnsl.so
preempts that definition in /usr/lib32/mips3/libc.so.
ld32: WARNING 134: weak definition of xdr_rmtcall_args in
/usr/lib32/libnsl.so preempts that weak definition in /usr/lib32/mips3/libc.so.
ld32: WARNING 134: weak definition of xdr_rmtcallres in
/usr/lib32/libnsl.so preempts that weak definition in /usr/lib32/mips3/libc.so.
ld32: WARNING 85: definition of _clnt_broadcast in /usr/lib32/libnsl.so
preempts that definition in /usr/lib32/mips3/libc.so.
ld32: WARNING 134: weak definition of clnt_broadcast in
/usr/lib32/libnsl.so preempts that weak definition in /usr/lib32/mips3/libc.so.
ld32: WARNING 134: weak definition of xdr_callmsg in /usr/lib32/libnsl.so
preempts that weak definition in /usr/lib32/mips3/libc.so.
ld32: WARNING 134: weak definition of xdr_opaque_auth in
/usr/lib32/libnsl.so preempts that weak definition in /usr/lib32/mips3/libc.so.
ld32: Giving up after printing 50 warnings. Use -wall to print all warnings.
ld32: ERROR 33: Unresolved text symbol "snprintf" -- 1st referenced by
/var/tmp/ccJV7qfe.o.
ld32: INFO 152: Output file removed because of error.
collect2: ld returned 2 exit status
make[1]: *** [nrpe] Error 1
make[1]: Leaving directory `/home/staff/chris/BUILD/nrpe-1.5/src'
*** Compile finished ***
-------------------------------------------------------
This SF.NET email is sponsored by: AMD - Your access to the experts
on Hammer Technology! Open Source & Linux Developers, register now
for the AMD Developer Symposium. Code: EX8664
http://www.developwithamd.com/developerlab
More information about the Users
mailing list