Hello

I just did a solaris build and one thing I am curious about is why we
link every module multiple times?

I have an old link line from 20070521 (Current head at the time...)

cc -g -Dsolaris2=solaris2 -o .libs/snmpd .libs/snmpd.o  \
./.libs/libnetsnmpmibs.so \
-ladm \
./.libs/libnetsnmpagent.so \
helpers/.libs/libnetsnmphelpers.so \
../snmplib/.libs/libnetsnmp.so \
-ldl -lkvm -lkstat -lelf -lm -lnsl -lsocket \
-R/usr/local/lib

I have one from today (r16471)

cc -g -Dsolaris2=solaris2 -o .libs/snmpd .libs/snmpd.o  \
-L/home/magfr/netsnmp/build3/agent/.libs
-L/home/magfr/netsnmp/build3/agent/helpers/.libs
-L/home/magfr/netsnmp/build3/snmplib/.libs
-L/home/magfr/netsnmp/build3/snmplib
-L/home/magfr/netsnmp/build3/agent/helpers \
./.libs/libnetsnmpagent.so
helpers/.libs/libnetsnmphelpers.so
./.libs/libnetsnmpmibs.so 
/home/magfr/netsnmp/build3/agent/helpers/.libs/libnetsnmphelpers.so
/home/magfr/netsnmp/build3/agent/.libs/libnetsnmpagent.so \
-lkvm \
/home/magfr/netsnmp/build3/snmplib/.libs/libnetsnmp.so \
-ldl -ladm \
../snmplib/.libs/libnetsnmp.so \
-lkstat -lelf -lnsl -lsocket \
-R/usr/local/lib

Both versions are built with the following configure line:

../net-snmp/configure --with-defaults CC=cc --enable-mib-config-checking
--with-mib-modules=examples/example

Is this some kind of fallout from the as-needed work?

/MF


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to