On Thu, 12 Jul 2007 08:28:25 -0700 (PDT) Need wrote:
NH> gcc -I. `net-snmp-config --base-cflags` -Wall -Wstrict-prototypes   -c -o 
ocStbHostMib_subagent.o ocStbHostMib_subagent.c
NH> ocStbHostMib_subagent.c: In function `main':
NH> ocStbHostMib_subagent.c:76: warning: implicit declaration of function 
`init_vacm_vars'
NH> ocStbHostMib_subagent.c:77: warning: implicit declaration of function 
`init_usmUser'

These are harmless. You can copy the prototypes from the appropriate headers,
if you want to eliminate the warning.

NH>  ocStbHostComponentVideoTable/ocStbHostComponentVideoTable.o 
ocStbHostComponentVideoTable/ocStbHostComponentVideoTable_interface.o 
`net-snmp-config --agent-libs`
NH> 
NH> 
ocStbHostAVInterfaceTable/ocStbHostAVInterfaceTable_interface.o(.text+0x440): 
In function `_mfd_ocStbHostAVInterfaceTable_pre_request':
NH> ocStbHostAVInterfaceTable/ocStbHostAVInterfaceTable_interface.c:532: 
undefined reference to `netsnmp_row_merge_status_first'

row_merge functions should be in libnetsnmphelpers.

NH> 
ocStbHostComponentVideoTable/ocStbHostComponentVideoTable_interface.o(.text+0x581):ocStbHostComponentVideoTable/ocStbHostComponentVideoTable_interface.c:566:
 undefined reference to `netsnmp_check_all_requests_error'

That should be in libnetsnmpagent.

NH> 
/usr/lib/gcc/i386-redhat-linux/3.4.4/../../../libnetsnmpmibs.a(lmSensors.o)(.text+0x69):
 In function `_sensor_load':
NH> : undefined reference to `sensors_get_detected_chips'

And this would be be in the sensors library..

So it seems like your linker isn't finding all the libas it needs..

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to