Thanks for your response Dave,

Actually I only require my target platform to receive traps sent from other
agents and then depending on what type of trap, take appropriate action
(like send email etc)

In this scenario, is it enough if i compile only snmptrapd.o with compile
options of
--with-out-mib-modules=mibII/at
--disable-agent
--disable-applications
 along with the other configure options for cross compilation
( --host=xscale --with-cc=xscale_be-gcc
--with-linkcc=xscale_be-ld --with-ar=xscale_be-ar --with-endianness=big )

I can compile without errors and am able to get snmptrapd with above
configure options
(./configure --host=xscale --with-cc=xscale_be-gcc
--with-linkcc=xscale_be-ld --with-ar=xscale_be-ar --with-endianness=big
--disable-agent --disable-applications
--with-out-mib-modules=mibII/at )

 would this be enough for my requirement??


On Mon, Feb 22, 2010 at 6:15 PM, Dave Shield <d.t.shi...@liverpool.ac.uk>wrote:

> On 22 February 2010 12:27, Queenie de Melo <queenie...@gmail.com> wrote:
> > 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
>
> >> xscale_be-ld: unrecognized option '-Unone'
> >> xscale_be-ld: use the --help option for usage information
> >> make[1]: *** [snmpd] Error 1
>
>
> Hmmm...
> That looks like an issue with the cross-compilation environment,
> or the target-host recognition.   Unfortunately, that's not something
> which I have any experience of.   (Though pre-processor directives
> shouldn't really be being passed to the linker, surely?)
>
> I'll have to leave this query for someone else to pick up on.
> Sorry
>
> 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
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to