#18380: [TL-WDR4300] Compilation error, undefined reference to
`mtd_concat_create'
------------------------+-----------------------------------------
Reporter: yhflemee@… | Owner: developers
Type: defect | Status: new
Priority: high | Milestone: Attitude Adjustment 12.09.1
Component: kernel | Version: Trunk
Keywords: |
------------------------+-----------------------------------------
Hello,
I have issues to compile OpenWRT for a TL-WDR4300. It seems that during
the compilation, gcc is unable to make the link between dev-m25p80.c and
concat.h.
After using the command "make world V=99", I get this error:
..
CHK include/linux/version.h
CHK include/generated/utsrelease.h
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
CC arch/mips/ath79/dev-m25p80.o
CC arch/mips/ath79/mach-tl-wdr4300.o
LD arch/mips/ath79/built-in.o
LD arch/mips/built-in.o
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 .tmp_vmlinux1
arch/mips/built-in.o: In function `mtd_concat_add_work':
dev-m25p80.c:(.text+0x1350): undefined reference to `mtd_concat_create'
dev-m25p80.c:(.text+0x1374): undefined reference to
`mtd_device_parse_register'
arch/mips/built-in.o: In function `ath79_register_m25p80_multi':
(.init.text+0x2ad8): undefined reference to `register_mtd_user'
make[5]: *** [.tmp_vmlinux1] Error 1
make[5]: Leaving directory
`/home/yves/openwrt/attitudeAdjustment/build_dir/linux-
ar71xx_generic/linux-3.3.8'
make[4]: *** [/home/yves/openwrt/attitudeAdjustment/build_dir/linux-
ar71xx_generic/linux-3.3.8/.image] Error 2
The files dev-m25p80.c and concat.h are joined to this mail.
I am naturally available to provide you information about this situation
and hope you could give me hints or tips to solve this issue.
Regards,
Yves
--
Ticket URL: <https://dev.openwrt.org/ticket/18380>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets