Multiple warning cross-compiling Net-SNMP for mips-linux

"Raymond Pau" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <002601c7cff3$b2ba60f0$b41ea8c0@cs0505320>
I'm trying to cross-compile NetSNMP 5.4 for running on an embedded system.
Size is really everything for us here.

Lots of warning are reported during configure and make.

*Initialization*:1: warning: this is the location of the previous definition
 ucd_snmp*Initialization*:1: warning: `linux' redefined

Is there anyway to remove the warning? I run configure as follows:

$ pwd
/home/raymond/net-snmp-5.4/mipsbuild

$
TOOLCHAIN_BASE=/opt/hardhat-simba/devkit/mips/lexra_fp_be/bin/mips_lexra_fp_be-
$ CBASE=/opt/hardhat-simba/devkit/mips/lexra_fp_be/target
$ export CC=${TOOLCHAIN_BASE}gcc
$ export AR=${TOOLCHAIN_BASE}ar
$ export STRIP=${TOOLCHAIN_BASE}strip
$ export CPP=${TOOLCHAIN_BASE}cpp
$ export CXXCPP=${TOOLCHAIN_BASE}cpp
$ export RANLIB=${TOOLCHAIN_BASE}ranlib
$ export CXX=${TOOLCHAIN_BASE}g++
$ export LDFLAGS="-L${CBASE}/lib -L${IMBASEDIR}/lib"
$ export CCFLAGS=-I${CBASE}/usr/include

$
../configure --build=i686-linux --host=mips-linux --target=mips-linux --prefix=/opt/hardhat-simba/devkit/mips/lexra_fp_be/target/usr
 --libdir=/home/raymond/net-snmp-5.4/mipsbuild/lib --bindir=/home/raymond/net-snmp-5.4/mipsbuild/bin
 --includedir=/home/raymond/net-snmp-5.4/mipsbuild/dinclude --mandir=/home/raymond/net-snmp-5.4/mipsbuild/man
 --infodir=/home/raymond/net-snmp-5.4/mipsbuild/info --with-html-dir=/home/raymond/net-snmp-5.4/mipsbuild/html
 --with-endianness=big --with-default-snmp-version=3 --with-persistent-directory=/var/net-snmp/
 --with-logfile=/var/log/snmpd.log --enable-mini-agent --disable-debugging

Raymond Pau



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
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.