Firefly开源社区

打印 上一主题 下一主题

[技术讨论] RK3308编译出错

31

积分

0

威望

0

贡献

技术小白

积分
31

RK3308编译出错

发表于 2019-7-24 16:02:24      浏览:3814 | 回复:4        打印      只看该作者   [复制链接] 楼主
>>> libsoxr 0.1.2 Extracting
xzcat /home/test/share/buildroot/dl/soxr-0.1.2-Source.tar.xz | tar --strip-compo               nents=1 -C /home/test/share/buildroot/output/firefly_rk3308_release/build/libsox               r-0.1.2   -xf -
>>> libsoxr 0.1.2 Patching
>>> libsoxr 0.1.2 Configuring
(mkdir -p /home/test/share/buildroot/output/firefly_rk3308_release/build/libsoxr               -0.1.2/ && cd /home/test/share/buildroot/output/firefly_rk3308_release/build/lib               soxr-0.1.2/ && rm -f CMakeCache.txt && PATH="/home/test/share/buildroot/output/f               irefly_rk3308_release/host/bin:/home/test/share/buildroot/output/firefly_rk3308_               release/host/sbin:/home/test/bin:/home/test/.local/bin:/usr/local/sbin:/usr/loca               l/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"  /usr               /bin/cmake /home/test/share/buildroot/output/firefly_rk3308_release/build/libsox               r-0.1.2/ -DCMAKE_TOOLCHAIN_FILE="/home/test/share/buildroot/output/firefly_rk330               8_release/host/share/buildroot/toolchainfile.cmake" -DCMAKE_INSTALL_PREFIX="/usr               " -DCMAKE_COLOR_MAKEFILE=OFF -DBUILD_DOC=OFF -DBUILD_DOCS=OFF -DBUILD_EXAMPLE=OF               F -DBUILD_EXAMPLES=OFF -DBUILD_TEST=OFF -DBUILD_TESTS=OFF -DBUILD_TESTING=OFF -D               BUILD_SHARED_LIBS=ON  -DWITH_OPENMP=OFF -DHAVE_WORDS_BIGENDIAN=0 )
-- The C compiler identification is unknown
CMake Error at CMakeLists.txt:6 (project):
  The CMAKE_C_COMPILER:

    /home/test/output/firefly_rk3308_release/host/bin/aarch64-rockchip-linux-gnu               -gcc

  is not a full path to an existing compiler tool.

  Tell CMake where to find the compiler by setting either the environment
  variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
  the compiler, or to the compiler name if it is in the PATH.


-- Configuring incomplete, errors occurred!
See also "/home/test/share/buildroot/output/firefly_rk3308_release/build/libsoxr               -0.1.2/CMakeFiles/CMakeOutput.log".
回复

使用道具 举报

166

积分

1

威望

0

贡献

技术小白

积分
166
发表于 2019-7-25 14:25:44        只看该作者  沙发
你是怎么编译的?固件编译出来了没
回复

使用道具 举报

31

积分

0

威望

0

贡献

技术小白

积分
31
发表于 2019-7-25 16:14:18        只看该作者  板凳
飞神 发表于 2019-7-25 14:25
你是怎么编译的?固件编译出来了没

直接执行目录下的  ./build.sh
回复

使用道具 举报

166

积分

1

威望

0

贡献

技术小白

积分
166
发表于 2019-7-25 16:44:07        只看该作者  地板
环境搭好了就直接build咯
回复

使用道具 举报

31

积分

0

威望

0

贡献

技术小白

积分
31
发表于 2019-7-25 18:22:50        只看该作者  5#
飞神 发表于 2019-7-25 16:44
环境搭好了就直接build咯

环境是搭好的,直接编译,docker环境下编译,都报一样的错误。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表