[EMAIL PROTECTED] wrote:
> Revision: 17156
>           http://net-snmp.svn.sourceforge.net/net-snmp/?rev=17156&view=rev
> Author:   dts12
> Date:     2008-08-14 15:54:25 +0000 (Thu, 14 Aug 2008)
> 
> Log Message:
> -----------
> SWRun processing needs access to the internals of 'struct user'
> (Solaris)
> 
> Modified Paths:
> --------------
>     trunk/net-snmp/agent/mibgroup/host/data_access/swrun_kvm_proc.c

This change (or one quite close to it) broke the build on Solaris, I think:

/bin/sh ../libtool  --mode=link /opt/SUNWspro/bin/cc -g
-Dsolaris2=solaris2
-I/my/sw/perl-5.8.8-cc32/lib/5.8.8/sun4-solaris/CORE   -o snmpd snmpd.lo
 -L../snmplib/.libs -L../snmplib -L./.libs -L./helpers/.libs -L./helpers
-L/opt/fsw/libopenssl097/lib   libnetsnmpagent.la
helpers/libnetsnmphelpers.la libnetsnmpmibs.la ../snmplib/libnetsnmp.la
-lnsl -lsocket -lelf  -R /my/sw/perl-5.8.8-cc32/lib/5.8.8/sun4-solaris/CORE
/opt/SUNWspro/bin/cc -g -Dsolaris2=solaris2
-I/my/sw/perl-5.8.8-cc32/lib/5.8.8/sun4-solaris/CORE -o .libs/snmpd
.libs/snmpd.o  -L/builddir/agent/.libs -L/builddir/agent/helpers/.libs
-L/builddir/snmplib/.libs -L/builddir/snmplib -L/builddir/agent/helpers
-L/opt/fsw/libopenssl097/lib ./.libs/libnetsnmpagent.so -L/usr/lib
-L/usr/ccs/lib -L/opt/SUNWspro/WS6U2/lib
-L/my/sw/perl-5.8.8-cc32/lib/5.8.8/sun4-solaris/CORE
helpers/.libs/libnetsnmphelpers.so ./.libs/libnetsnmpmibs.so
/builddir/agent/helpers/.libs/libnetsnmphelpers.so
/builddir/agent/.libs/libnetsnmpagent.so -lkvm -lperl -ldl -lm -lc
/builddir/snmplib/.libs/libnetsnmp.so -ladm -lpicl
../snmplib/.libs/libnetsnmp.so -lkstat -lcrypto -lnsl -lsocket -lelf
-R/installdir/lib -R/my/sw/perl-5.8.8-cc32/lib/5.8.8/sun4-solaris/CORE
ld: warning: file /builddir/agent/helpers/.libs/libnetsnmphelpers.so:
linked to helpers/.libs/libnetsnmphelpers.so: attempted multiple
inclusion of file
ld: warning: file /builddir/agent/.libs/libnetsnmpagent.so: linked to
./.libs/libnetsnmpagent.so: attempted multiple inclusion of file
ld: warning: file ../snmplib/.libs/libnetsnmp.so: linked to
/builddir/snmplib/.libs/libnetsnmp.so: attempted multiple inclusion of file
Undefined                       first referenced
 symbol                             in file
kd                                  ./.libs/libnetsnmpmibs.so
ld: fatal: Symbol referencing errors. No output written to .libs/snmpd
gmake[1]: *** [snmpd] Error 1


+Thomas

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to