板友好
我使用 yocto 上的 toolchain 叫做 arm-poky-linux-gnueabi-
已安裝好 yocto 的 SDK 了,也給了
PATH 指到 /home/..../arm-poky-linux-gnueabi/
我要編譯 libnl3.2.4 這個庫,下以下指令
./configure --prefix=/usr/local/arm/libnl3.2.7 CC=arm-poky-linux-gnueabi-gcc
出現:
configure: loading site script /home/bernie/poky-sdk/site-config-cortexa8hf-vf
p-neon-poky-linux-gnueabi
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... arm-poky-linux-gnueabi-gcc
checking whether the C compiler works... no
configure: error: in `/home/bernie/libnl-3.2.4':
configure: error: C compiler cannot create executables
See `config.log' for more details
貌似 c compiler 一直沒找到,給它 CC=絕對路徑下的 arm-pokylinux-gnueabi-gcc
也一樣,請問我該怎麼做QQ???,這只是我想要做的進度10%就卡成這樣了。 如果我直接
把libnl 丟到板子編譯,缺的東西更大,所以我還是偏好使用交叉編譯,在此求救QQ
謝謝
--
我使用 yocto 上的 toolchain 叫做 arm-poky-linux-gnueabi-
已安裝好 yocto 的 SDK 了,也給了
PATH 指到 /home/..../arm-poky-linux-gnueabi/
我要編譯 libnl3.2.4 這個庫,下以下指令
./configure --prefix=/usr/local/arm/libnl3.2.7 CC=arm-poky-linux-gnueabi-gcc
出現:
configure: loading site script /home/bernie/poky-sdk/site-config-cortexa8hf-vf
p-neon-poky-linux-gnueabi
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... arm-poky-linux-gnueabi-gcc
checking whether the C compiler works... no
configure: error: in `/home/bernie/libnl-3.2.4':
configure: error: C compiler cannot create executables
See `config.log' for more details
貌似 c compiler 一直沒找到,給它 CC=絕對路徑下的 arm-pokylinux-gnueabi-gcc
也一樣,請問我該怎麼做QQ???,這只是我想要做的進度10%就卡成這樣了。 如果我直接
把libnl 丟到板子編譯,缺的東西更大,所以我還是偏好使用交叉編譯,在此求救QQ
謝謝
--
All Comments