Steve: I think that your issue with the endianness of the target processor, such as it prompted a bit of distress with Robert Story, will perhaps come from not using a parameter with the ./configure tool. That parameter specifies the endianness of the target processor, and I suspect that use of the parameter will result in the indicated line having the structure you imposed from outside, as by editing the libtool.
William R. Buckley > >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