I configure net-snmp-5.4 with default by using "./configure"

and then type make to compile the packge, after a long wait I get following 
errors(I use Redhat AS4 U3 system):


snmpd.c: In function `main':
snmpd.c:948: warning: assignment discards qualifiers from pointer target type
 gcc -I../include -I. -I../agent -I../agent/mibgroup -I../snmplib 
-I/usr/local/ssl/include -D_REENTRANT -D_GNU_SOURCE -DDEBUGGING 
-fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm 
-I/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE -g -O2 -Ulinux 
-Dlinux=linux -I/usr/include/rpm -c snmpd.c -o snmpd.o >/dev/null 2>&1
/bin/sh ../libtool  --mode=link gcc -g -O2 -Ulinux -Dlinux=linux 
-I/usr/include/rpm  -o snmpd snmpd.lo   -L/usr/local/ssl/lib   
libnetsnmpmibs.la libnetsnmpagent.la helpers/libnetsnmphelpers.la  
../snmplib/libnetsnmp.la -ldl -lrpm -lrpmio -lpopt  -lz -lcrypto -lm  -Wl,-E 
-Wl,-rpath,/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE  -L/usr/local/lib 
/usr/lib/perl5/5.8.5/i386-linux-thread-multi/auto/DynaLoader/DynaLoader.a 
-L/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE -lperl -lnsl -ldl -lm 
-lcrypt -lutil -lpthread -lc 
libtool: link: cannot find the library `/usr/lib/libbeecrypt.la' or unhandled 
argument `/usr/lib/libbeecrypt.la'
make[1]: *** [snmpd] Error 1
make[1]: Leaving directory `/root/net-snmp-5.4/agent'
make: *** [subdirs] Error 1


Anyone have any idea about what should I do next?





Best Regards,
Robin 
 
Tel: +86-27-8761-7326 Ext: 309
2007-01-29
-------------------------------------------------------------------------
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-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to