[oe-commits] [Bug 5147] New: iproute2-2.6.22-r1 fails on do_compile

bugzilla-daemon at amethyst.openembedded.net bugzilla-daemon at amethyst.openembedded.net
Tue Jun 2 20:58:25 UTC 2009


http://bugs.openembedded.net/show_bug.cgi?id=5147

           Summary: iproute2-2.6.22-r1 fails on do_compile
    Classification: Unclassified
           Product: Openembedded
           Version: Angstrom 2008.x
          Platform: ARM
        OS/Version: other
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: org.openembedded.stable
        AssignedTo: openembedded-commits at lists.openembedded.org
        ReportedBy: erik.boto at gmail.com


Created an attachment (id=13894)
 --> (http://bugs.openembedded.net/attachment.cgi?id=13894)
Fix - but please do verify

iproute2-2.6.22-r1 fails on do_compile with the following log: 

NOTE: make CC=arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8
-mfpu=neon -mfloat-abi=softfp
KERNEL_INCLUDE=/home/erik/oe/tmp/staging/armv7a-angstrom-linux-gnueabi/kernel/include
DOCDIR=/usr/share/doc/iproute2 SUBDIRS=lib tc ip SBINDIR=/sbin
make[1]: Entering directory
`/home/erik/oe/tmp/work/armv7a-angstrom-linux-gnueabi/iproute2-2.6.22-r1/lib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/home/erik/oe/tmp/work/armv7a-angstrom-linux-gnueabi/iproute2-2.6.22-r1/lib'
make[1]: Entering directory
`/home/erik/oe/tmp/work/armv7a-angstrom-linux-gnueabi/iproute2-2.6.22-r1/tc'
arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon
-mfloat-abi=softfp -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include
-DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB -shared -fpic -o q_atm.so
q_atm.c -latm
q_atm.c:19:17: error: atm.h: No such file or directory
q_atm.c: In function 'atm_parse_class_opt':
q_atm.c:66: warning: implicit declaration of function 'text2qos'
q_atm.c:67: warning: implicit declaration of function 'text2sap'
q_atm.c:71: warning: implicit declaration of function 'text2atm'
q_atm.c:72: error: 'T2A_PVC' undeclared (first use in this function)
q_atm.c:72: error: (Each undeclared identifier is reported only once
q_atm.c:72: error: for each function it appears in.)
q_atm.c:72: error: 'T2A_NAME' undeclared (first use in this function)
q_atm.c:80: error: 'T2A_SVC' undeclared (first use in this function)
q_atm.c: In function 'atm_print_opt':
q_atm.c:196: error: 'MAX_ATM_ADDR_LEN' undeclared (first use in this function)
q_atm.c:207: warning: implicit declaration of function 'atm2text'
q_atm.c:208: error: 'A2T_PRETTY' undeclared (first use in this function)
q_atm.c:208: error: 'A2T_NAME' undeclared (first use in this function)
q_atm.c:196: warning: unused variable 'buffer'
make[1]: *** [q_atm.so] Error 1
make[1]: Leaving directory
`/home/erik/oe/tmp/work/armv7a-angstrom-linux-gnueabi/iproute2-2.6.22-r1/tc'
make: *** [all] Error 2
FATAL: oe_runmake failed

Seems as it ships with some own configure-script which check for atm.h but
finds the hosts and therefore enables atm in the the file called Config. If the
configure-script is changed to use OEs ${CC} instead of gcc it seems to work,
see attached patch.

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




More information about the Openembedded-commits mailing list