#20930: Linux compilation failure
------------------------+------------------------
Reporter: spk.punith | Owner: developers
Type: defect | Status: new
Priority: high | Milestone:
Component: kernel | Version: Trunk
Keywords: |
------------------------+------------------------
Facing compilation error while compiling linux as shown below
Error source as per analysis is from one of the generic patch
target/linux/generic/patches-3.18/911-kobject_add_broadcast_uevent.patch,
when CONFIG_NET is not defined then sources under net/core/ will not be
compiled and kfree_skb() definition defined at net/core/skbuff.c also will
not available
LZMA 4.65 : Igor Pavlov : Public domain : 2009-02-03
AS usr/initramfs_data.o
LD usr/built-in.o
LDS arch/mips/kernel/vmlinux.lds
LINK vmlinux
LD vmlinux.o
MODPOST vmlinux.o
GEN .version
CHK include/generated/compile.h
UPD include/generated/compile.h
CC init/version.o
LD init/built-in.o
LD vmlinux
lib/lib.a(kobject_uevent.o): In function `broadcast_uevent':
kobject_uevent.c:(.text.broadcast_uevent+0x8): undefined reference to
`kfree_skb'
make[4]: *** [vmlinux] Error 1
make[4]: Leaving directory `openwrt/core/build_dir/target-mips-openwrt-
linux-uclibc/linux-xxx/linux-3.18.23
make[3]: *** [openwrt/core/build_dir/target-mips-openwrt-linux-uclibc
/linux-xx/symtab.h] Error 2
make[3]: Leaving directory `openwrt_model/target/target_linux_lantiq'
make[2]: *** [install] Error 2
make[2]: Leaving directory `openwrt/core/target/linux'
make[1]: *** [target/linux/install] Error 2
--
Ticket URL: <https://dev.openwrt.org/ticket/20930>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets