Net-SNMP and Solaris 8...

"Michael Radzicki" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Good day all,

 

 I am sorry if this question has been asked before, but I have been
trying (and failing) to get net-snmp version 5.3.1 to compile with
embedded perl on Solaris 8. When I run ./configure, I use the following
options:

 

./configure --with-perl-modules --enable-embedded-perl --enable-shared
--with-mib-modules="host disman/event-mib ucd-snmp/diskio smux agentx
mibII/mta_sendmail" --with-cc=gcc

 

 I get no errors at this point, and when the .configure script is
finished running

 

---------------------------------------------------------

    Net-SNMP configuration summary:

---------------------------------------------------------

 

  SNMP Versions Supported:    1 2c 3

  Net-SNMP Version:           5.3.1

  Building for:               solaris2

  Network transport support:  Callback Unix TCP UDP

  SNMPv3 Security Modules:    usm

  Agent MIB code:             mibII ucd_snmp snmpv3mibs notification
notification-log-mib target agent_mibs agentx disman/event-mib
disman/schedule utilities host disman/event-mib ucd-snmp/diskio smux
agentx mibII/mta_sendmail host

  SNMP Perl modules:          building -- embeddable

  Embedded perl support:      enabled

  Authentication support:     MD5 SHA1

  Encryption support:         DES AES

  WARNING:  New version of the Event MIB which may be subtly different
from the original implementation - configure with 'disman/old-event-mib'
for the previous version

 

 

But when I execute the ./make command, I get the following:

 

-lsocket -ladm -L/usr/local/lib
/usr/local/net-snmp/lib/perl5/5.8.8/sun4-solaris/auto/DynaLoader/DynaLoa
der.a -L/usr/local/net-snmp/lib/perl5/5.8.8/sun4-solaris/CORE -lperl
-lsocket -lnsl -ldl -lm -lc 

gcc -g -O2 -Dsolaris2 -o .libs/snmpd snmpd.o  -L/usr/local/ssl/lib
./.libs/libnetsnmpmibs.so ./.libs/libnetsnmpagent.so
helpers/.libs/libnetsnmphelpers.so ../snmplib/.libs/libnetsnmp.so -lkvm
-lz -lcrypto -lkstat -lelf -ladm -L/usr/local/lib
/usr/local/net-snmp/lib/perl5/5.8.8/sun4-solaris/auto/DynaLoader/DynaLoa
der.a -L/usr/local/net-snmp/lib/perl5/5.8.8/sun4-solaris/CORE -lperl
-lsocket -lnsl -ldl -lm -lc  -R/usr/local/lib

Undefined                       first referenced

 symbol                             in file

PL_op
/usr/local/net-snmp/lib/perl5/5.8.8/sun4-solaris/auto/DynaLoader/DynaLoa
der.a(DynaLoader.o)

PL_markstack_ptr
/usr/local/net-snmp/lib/perl5/5.8.8/sun4-solaris/auto/DynaLoader/DynaLoa
der.a(DynaLoader.o)

PL_curpad
/usr/local/net-snmp/lib/perl5/5.8.8/sun4-solaris/auto/DynaLoader/DynaLoa
der.a(DynaLoader.o)

PL_sv_yes
/usr/local/net-snmp/lib/perl5/5.8.8/sun4-solaris/auto/DynaLoader/DynaLoa
der.a(DynaLoader.o)

PL_stack_sp
/usr/local/net-snmp/lib/perl5/5.8.8/sun4-solaris/auto/DynaLoader/DynaLoa
der.a(DynaLoader.o)

PL_stack_base
/usr/local/net-snmp/lib/perl5/5.8.8/sun4-solaris/auto/DynaLoader/DynaLoa
der.a(DynaLoader.o)

ld: fatal: Symbol referencing errors. No output written to .libs/snmpd

collect2: ld returned 1 exit status

make[1]: *** [snmpd] Error 1

make[1]: Leaving directory `/opt/TOThome/mradzick/net-snmp-5.3.1/agent'

make: *** [subdirs] Error 1

 

 

 Does anyone have any idea why? Has anyone ever successfully built
net-snmp with embedded perl enabled on Solaris 8? Thanks.

 

Mike R

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.