On sön, 2007-06-03 at 20:38 +0200, Thomas Anders wrote:
> Magnus Fromreide wrote:
> > 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
> 
> What's the corresponding libtool invocation?

Old:

/bin/sh ../libtool --mode=link \
cc -g -Dsolaris2=solaris2 -o snmpd snmpd.lo \
libnetsnmpmibs.la libnetsnmpagent.la \
helpers/libnetsnmphelpers.la ../snmplib/libnetsnmp.la \
-ldl -lkvm -lkstat -lelf -lm  -lnsl -lsocket  

New:

/bin/sh ../libtool --mode=link \
cc -g -Dsolaris2=solaris2 -o snmpd snmpd.lo \
-L../snmplib/.libs -L../snmplib -L./.libs -L./helpers/.libs \
-L./helpers \
libnetsnmpagent.la helpers/libnetsnmphelpers.la \
libnetsnmpmibs.la ../snmplib/libnetsnmp.la \
-lelf -lnsl -lsocket

So when it comes to the libtool call it seems to be a step forward.

> Also, does it cause any trouble?

Nope, I just got curious.

/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