首页| 论坛| 消息

回复: linux arm 嵌入式Qt  移植配置+一键推送远程调试
#16 [mr、杨 05-03 10:44]
checking whether to use python... yes
checking for python2.7... no
checking for python2.6... no
checking for python2.5... no
checking for python2.4... no
configure: error: python is missing or unusable
make[1]: *** 错误 1
make[1]:正在离开目录 `/opt/pro/Project/tool/gdb-7.7.1'
make: *** 错误 2

python有安装的,为什么会不可用?python2.7也下载了。
root@yjf-desktop:/opt/pro/Project/tool/gdb-7.7.1# python
pythonpython2 python2.7 python2.7-configpython2.7-dbg python2.7-dbg-config
#17 [哥依然潇洒 10-11 22:03]
感觉你的视频很不错。头老是让我用gdbserver搞,任务重嫌麻烦,不想搞,看到您这个,我果断搞一下!!!
#18 [t1029901995 11-01 15:33]
You have asked to use pkg-config and are cross-compiling.
Please make sure you have a correctly set-up pkg-config
environment!

Warning: PKG_CONFIG_PATH has not been set.This could mean
the host compiler's .pc files will be used. This is probably
not what you want.
这怎么解决啊?ubuntu版本是10.0.1

The target system byte order could not be detected!
Turn on verbose messaging (-v) to see the final report.
You can use the -little-endian or -big-endian switch to
./configure to continue.
make: *** No targets specified and no makefile found.Stop.
make: *** No rule to make target `install'.Stop.
#19 回 t1029901995 的帖子 [大漠之鹰 11-01 16:30]
t1029901995:You have asked to use pkg-config and are cross-compiling.
Please make sure you have a correctly set-up pkg-config
environment!

.......(2016-11-01 15:33)
configure的时候配置-little-endian 或者-big-endian ,一般arm下就配置小端,x86的配置大端,龙芯的配置小端
#20 回 liangyimen 的帖子 [steelpalm 02-18 13:30]
liangyimen:额!根据你的教程出事了大哥!!!
你在编译的GDB的时候有木有出现这个错误呢!!
checking how to link with libexpat... -lexpat
checking for XML_StopParser... (cached) yes
checking whether to use python... yes
.......(2015-01-07 02:57)
重新编译安装一下c版也就是官方版python就可以了.

<< 2 3 4 5 >> (4/5)

回复 发表
主题 版块