OpenWrt Forum Archive

Topic: Compile error in actual trunc Revision 30733

The content of this topic has been archived on 5 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Helo, in die actual rev i canĀ“t compile.
I have made only this steps

Configure:  make menuconfig
  - Target System:  Lantiq GPON/XWAY
  - Subtarget:  AR9
  - Target Profile:  WBMR - Buffalo WMBR-HP-G300H
  - Target Images: I use squashfs, I haven't tested jffs2
  - You might want to enable luci (Luci/Collections/Luci)
  - Enable wireless:  Kernel Modules/Wireless Drivers/kmod-ath9k
  - Enable hostapd: Network/hostapd and Network/hostapd-utils

exit
make

mips-openwrt-linux-uclibc-gcc -L/home/openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.33/usr/lib -L/home/openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.33/lib -L/home/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33/usr/lib -L/home/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33/lib -shared -lnl-tiny -o libiwinfo.so iwinfo_utils.o iwinfo_wext.o iwinfo_wext_scan.o iwinfo_lib.o iwinfo_nl80211.o
mips-openwrt-linux-uclibc-gcc -L/home/openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.33/usr/lib -L/home/openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.33/lib -L/home/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33/usr/lib -L/home/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33/lib -shared -L. -liwinfo -llua -o iwinfo.so iwinfo_lua.o
mips-openwrt-linux-uclibc-gcc -L/home/openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.33/usr/lib -L/home/openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.33/lib -L/home/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33/usr/lib -L/home/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33/lib -L. -liwinfo -lnl-tiny -o iwinfo iwinfo_cli.o
iwinfo_cli.o: In function `print_scanlist':
iwinfo_cli.c:(.text+0x111c): undefined reference to `IWINFO_OPMODE_NAMES'
iwinfo_cli.o: In function `main':
iwinfo_cli.c:(.text.startup+0x1e8): undefined reference to `IWINFO_OPMODE_NAMES'
collect2: ld returned 1 exit status
make[4]: *** [compile] Error 1
make[4]: Leaving directory `/home/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.33/libiwinfo'
make[3]: *** [/home/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.33/libiwinfo/.built] Error 2
make[3]: Leaving directory `/home/openwrt/trunk/package/iwinfo'
make[2]: *** [package/iwinfo/compile] Error 2
make[2]: Leaving directory `/home/openwrt/trunk'
make[1]: *** [/home/openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.33/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/openwrt/trunk'
make: *** [world] Fehler 2

Same here for TL-WR842ND

make package/iwinfo/clean

The discussion might have continued from here.