[prev in list] [next in list] [prev in thread] [next in thread] 

List:       net-snmp-bugs
Subject:    [ net-snmp-Bugs-1404748 ] 5.0 CVS with ucd-snmp/diskio fails to build
From:       "SourceForge.net" <noreply () sourceforge ! net>
Date:       2006-01-30 15:00:35
Message-ID: E1F3aWB-00053F-SI () sc8-sf-web3 ! sourceforge ! net
[Download RAW message or body]

Bugs item #1404748, was opened at 2006-01-13 13:22
Message generated for change (Comment added) made by dts12
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: Dave Shield (dts12)
Date: 2006-01-30 15:00

Message:
Logged In: YES 
user_id=88893

Oh, the module itself builds fine, as does the
module library.  It's just linking everything
together that fails.

If you can track down what's gone wrong, fine.
I had a quick look for differences between 5.0
and 5.0.1 last night, but couldn't spot anything
relevant.  I'm not inclined to waste much time
over this, since it's such an old release line.
But don't let me stop you.....

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

Comment By: Thomas Anders (tanders)
Date: 2006-01-30 14: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 14: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


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Net-snmp-bugs mailing list
Net-snmp-bugs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic