【发布时间】:2016-12-20 05:30:10
【问题描述】:
我正在尝试为 Raspberry Pi 上的交叉编译制作 buildroot 工具链。 (使用 buildroot-2016.11)
当我运行 make 时,我收到以下错误:
checking for suffix of object files... configure: error: in `/usr/RPi/buildroot-2016.11/output/build/host-binutils-2.26.1':
configure: error: cannot compute suffix of object files: cannot compile
buildroot-2016.11/output/build/host-binutils-2.26.1'
错误窗口中的 config.log 如下:
ccache: error: Failed to create temporary file for /auto/ccache/tmp/tmp.cpp_stderr: Permission denied
112 configure:4591: $? = 1
113 configure: failed program was:
114 | /* confdefs.h */
122 |
123 | int
124 | main ()
125 | {
126 |
127 | ;
128 | return 0;
129 | }
130 configure:4605: error: in `/usr/RPi/buildroot-2016.11/output/build/host-binutils-2.26.1':
131 configure:4608: error: cannot compute suffix of object files: cannot compile
【问题讨论】:
-
格式更改
标签: linux raspberry-pi toolchain buildroot binutils