The problem is getting more interesting .
After I selected TP-Link TL-WR941ND as my target (changed the target from TL-WR741ND to TL-WR941ND, and nothing else), the build became successful. However, very surprisingly, when I look into the bin folder, I found that I actually got the images for TP-Link TL-WR741ND: ... md5sums openwrt-ar71xx-rootfs.tar.gz openwrt-ar71xx-root.jffs2-128k openwrt-ar71xx-root.jffs2-64k openwrt-ar71xx-root.squashfs openwrt-ar71xx-root.squashfs-4k openwrt-ar71xx-tl-wr741nd-v1-squashfs-factory.bin openwrt-ar71xx-tl-wr741nd-v1-squashfs-sysupgrade.bin openwrt-ar71xx-uImage-gzip.bin openwrt-ar71xx-uImage-lzma.bin openwrt-ar71xx-vmlinux.bin openwrt-ar71xx-vmlinux.elf openwrt-ar71xx-vmlinux.gz openwrt-ar71xx-vmlinux.lzma packages .... In order to confirm this, I removed the entire bin folder, and build again (double-checked that I have selected TL-WR941ND as my target platform, I still got the same thing (i.e. images for TL-WR741ND). But when I go back to select TL-WR741ND as my target, it gain failed to build! Is this a bug? Should I now use the image obtained (i.e. openwrt-ar71xx-tl-wr741nd-v1-squashfs-factory.bin) in my TL-WR741ND or my TL-WR941ND? The last thing I want to see is to load an incorrect image into the router and brick it. Please help. Regards, Robert. From: openwrt-devel-boun...@lists.openwrt.org [mailto:openwrt-devel-boun...@lists.openwrt.org] On Behalf Of Robert Chan Sent: Sunday, September 05, 2010 10:32 PM To: 'OpenWrt Development List' Subject: Re: [OpenWrt-Devel] Backfire build failed -- "undefined reference to `ar71xx_add_device_dsa'" OK. I used to same configuration, only changed the target to TP-Link TL-WR941ND (since I also have a TP-Link TL-WR941ND). The build is successful! Therefore, the problem seems to be TP-Link TL-WR741ND specific. Does anyone have any idea on why that could be? From: openwrt-devel-boun...@lists.openwrt.org [mailto:openwrt-devel-boun...@lists.openwrt.org] On Behalf Of Robert Chan Sent: Sunday, September 05, 2010 6:03 PM To: openwrt-devel@lists.openwrt.org Subject: [OpenWrt-Devel] Backfire build failed -- "undefined reference to `ar71xx_add_device_dsa'" Dear all, I am trying to compile backfire with virtually the default config I downloaded, except that: 1. Changed the default platform to ar71xx/TP-Link TL-WR741ND v1; 2. Enabled mesh networking (pre-802.11s) support (in Networking Support). And nothing else. Then I got the following error while I build: .................... arch/mips/ar71xx/built-in.o: In function `ap91_eth_init': (.init.text+0x13b8): undefined reference to `ar71xx_add_device_dsa' arch/mips/ar71xx/built-in.o: In function `ap91_eth_init': (.init.text+0x13b8): relocation truncated to fit: R_MIPS_26 against `ar71xx_add_device_dsa' make[5]: *** [vmlinux] Error 1 ...................... Can anyone please give me some pointer? Thanks very much in advance. Regards, Robert
_______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel