fixunix
Tags Register FAQ Members List Social Groups Calendar Search Today's Posts Mark Forums Read

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

This is a discussion on Multiple warning cross-compiling Net-SNMP for mips-linux - SNMP ; 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: ...


Fix Unix > Technologies & Tools > Protocols > SNMP > Multiple warning cross-compiling Net-SNMP for mips-linux

Reply
 
LinkBack Tools
  #1  
Old 10-08-2007, 12:22 AM
Junior Member
 
Join Date: Sep 2009
Posts: 0
Default Multiple warning cross-compiling Net-SNMP for mips-linux

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
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
Reply With Quote
Reply

Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cross Compiling firefox for MIPS unix Mozilla 0 06-11-2008 05:10 AM
mips cross-compiling unix SNMP 0 01-07-2008 08:59 AM
Re: cross compiling SSH for MIPS unix openssh 0 10-08-2007 01:21 AM
cross compiling SSH for MIPS unix openssh 0 10-08-2007 01:21 AM
cross-compiling for linux-mips unix BSD 1 10-04-2007 01:27 AM


All times are GMT. The time now is 08:36 AM.