hello i like to know how can made work this .My
problem is that i had install the net-snmp and add in
the path the executable net-snmp-config But apparently
this command uses some flags of net-snmp like
-lnetsnmpagent
how can included it in gcc ? or what sould i do in
this cases ?
anyone can help me or uses an net-snmp agent in the
target
thanks
arm-linux-gcc -I. `net-snmp-config --cflags` -c -o
example-demon.o example-demon.c
arm-linux-gcc -I. `net-snmp-config --cflags` -c -o
nstAgentSubagentObject.o nstAgentSubagentObject.c
arm-linux-gcc -o example-demon example-demon.o
nstAgentSubagentObject.o `net-snmp-config
--agent-libs`
/usr/local/arm/4.1.1-920t/lib/gcc/arm-linux-uclibc/4.1.1/../../../../arm-linux-uclibc/bin/ld:
cannot find -lnetsnmpagent
collect2: ld returned 1 exit status
make: *** [example-demon] Error 1
thanks
Yahoo! Encuentros.
Ahora encontrar pareja es mucho más fácil, probá el nuevo Yahoo! Encuentros
http://yahoo.cupidovirtual.com/servlet/NewRegistration
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|