Re: Cannot build net-snmp for target using cross-compile

gunsnroses <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Can you check with keeping LD and CC before ./configure.


The changed one should look like

LD=${CROSS_COMPILE}ld CC=${CROSS_COMPILE}gcc CXX=${CROSS_COMPILE}g++
CFLAGS="-g3 -O0" --prefix=${FILESYSTEM_ROOT_DIR} ./configure
--host=m68k-linux-gnu --build=i686 --target=m68k-linux-gnu
--disable-embedded-perl --without-perl-modules --with-endianness=big
--with-default-snmp-version="3" --disable-des --disable-debugging
--with-sys-contact="who@where" --with-logfile="/sf_rfs/logs/snmp"
--with-transports="UDP TCP" -with-defaults
 --with-mib-modules=skyfiber-olu-mib --with-ldflags=LDFLAGS
 --with-libs="$NETSNMPDIR/libui.a $NETSNMPDIR/libutl.a
/usr/lib/libpthread.a"  > logfile

------------------------------------------------------------------------------
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-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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.