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: Giving up after printing 50 warnings. Use -wall to print all
warnings.
I want to know that problem is my mistake or the other things?
Any help woluld be greatly appreciated.
Thanks for any help.
: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: Giving up after printing 50 warnings. Use -wall to print all
:warnings.
:I want to know that problem is my mistake or the other things?
I would remove -lsocket and -lnsl from the link line.
In particular, according to man 3n intro -lsocket is
incompatible with -lnsl because nsl does NOT work with sockets
and -lsocket uses the BSD socket interface. When the link line
uses both, we can be sure that the person/program that constructed
the link line did not know what he/it was doing and randomly added
in libraries that are needed by other Unixes.