From: SourceForge.net <no...@so...> - 2006-01-30 14:42:25
|
Bugs item #1404748, was opened at 2006-01-13 14:22 Message generated for change (Comment added) made by tanders You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112694&aid=1404748&group_id=12694 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: build/test Group: linux Status: Open Resolution: None Priority: 5 Submitted By: Thomas Anders (tanders) Assigned to: Nobody/Anonymous (nobody) Summary: 5.0 CVS with ucd-snmp/diskio fails to build Initial Comment: V5-0-patches CVS branch as of today doesn't build when ucd-snmp/diskio is included: foo$ ./configure --with-defaults --with-mib-modules=ucd-snmp/diskio foo$ make [...] /bin/sh ../libtool --mode=link gcc -g -O2 -Dlinux -Wall -Wstrict-prototypes -Wwrite-strings -Wcast-qual -Wno-char-subscripts -o snmpd snmpd.lo libnetsnmpagent.la libnetsnmpmibs.la helpers/libnetsnmphelpers.la ../snmplib/libnetsnmp.la -ldl -lcrypto -lm gcc -g -O2 -Dlinux -Wall -Wstrict-prototypes -Wwrite-strings -Wcast-qual -Wno-char-subscripts -o snmpd snmpd.o ./.libs/libnetsnmpagent.a ./.libs/libnetsnmpmibs.a helpers/.libs/libnetsnmphelpers.a ../snmplib/.libs/libnetsnmp.a -ldl -lcrypto -lm ./.libs/libnetsnmpmibs.a(diskio.o)(.rodata+0x4): undefined reference to `var_diskio' ./.libs/libnetsnmpmibs.a(diskio.o)(.rodata+0x18): undefined reference to `var_diskio' ./.libs/libnetsnmpmibs.a(diskio.o)(.rodata+0x2c): undefined reference to `var_diskio' ./.libs/libnetsnmpmibs.a(diskio.o)(.rodata+0x40): undefined reference to `var_diskio' ./.libs/libnetsnmpmibs.a(diskio.o)(.rodata+0x54): undefined reference to `var_diskio' ./.libs/libnetsnmpmibs.a(diskio.o)(.rodata+0x68): more undefined references to `var_diskio' follow collect2: ld returned 1 exit status make[1]: *** [snmpd] Fehler 1 make[1]: Leaving directory `/my/net-snmp-5.0cvs/agent' We should fix this before releasing final 5.0.11. ---------------------------------------------------------------------- >Comment By: Thomas Anders (tanders) Date: 2006-01-30 15:42 Message: Logged In: YES user_id=848638 Depends on how hard it'd be to fix this. If "ucd-snmp/diskio" doesn't build *at all* in 5.0.1+ (is this the case?), then why not throw an error at configure time (or disable it altogether)? ---------------------------------------------------------------------- Comment By: Dave Shield (dts12) Date: 2006-01-30 15:30 Message: Logged In: YES user_id=88893 I don't think this is a new problem. I did some testing over the weekend, and this configuration failed with most of the 5.0.x releases. The original 5.0 agent linked OK, but 5.0.1 and everything since threw up the same error. I'm inclined to regard this as "fixed in 5.1" ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112694&aid=1404748&group_id=12694 |