Wind River Support Network


LIN5-4701 : IDP nightly: kernel update cause some idp projects build fail - linux/arch/arm/kernel/module.c:327:3: error: 'err' undeclared

Created: Aug 11, 2013    Updated: Dec 19, 2017
Resolved Date: Aug 23, 2013
Found In Version: 5.0.1
Fix Version:
Severity: Severe
Applicable for: Wind River Linux 5
Component/s: Kernel


See nightly report:

The 3 build failures are caused by same reaon:

2596 | /buildarea4/idp-nightly-log/lge_idp_20130809_200002/lx_prj_imx6_glibc-idp_srm/bitbake_build/tmp/work/fsl_imx6-wrs-linux-gnueabi/linux-windriver-     3.4-r0/linux/arch/arm/kernel/module.c: In function 'module_finalize':
2597 | /buildarea4/idp-nightly-log/lge_idp_20130809_200002/lx_prj_imx6_glibc-idp_srm/bitbake_build/tmp/work/fsl_imx6-wrs-linux-gnueabi/linux-windriver-     3.4-r0/linux/arch/arm/kernel/module.c:327:3: error: 'err' undeclared (first use in this function)
2598 | /buildarea4/idp-nightly-log/lge_idp_20130809_200002/lx_prj_imx6_glibc-idp_srm/bitbake_build/tmp/work/fsl_imx6-wrs-linux-gnueabi/linux-windriver-     3.4-r0/linux/arch/arm/kernel/module.c:327:3: note: each undeclared identifier is reported only once for each function it appears in
2599 | make[3]: *** [arch/arm/kernel/module.o] Error 1
2600 | make[3]: *** Waiting for unfinished jobs....
2601 | make[2]: *** [arch/arm/kernel] Error 2
2602 | make[1]: *** [sub-make] Error 2
2603 | make: *** [all] Error 2
2604 | ERROR: oe_runmake failed

Steps to Reproduce

/buildarea4/idp-nightly-log/wrlinux-x/wrlinux/configure --enable-board=fsl-imx6 --enable-kernel=standard --enable-rootfs=glibc-idp --enable-jobs=4 --enable-parallel-pkgbuilds=4 --enable-addons=wr-idp --with-layer=wr-digi-idigiconnector,wr-medical,wr-prosyst-mbs-smarthome-sdk-arm,wr-wks-oneagent-tr069,wr-wks-oneagent-oma-dm-arm --with-template=feature/webif,feature/firewall,feature/openjdk-bin,feature/pptp_vpn,feature/mqtt,feature/vlan,feature/upnp,feature/l2tp,feature/netifd,feature/pppoe,feature/ipsec_vpn,feature/online_updates
make -C build appweb.addpkg
make -C build conntrack-tools.addpkg
make -C build deltarpm.addpkg
make -C build ecmh.addpkg
make -C build ffmpeg.addpkg
make -C build fuse.addpkg
make -C build igmpproxy.addpkg
make -C build iperf.addpkg
make -C build ipset.addpkg
make -C build isakmpd.addpkg
make -C build keynote.addpkg
make -C build lame.addpkg
make -C build libcli.addpkg
make -C build libdlna.addpkg
make -C build libexosip2.addpkg
make -C build libgsm.addpkg
make -C build libosip2.addpkg
make -C build libupnp.addpkg
make -C build mipv6-daemon-umip.addpkg
make -C build mldproxy.addpkg
make -C build mowrappers.addpkg
make -C build net-snmp.addpkg
make -C build ntfs-3g.addpkg
make -C build ntfsprogs.addpkg
make -C build orc.addpkg
make -C build quagga.addpkg
make -C build schroedinger.addpkg
make -C build sshfs-fuse.addpkg
make -C build tftp-hpa.addpkg
make -C build tftp-hpa-server.addpkg
make -C build xinetd.addpkg
make fs

Other Downloads

Live chat