[oe-issues] [Bug 2815] New: net-snmp fails to compile on slugos/arm

bugzilla-daemon at tinman.treke.net bugzilla-daemon at tinman.treke.net
Tue Aug 21 14:55:51 UTC 2007


http://bugs.openembedded.org/show_bug.cgi?id=2815

           Summary: net-snmp fails to compile on slugos/arm
           Product: Openembedded
           Version: unspecified
          Platform: ARM
        OS/Version: Linux
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: Build
        AssignedTo: openembedded-issues at lists.openembedded.org
        ReportedBy: jorik at kippendief.biz


Created an attachment (id=1834)
 --> (http://bugs.openembedded.org/attachment.cgi?id=1834)
OE compile log of the 'vanilla' net-snmp build.

net-snmp is unable to compile on slugos/arm (NSLU2). It appears it's unable to
use <net/route.h> during configure, which results in undeclared macros:
RTF_GATEWAY, RTF_UP, etc.

net-snmp-config.h learns that 'HAVE_NET_ROUTE_H' is undefined. route.h is the
file responsible for those definitions. Defining this macro (because
<net/route.h> lives in tmp/staging/armeb-linux/include) results in other
errors: <linux/rcupdate.h> and <linux/jiffies.h> are not includable. Those
files are to be included through net/dst.h, which is included by net/route.h.
This would explain why the net-snmp configure decides not to HAVE_NET_ROUTE_H.

The 'missing' include files live in tmp/staging/ixp4xxbe-linux, which is not in
the include path of net-snmp. My guess is that either some kernel headers are
missing in staging/armeb-linux or net-snmp's include path has to be enriched
with the machine-specific includes. Unfortunately, I am not that familiar with
OE to dive into that.


-- 
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




More information about the Openembedded-issues mailing list