I met this error, how can I set config? Should I install libelf ?
Error:
/home/mohaoran/work/mhr/tools/gcc-3.3.3-2.4.25/toolchain_mips/lib/gcc-lib/mi
ps-linux/3.3.3/../../../../mips-linux/bin/ld: cannot find -lelf


With mips-linx-gcc environment ,how can set configure?

../configure --prefix=/home/mohaoran/work/mhr/apps/snmp
--host=mips-harhat-linux --target=mips --with-mib-modules="agentx"
LDFLAGS='-static' --with-endianness=little -enable-mini-agent
--with-cc=/home/mohaoran/work/mhr/tools/gcc-3.3.3-2.4.25/toolchain_mips/bin/
mips-linux-gcc --with-ar=/home/mohaoran/work/mhr/tools/gcc-3.3.3-2.4.25
/toolchain_mips/bin/mips-linux-ar
--with-ld=/home/mohaoran/work/mhr/tools/gcc-3.3.3-2.4.25/toolchain_mips/bin/
mips-linux-ld
--with-strip=/home/mohaoran/work/mhr/tools/gcc-3.3.3-2.4.25/toolchain_mips/b
in/mips-linux-strip

Set configure like this, it can make.why?

Thanks a lot!


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users