Hello.

Using a freshly checked out net-snmp from Ext-5-2-rc2 built as

./configure --prefix=$PWD/../install
make
make install

the problem is that

install/bin/net-snmp-config --compile-subagent 
net-snmp/agent/mibgroups/examples/delayed_instance.c

fails to compile with lots and lots of errors about undefined functions.

This is due to the fact that --compile-subagent uses the lib order

-lnetsnmpagent -lnetsnmphelpers -lnetsnmpmibs -lnetsnmp

rather than

-lnetsnmpagent -lnetsnmpmibs -lnetsnmphelpers -lnetsnmp

which is what install/bin/net-snmp-config --netsnmp-agent-libs returns.

The obvious fix for this problem is to use the same internal define on both
places as in patch #1049607 but then there is the question of the tutorial
beeing broken is enough to hold up the release.

/MF


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to