天嵌 ARM开发社区

 找回密码
 注册
查看: 2606|回复: 2

关于Motion的交叉编译

[复制链接]
meishaoqing 发表于 2011-4-12 09:56:14 | 显示全部楼层 |阅读模式
大家好。。。向大家请教一个问题。。

我在编译motion(http://www.lavrsen.dk/foswiki/bin/view/Motion)的时候,使用了

./configure --host=arm-linux- --build=i486-gnu-linux --prefix=/opt/motion
make

命令,但是编译生成的moton可执行文件却是x86版本的,没有交叉编译。。。和直接./configure的效果是一样的。

请问有人知道怎么对motion实现交叉编译么?谢谢了。。。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
 楼主| meishaoqing 发表于 2011-4-12 11:12:56 | 显示全部楼层
搞定了。。。
export CC=/opt/EmbedSky/4.3.3/bin/arm-linux-gcc

然后再configure,但是又会出现   

checking for mysql support... testing
checking autodect mysql headers... yes
checking autodect mysql libs... /usr/lib/mysql
checking for mysql_init in -lmysqlclient... no
configure: error: MySQL support can't build without MySQL libraries


但是我  /usr/lib/mysql 里面明明有那个库啊!!!
回复

使用道具 举报

guoxixiao 发表于 2011-4-12 11:51:14 | 显示全部楼层
:)//////////////////////////////////
回复

使用道具 举报

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

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号-2 )

GMT+8, 2025-6-21 16:10 , Processed in 2.038066 second(s), 21 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表