On 12/16/2011 09:45 AM, Jo-Philipp Wich wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi.
I didn't make this patch, it came from jow. I changed use of libnl-tiny
to libnl, since in my testing, it didn't compile with the former.
What are the issues with libnl-tiny? I really don't want this to depend
on full libnl, linking against libnl-tiny worked just fine in my local
tests.
There may be issues with my tree, but:
OpenWrt-libtool: link: ccache mipsel-openwrt-linux-gnu-gcc -g3 -Wall
-I/home/peter/dev/openwrt/na910/staging_dir/target-mipsel_r2_eglibc-2.13/usr/include/libnl-tiny
-Dnl_handle=nl_sock -Dnl_handle_alloc=nl_socket_alloc
-Dnl_handle_destroy=nl_socket_destroy
-DLEASE_FILE=\"/var/lib/lowpan-tools/izcoordinator.leases\"
-DPID_FILE=\"/var/run/izcoordinator.pid\" -Werror -Os -pipe -mips32r2
-mtune=mips32r2 -fno-caller-saves -fhonour-copts -msoft-float -o izcoordinator
izcoordinator-coordinator.o
-L/home/peter/dev/openwrt/na910/staging_dir/target-mipsel_r2_eglibc-2.13/usr/lib
-L/home/peter/dev/openwrt/na910/staging_dir/target-mipsel_r2_eglibc-2.13/lib
-L/home/peter/dev/openwrt/na910/staging_dir/toolchain-mipsel_r2_gcc-4.3.3+cs_eglibc-2.13/usr/lib
-L/home/peter/dev/openwrt/na910/staging_dir/toolchain-mipsel_r2_gcc-4.3.3+cs_eglibc-2.13/lib
../addrdb/.libs/libaddrdb.a ../lib/.libs/libcommon.a -lnl-tiny
izcoordinator-coordinator.o: In function `main':
/home/peter/dev/openwrt/na910/build_dir/target-mipsel_r2_eglibc-2.13/linux-zigbee-2011-12-14/src/coordinator.c:416:
undefined reference to `nl_socket_add_membership'
/home/peter/dev/openwrt/na910/build_dir/target-mipsel_r2_eglibc-2.13/linux-zigbee-2011-12-14/src/coordinator.c:418:
undefined reference to `nl_socket_use_seq'
/home/peter/dev/openwrt/na910/build_dir/target-mipsel_r2_eglibc-2.13/linux-zigbee-2011-12-14/src/coordinator.c:420:
undefined reference to `nl_socket_modify_cb'
/home/peter/dev/openwrt/na910/build_dir/target-mipsel_r2_eglibc-2.13/linux-zigbee-2011-12-14/src/coordinator.c:421:
undefined reference to `nl_socket_modify_cb'
izcoordinator-coordinator.o: In function `mlme_start':
/home/peter/dev/openwrt/na910/build_dir/target-mipsel_r2_eglibc-2.13/linux-zigbee-2011-12-14/src/coordinator.c:81:
undefined reference to `nla_put_string'
/home/peter/dev/openwrt/na910/build_dir/target-mipsel_r2_eglibc-2.13/linux-zigbee-2011-12-14/src/coordinator.c:82:
undefined reference to `nla_put_u16'
/home/peter/dev/openwrt/na910/build_dir/target-mipsel_r2_eglibc-2.13/linux-zigbee-2011-12-14/src/coordinator.c:83:
undefined reference to `nla_put_u16'
/home/peter/dev/openwrt/na910/build_dir/target-mipsel_r2_eglibc-2.13/linux-zigbee-2011-12-14/src/coordinator.c:84:
undefined reference to `nla_put_u8'
/home/peter/dev/openwrt/na910/build_dir/target-mipsel_r2_eglibc-2.13/linux-zigbee-2011-12-14/src/coordinator.c:85:
undefined reference to `nla_put_u8'
/home/peter/dev/openwrt/na910/build_dir/target-mipsel_r2_eglibc-2.13/linux-zigbee-2011-12-14/src/coordinator.c:92:
undefined reference to `nla_put_u8'
...
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel