This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
OMAPL138_LINUX_SDK版本:06_03_00_106
操作系统:Ubuntu 18.04.5 LTS (64 位)
安装了SDK后,按照1.1.6执行了 ./setup.sh,按照1.1.7下载安装了所需packages后只执行了make,
按照1.1.8把环境变量写入了~/.bashrc中(重启后echo $PATH也更新了),
在linux-devkit目录下执行了source environment-setup后,命令行形式的确变成[linux-devkit],
在/home/rookie/ti-processor-sdk-linux-omapl138-lcdk-06.03.00.106/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-oe-linux-gnueabi目录下写了hello.c后,
利用gcc hello.c -o hello。出现以下错误:
相关错误都类似,不贴那么多图了。
不知道是不是执行make命令时遗漏了什么步骤。
不知道如何解决,希望得到工程师们解答。
使用的交叉编译链应该是 {TOOLCHAIN_PREFIX}gcc helloworld.c -o helloworld 这样的格式,也就是 arm-oe-linux-gnueabi-gcc
看你的截图中直接写的是gcc helloworld.c -o helloworld, 看一下是不是这里的问题。
以下两个帖子也一起参考看一下。