Re: net-snmp-5.5_CrossCompiling_xscale_be

Queenie de Melo <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Thanks Dave for you response.

Well I tried with
* ./configure --host=xscale --with-cc=xscale_be-gcc
--with-linkcc=xscale_be-ld
 --with-ar=xscale_be-ar --with-endianness=big
--with-out-mib-modules=mibII/at*


> /bin/sh ../libtool  --mode=link xscale_be-ld -g -O2 -Unone -Dnone=none  -o
> snmpd snmpd.lo  -L../snmplib/.libs -L../snmplib -L./.libs -L./helpers/.libs
> -L./helpers  libnetsnmpagent.la helpers/libnetsnmphelpers.la
> libnetsnmpmibs.la ../snmplib/libnetsnmp.la -lelf
> libtool: link: xscale_be-ld -g -O2 -Unone -Dnone=none -o snmpd snmpd.o
> -L/home/queenie/Linux_NMS/net-snmp-5.5/agent/.libs
> -L/home/queenie/Linux_NMS/net-snmp-5.5/agent/helpers/.libs
> -L/home/queenie/Linux_NMS/net-snmp-5.5/snmplib/.libs
> -L/home/queenie/Linux_NMS/net-snmp-5.5/snmplib
> -L/home/queenie/Linux_NMS/net-snmp-5.5/agent/helpers
> ./.libs/libnetsnmpagent.a helpers/.libs/libnetsnmphelpers.a
> ./.libs/libnetsnmpmibs.a
> /home/queenie/Linux_NMS/net-snmp-5.5/agent/helpers/.libs/libnetsnmphelpers.a
> /home/queenie/Linux_NMS/net-snmp-5.5/agent/.libs/libnetsnmpagent.a
> /home/queenie/Linux_NMS/net-snmp-5.5/snmplib/.libs/libnetsnmp.a -ldl
> ../snmplib/.libs/libnetsnmp.a -lcrypto -lelf
> xscale_be-ld: unrecognized option '-Unone'
> xscale_be-ld: use the --help option for usage information
> make[1]: *** [snmpd] Error 1
> make[1]: Leaving directory `/home/queenie/Linux_NMS/net-snmp-5.5/agent'
> make: *** [subdirs] Error 1
>
> Any  idea  what could be going wrong?
Is there any special CFLAGS to be given?




On Mon, Feb 22, 2010 at 4:00 PM, Dave Shield <[email protected]>wrote:

> On 19 February 2010 10:15, Queenie de Melo <[email protected]> wrote:
> > I configure using the below configure options, which gives me no errors
> > ./configure --host=xscale --with-cc=xscale_be-gcc
> --with-linkcc=xscale_be-ld
> > --with-ar=xscale_be-ar --with-endianness=big
> >
> > After configuring, when i do a make, I get the below errors:
>
> > mibII/at.c: In function `ARP_Scan_Next':
> > mibII/at.c:736: error: `ifIndex' undeclared (first use in this function)
> > mibII/at.c:736: error: (Each undeclared identifier is reported only once
> > mibII/at.c:736: error: for each function it appears in.)
>
>
> Try omitting the 'mibII/at' module from the agent.
> I.e. run
>    configure --with-out-mib-modules=mibII/at .....
>
> (plus the configure options you are currently using)
>
> Dave
>

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev

_______________________________________________
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.