net-snmp-config --compile-subagent------error information
"飞飞" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
somebody can tell me what wrong with this?
root@ubuntu:/usr/share/snmp/mibs# net-snmp-config --compile-subagent uit uit.c
generating the tmporary code file: netsnmptmp.2852.c
void init_uit(void);
checking for init_uit in uit.c
init_uit(void)
running: cc -DNETSNMP_ENABLE_IPV6 -g -O2 -g -Wall -O2 -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -I. -I/usr/include -o uit netsnmptmp.2852.c uit.c -W l,-Bsymbolic-functions -L/usr/lib -lnetsnmpmibs -lnetsnmpagent -lnetsnmphelpers -lnetsnmp -Wl,-E
In file included from /usr/include/net-snmp/library/snmp_logging.h:14,
from /usr/include/net-snmp/library/container.h:19,
from /usr/include/net-snmp/utilities.h:54,
from /usr/include/net-snmp/net-snmp-includes.h:74,
from netsnmptmp.2852.c:6:
/usr/lib/gcc/i486-linux-gnu/4.4.1/include/varargs.h:4:2: error: #error "GCC no longer implements <varargs.h>."
/usr/lib/gcc/i486-linux-gnu/4.4.1/include/varargs.h:5:2: error: #error "Revise your code to use <stdarg.h>."
In file included from /usr/include/net-snmp/library/snmp_logging.h:14,
from /usr/include/net-snmp/library/container.h:19,
from /usr/include/net-snmp/utilities.h:54,
from /usr/include/net-snmp/net-snmp-includes.h:74,
from uit.c:7:
/usr/lib/gcc/i486-linux-gnu/4.4.1/include/varargs.h:4:2: error: #error "GCC no longer implements <varargs.h>."
/usr/lib/gcc/i486-linux-gnu/4.4.1/include/varargs.h:5:2: error: #error "Revise your code to use <stdarg.h>."
removing the tmporary code file: netsnmptmp.2852.c
root@ubuntu:/usr/share/snmp/mibs#
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users