Hi Steve,
This is great, i will work on it and ping you back.
Thanks a lot
Sanjeev

-----Original Message-----
From: Steve Comfort [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 26, 2004 1:56 PM
To: Ramachandran, Sanjeev
Cc: [EMAIL PROTECTED]
Subject: Re: How Cross Compile Net SNMP Agent


Hi Sanjeev,

With much help from Dave Shield, I recently completed a port of netSNMP 
5.1.1 to an embedded ARM system (XScale). I have attached a few files that
I used for configuration, etc.

cfg.sh is just a simple script where I setup all my config options. It 
should contain paths to your toolchain, library paths, etc.

route_patch.h is a file that I cobbled together to get around broken 
dependencies with the toochain I was using. You may or may not need it. 
If you do, stick it in agent/mibgroup/mibII. You'll need to edit 
include/net-snmp/net-snmp-config.h. Find the line "HAVE_NET_ROUTE_H" and 
comment this out. Any files in mibII that have this conditional define 
should be edited to include route_patch.h rather than route.h.

Also, if you're targetting a big-endian system, I found that I needed to 
edit libtool (in the root directory of net-snmp). Somewhere around line 
1045 of this automatically generated file, there will be a line like :

compile_command = "$nonopt"

I modified this line to be :

compile_command = "$nonopt -mbig-endian"

Robert Story was rather alarmed by this previous change, but since it 
worked for me, I never bothered digging deeper for the true source of 
the problem :)

Ciao
Steve Comfort





-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
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

Reply via email to