[uClibc]snmpd?

Paul Jimenez pj at place.org
Thu May 9 21:20:33 UTC 2002


On Thursday, May 9, 2002, Erik Andersen writes:
>On Thu May 09, 2002 at 02:47:55PM -0500, Paul Jimenez wrote:
>> 
>> Has anyone built net-snmp up against uclibc before?  I'm having some
>> problems with 'endfsent', even though it seems to be defined in fstab.h, and
>> the right include and header files are there...
>
>getfsent, setfsent, endfsent, and friends are not currently
>implemented.   It is interesting that it seems to be using
>endfsent without using any of the other fstab.h functions
>though...  I actually a bit surprised to see this interface being
>used.  I typically use the getmntent and setmntent as defined in
>mntent.h instead.  I should be easy enough to port the fstab.h
>functions from glibc-2.2.5/misc/fstab.c.  But it would probably
>be better to adjust snmpd to not use fstab.h. 

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?

  --pj




More information about the uClibc mailing list