libnl
libnl copied to clipboard
I can't run 'make install' successfully:cannot stat '.libs/libnl-3.so.200.23.0': No such file or directory
Hello:
I need to cross compile hostapd for my project from my work. And That depend libnl-3.2.
I Download the code from release: https://github.com/thom311/libnl/releases/tag/libnl3_2_28. and apply patch from: https://github.com/thom311/libnl/pull/102/commits/16a9fad8d276e31dfb7a2dc8c03f6c94d54898fb.
And I need to cross-compile it:
./configure --host=arm-hisiv300-linux --prefix=$SOME_DIR/libnl-3.2.28-build
and then
${MAKE} install -C $(LIBNL_DIR)
then I get error message:
/usr/bin/mkdir -p '/home/chen.wq3/camerasystem/branches/chen.wq3/hotspot/app/hotspot/build/libnl-3.2.28-build/lib'
/bin/sh ../libtool --mode=install /usr/bin/install -c libnl-3.la libnl-genl-3.la libnl-route-3.la libnl-nf-3.la libnl-idiag-3.la libnl-xfrm-3.la '/home/chen.wq3/camerasystem/branches/chen.wq3/hotspot/app/hotspot/build/libnl-3.2.28-build/lib'
libtool: install: /usr/bin/install -c .libs/libnl-3.so.200.23.0 /home/chen.wq3/camerasystem/branches/chen.wq3/hotspot/app/hotspot/build/libnl-3.2.28-build/lib/libnl-3.so.200.23.0
/usr/bin/install: cannot stat '.libs/libnl-3.so.200.23.0': No such file or directory
make[5]: *** [install-libLTLIBRARIES] Error 1
make[4]: *** [install-am] Error 2
make[3]: *** [install] Error 2
make[2]: *** [install-recursive] Error 1
make[1]: *** [libnl32] Error 2
/home/chen.wq3/camerasystem/branches/chen.wq3/hotspot/app/hotspot/build/module_lib_a_nl.mk: error occured
I search libnl-3
, and .libs
does not have libnl-3.so.200.23.0.
[chen.wq3@video-test libnl-3.2.28]$ find | grep libnl-3
./libnl-3.sym
./libnl-3.0.pc.in
./lib/.libs/libnl-3.so.200
./lib/.libs/libnl-3.so
./lib/.libs/libnl-3.a
./lib/.libs/libnl-3.lai
./lib/.libs/libnl-3.la
./lib/libnl-3.la
./libnl-3.0.pc
Sorry, I don't know how to resolve this. Were you able to fix it?
I have no idea that how to fix this. If I have solution, I will reply here.
You should rather use DESTDIR. See https://www.gnu.org/software/automake/manual/html_node/DESTDIR.html for details.
On Mon, Aug 15, 2016, 03:40 陈伟琪 [email protected] wrote:
I have no idea that how to fix this. If I have solution, I will reply here.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/thom311/libnl/issues/106#issuecomment-239713538, or mute the thread https://github.com/notifications/unsubscribe-auth/ABsO6-rPRqQKKpUtZ5qTUuzb1mHb-rmzks5qf8N7gaJpZM4JdXG5 .