CROSS_COMPILE - Linux

By Brianna
at 2015-10-07T17:49
at 2015-10-07T17:49
Table of Contents
板友好
我使用 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
謝謝
--
Tags:
Linux
All Comments

By Heather
at 2015-10-10T12:10
at 2015-10-10T12:10

By William
at 2015-10-12T00:35
at 2015-10-12T00:35

By Puput
at 2015-10-15T22:24
at 2015-10-15T22:24

By Ingrid
at 2015-10-17T13:24
at 2015-10-17T13:24

By Jack
at 2015-10-19T22:36
at 2015-10-19T22:36

By Puput
at 2015-10-22T21:17
at 2015-10-22T21:17

By Damian
at 2015-10-27T10:44
at 2015-10-27T10:44

By Carol
at 2015-10-31T04:14
at 2015-10-31T04:14

By Leila
at 2015-10-31T08:19
at 2015-10-31T08:19

By John
at 2015-11-04T00:38
at 2015-11-04T00:38

By Vanessa
at 2015-11-05T19:02
at 2015-11-05T19:02

By Bennie
at 2015-11-10T11:41
at 2015-11-10T11:41
Related Posts
強化root登入安全性如何做?

By Linda
at 2015-10-07T13:29
at 2015-10-07T13:29
Win8與Ubuntu 14.04.1 LTS雙系統抓不到分割硬碟

By Eartha
at 2015-10-07T09:57
at 2015-10-07T09:57
有人真的拿 raspberry pi 當伺服器嗎?

By Charlotte
at 2015-10-07T09:53
at 2015-10-07T09:53
Asterisk1.8安裝完 帳號無法登入

By Rosalind
at 2015-10-07T08:56
at 2015-10-07T08:56
有人真的拿 raspberry pi 當伺服器嗎?

By Tracy
at 2015-10-07T07:16
at 2015-10-07T07:16