【发布时间】:2015-08-27 11:10:00
【问题描述】:
我尝试从源代码交叉编译bluez-utils-3.36。
主机(我构建代码的机器)
Processor: Intel(R) Xeon(R) CPU E5-2420 0 @ 1.90GHz
OS Version: Linux 2.6.32-44 generic
目标机:(编译文件应该运行的目标)
Processor: ARM926EJ-S rev 5 (v5l)
OS Version: Linux 2.6.35.3-571
目标似乎有一个 ARM 处理器,所以我导航到 bluez-utils-3.36 并执行以下命令:
./configure \
--host=arm-linux \
BLUEZ_CFLAGS=-I/home/shortened_the_path/bluetooth/bluez-libs-3.36/include \
BLUEZ_LIBS="-L/home/shortened_the_path/bluetooth/bluez-libs-3.36/src/.libs -lbluetooth"
此运行成功。在这之后我执行make,并得到这个错误:
/usr/lib/libgmodule-2.0.so: could not read symbols: File in wrong format
- 我的 libgmodule-2.0.so 文件是否损坏?
有谁知道我怎么可能解决这个问题?
【问题讨论】:
标签: compilation compiler-errors cross-compiling compiler-warnings