[uClibc]snmpd?

David Schleef ds at schleef.org
Thu May 9 21:43:20 UTC 2002


On Thu, May 09, 2002 at 04:20:33PM -0500, Paul Jimenez wrote:
> Okay, I told it not to use fstab.h. Now I'm getting a bunch of:
> 
> /home/pj/cvs/musenki-build/build/staging_dir/bin/gcc -o snmptrapd snmptrapd.o snmptrapd_handlers.o snmptrapd_log.o notification_log.o  -L/home/pj/cvs/musenki-build/build/net-snmp-5.0/snmplib -L/home/pj/cvs/musenki-build/build/net-snmp-5.0/agent -L/home/pj/cvs/musenki-build/build/net-snmp-5.0/agent/helpers -L/home/pj/cvs/musenki-build/build/staging_dir/lib ../agent/.libs/libnetsnmpagent.a ../agent/.libs/libnetsnmpmibs.a ../agent/helpers/.libs/libnetsnmphelpers.a ../snmplib/.libs/libnetsnmp.a -ldl -lcrypto -lm   
> ../agent/helpers/.libs/libnetsnmphelpers.a(table_dataset.o): In function `netsnmp_table_set_multi_add_default_row':
> table_dataset.o(.text+0x21e0): undefined reference to `__va_arg_type_violation'
> table_dataset.o(.text+0x21e0): relocation truncated to fit: R_PPC_REL24 __va_arg_type_violation                
> 
> and I can't find that symbol *anywhere*... hints?

Look at the man page for stdarg and the comments in
/usr/lib/gcc-lib/powerpc-linux/2.95.4/include/va_ppc.h.  It usually
means the author has not followed the rules very closely,
particularly in regards to promotion of char and short values.

This problem should be independent of uClibc, though.



dave...




More information about the uClibc mailing list