Erro compiling -- undefined reference to netsnmp_enable_subagent
Javier Ramos
ramos at parsec.es
Mon Mar 28 08:08:36 EST 2005
Hi all,
I am getting the following error compiling under Red Hat Enterprise
Linux 3.0, and cannot figure where the problem is... can anyone give any
clues?
Thanks a lot for your help...
Regards,
Javier
gcc -c -I.. -I./../lib -I./../imap -I/usr/include/rpm
-I/usr/include/net-snmp -I/usr/include/et -I/usr/kerberos/include
-I/usr/include -DHAVE_CONFIG_H -O \
cyrusMasterMIB.c
gcc -s -o master master.o masterconf.o cyrusMasterMIB.o
../lib/lock_fcntl.o ../lib/libcyrus_min.a -L/usr/lib -lnetsnmpagent
-lnetsnmpmibs -lnetsnmphelpers -lnetsnmp -ldl -lrpm -lrpmio -lpopt -lbz2
-lz -lcrypto -lelf -lm -L/usr/lib/lib -lwrap -lresolv -lssl -lcrypto
-lfl -L/usr/lib -lnetsnmp -lcrypto -lelf -lm -ldb-4.1 -lcom_err
/usr/bin/ld: warning: libcom_err.so.3, needed by /usr/lib/libcrypto.so,
may conflict with libcom_err.so.2
master.o(.text+0x3135): In function `main':
: undefined reference to `netsnmp_enable_subagent'
collect2: ld returned 1 exit status
make[1]: *** [master] Error 1
make[1]: Leaving directory `/root/imapd/cyrus-imapd-2.2.12/master'
make: *** [all] Error 1
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
More information about the Info-cyrus
mailing list