help

"haoran mo" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
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
[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.