Including UCD-SNMP support in Cyrus IMAPD
marc.bigler at day.com
marc.bigler at day.com
Sat Jan 4 11:49:24 EST 2003
Hello,
I am trying to get Cyrus IMAPD 2.1.11 on Solaris 9 to compile with support
for UCD-SNMP, I use version 4.2.6 of UCD-SNMP. The problem is that it
doesn't detect UCD-SNMP because of the following error in the config.log:
configure:6064: checking for sprint_objid in -lsnmp
configure:6083: gcc -o conftest -Wall -g -O2 -I/opt/sfw/include/db3
-I/usr/local/include -I/opt/openssl/include -I/opt/ucdsnmp/include -L/op
t/sfw/lib -R/opt/sfw/lib -L/opt/sfw/lib -L/usr/local/lib -R/usr/local/lib
-R/opt/sfw/lib:/opt/openssl/lib:/opt/ucdsnmp/lib -L/opt/openssl/l
ib -L/opt/ucdsnmp/lib conftest.c -lsnmp -lresolv -lsocket -lnsl -ldl
-ldb-3.1 -lssl -lcrypto 1>&5
Undefined first referenced
symbol in file
kstat_close /opt/ONucdsnmp/lib/libsnmp.so
kstat_lookup /opt/ONucdsnmp/lib/libsnmp.so
kstat_read /opt/ONucdsnmp/lib/libsnmp.so
kstat_open /opt/ONucdsnmp/lib/libsnmp.so
kstat_data_lookup /opt/ONucdsnmp/lib/libsnmp.so
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure: failed program was:
#line 6072 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char sprint_objid();
int main() {
sprint_objid()
; return 0; }
configure:6141: checking UCD SNMP libraries
As you can see I have UCD-SNMP installed in /opt/ucdsnmp, but that doesn't
seem to be the problem, looks like I am missing something which has to do
with kstat. Does someone have any idea ?
PS: Sorry if you see this mail twice, I am not sure if the first one ever
arrived to the mailing list.
Regards
Marc
More information about the Info-cyrus
mailing list