Hello,
is there anyone who has ever tried crossing compile a dynamic library for
mib module?
I'am trying to extend the agent in a arm-linux system, the c file and h file
are fine, which i have already tested in linux system. To cross compile the
library, i remplace simply the cc by arm-linux-cc and net-snmp-config by
armed net-snmp-config, something like this :

arm-linux-cc `/routin/net-snmp-config --cflags` -fPIC -shared -g -O0 -o
xxx.so xxx.c `/routin/net-snmp-config --libs`

i know it seems stupid but this is the only way i can think, and finnally i
got a error msg saying "arm-linux-cc : command not found", indeed
arm-linux-cc is there.
i just don't understand am i doing something wrong?
thanks

Yi
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to