Skip to contentSkip to conversation

xl2tpd: does not work with new kernel headers

meta-networking Martin Jansa 1 participant 1 message Mar 13, 2013

lore
Share & tools
lore
#0 lore raw

Hi,

xl2tpd is now failing, probably because of kernel headers upgrade

| arm-oe-linux-gnueabi-gcc  -march=armv5te  -marm -mthumb-interwork   --sysroot=/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm -O2 -pipe -g -feliminate-unused-debug-types -DLINUX -DDEBUG_PPPD -DTRUST_PPPD_TO_DIE -O2 -DSANITY -DLINUX -I/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm/usr/src/kernel/include/ -DUSE_KERNEL -DIP_ALLOCATION -o avpsend.o -c avpsend.c
| In file included from /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm/usr/src/kernel/include/linux/kernel.h:6:0,
|                  from /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm/usr/src/kernel/include/linux/skbuff.h:17,
|                  from /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm/usr/src/kernel/include/linux/if_ether.h:23,
|                  from l2tp.h:240,
|                  from pty.c:28:
| /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm/usr/src/kernel/include/linux/linkage.h:5:25: fatal error: asm/linkage.h: No such file or directory
| compilation terminated.
| In file included from /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm/usr/src/kernel/include/linux/kernel.h:6:0,
|                  from /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm/usr/src/kernel/include/linux/skbuff.h:17,
|                  from /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm/usr/src/kernel/include/linux/if_ether.h:23,
|                  from l2tp.h:240,
|                  from control.c:23:
| /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm/usr/src/kernel/include/linux/linkage.h:5:25: fatal error: asm/linkage.h: No such file or directory
| compilation terminated.
| make: *** [control.o] Error 1
| make: *** Waiting for unfinished jobs....
| In file included from /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm/usr/src/kernel/include/linux/kernel.h:6:0,
|                  from /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm/usr/src/kernel/include/linux/skbuff.h:17,
|                  from /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm/usr/src/kernel/include/linux/if_ether.h:23,
|                  from l2tp.h:240,
|                  from misc.c:30:
| /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm/usr/src/kernel/include/linux/linkage.h:5:25: fatal error: asm/linkage.h: No such file or directory
| compilation terminated.
| make: *** [misc.o] Error 1
| make: *** [pty.o] Error 1
| In file included from /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm/usr/src/kernel/include/linux/kernel.h:6:0,
|                  from /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm/usr/src/kernel/include/linux/skbuff.h:17,
|                  from /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm/usr/src/kernel/include/linux/if_ether.h:23,
|                  from l2tp.h:240,
|                  from xl2tpd.c:53:
| /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm/usr/src/kernel/include/linux/linkage.h:5:25: fatal error: asm/linkage.h: No such file or directory
| compilation terminated.
| make: *** [xl2tpd.o] Error 1
| In file included from /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm/usr/src/kernel/include/linux/kernel.h:6:0,
|                  from /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm/usr/src/kernel/include/linux/skbuff.h:17,
|                  from /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm/usr/src/kernel/include/linux/if_ether.h:23,
|                  from l2tp.h:240,
|                  from avp.c:19:
| /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm/usr/src/kernel/include/linux/linkage.h:5:25: fatal error: asm/linkage.h: No such file or directory
| compilation terminated.
| In file included from /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm/usr/src/kernel/include/linux/kernel.h:6:0,
|                  from /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm/usr/src/kernel/include/linux/skbuff.h:17,
|                  from /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm/usr/src/kernel/include/linux/if_ether.h:23,
|                  from l2tp.h:240,
|                  from call.c:27:
| /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm/usr/src/kernel/include/linux/linkage.h:5:25: fatal error: asm/linkage.h: No such file or directory
| compilation terminated.
| make: *** [avp.o] Error 1
| make: *** [call.o] Error 1
| In file included from /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm/usr/src/kernel/include/linux/kernel.h:6:0,
|                  from /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm/usr/src/kernel/include/linux/skbuff.h:17,
|                  from /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm/usr/src/kernel/include/linux/if_ether.h:23,
|                  from l2tp.h:240,
|                  from avpsend.c:19:
| /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm/usr/src/kernel/include/linux/linkage.h:5:25: fatal error: asm/linkage.h: No such file or directory
| compilation terminated.
| make: *** [avpsend.o] Error 1
| In file included from /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm/usr/src/kernel/include/linux/kernel.h:6:0,
|                  from /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm/usr/src/kernel/include/linux/skbuff.h:17,
|                  from /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm/usr/src/kernel/include/linux/if_ether.h:23,
|                  from l2tp.h:240,
|                  from network.c:28:
| /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm/usr/src/kernel/include/linux/linkage.h:5:25: fatal error: asm/linkage.h: No such file or directory
| compilation terminated.
| make: *** [network.o] Error 1
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (see /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/xl2tpd/1.3.1-r0.0/temp/log.do_compile.28615 for further information)

NOTE: recipe xl2tpd-1.3.1-r0.0: task do_compile: Failed
ERROR: Task 3045 (/home/jenkins/oe/shr-core-branches/shr-core/meta-openembedded/meta-networking/recipes-protocols/xl2tpd/xl2tpd_1.3.1.bb, do_compile) failed with exit code '1'

Whole log:
http://logs.nslu2-linux.org/buildlogs/oe/oe-shr-core-branches/log.world.20130312_110444.log

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]