Opened 3 years ago

Closed 3 years ago

#18380 closed defect (obsolete)

[TL-WDR4300] Compilation error, undefined reference to `mtd_concat_create'

Reported by: yhflemee@… Owned by: developers
Priority: high Milestone: Attitude Adjustment 12.09.1
Component: kernel Version: Trunk
Keywords: Cc:



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/
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'
* /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.



Attachments (1)

CompileError.tar.gz (1.5 KB) - added by yhflemee@… 3 years ago.

Download all attachments as: .zip

Change History (2)

Changed 3 years ago by yhflemee@…

comment:1 Changed 3 years ago by nbd

  • Resolution set to obsolete
  • Status changed from new to closed

attitude adjustment is obsolete, please use barrier breaker or current trunk.

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.