QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 3109|回复: 1

ubuntu 9.10 编译skyeye 1.3.0一直出错请高手看下是缺什么?

[复制链接]
发表于 2010-1-17 19:10:06 | 显示全部楼层 |阅读模式
错误如下:我是是在google不出来了,才到这里来麻烦各位。我昨天在虚拟机里面的ubuntu9.10 编译通过了没遇到这个错误,而今天在硬盘上新装了ubuntu 9.10 再次编译skyeye1.3.0一直出现此错误,求大侠帮帮忙,谢谢了!


/bin/bash ./libtool --tag=CC   --mode=link gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes  -g -O2   -o skyeye skyeye.o -L./common -lcommon -lc -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lgio-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0   -ldl -lpthread -lm -liberty -lc
libtool: link: gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -o .libs/skyeye skyeye.o  -L/home/andy/skyeye-1.3.0_rc1/common /home/andy/skyeye-1.3.0_rc1/common/.libs/libcommon.so -L/home/andy/skyeye-1.3.0_rc1/third-party/bfd/.libs -L/home/andy/skyeye-1.3.0_rc1/third-party/libiberty/pic -L/home/andy/skyeye-1.3.0_rc1/third-party/readline /home/andy/skyeye-1.3.0_rc1/third-party/bfd/.libs/libbfd.so -lreadline /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libpangoft2-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangocairo-1.0.so /usr/lib/libgio-2.0.so /usr/lib/libcairo.so /usr/lib/libpango-1.0.so /usr/lib/libfreetype.so -lz -lfontconfig /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so /usr/lib/libglib-2.0.so -ldl -lpthread -lm -liberty -lc -Wl,-rpath -Wl,/opt/skyeye/lib/skyeye -Wl,-rpath -Wl,/opt/skyeye/lib
/home/andy/skyeye-1.3.0_rc1/common/.libs/libcommon.so: undefined reference to `PC'
/home/andy/skyeye-1.3.0_rc1/common/.libs/libcommon.so: undefined reference to `tgetflag'
/home/andy/skyeye-1.3.0_rc1/common/.libs/libcommon.so: undefined reference to `tgetent'
/home/andy/skyeye-1.3.0_rc1/common/.libs/libcommon.so: undefined reference to `UP'
/home/andy/skyeye-1.3.0_rc1/common/.libs/libcommon.so: undefined reference to `tputs'
/home/andy/skyeye-1.3.0_rc1/common/.libs/libcommon.so: undefined reference to `tgoto'
/home/andy/skyeye-1.3.0_rc1/common/.libs/libcommon.so: undefined reference to `tgetnum'
/home/andy/skyeye-1.3.0_rc1/common/.libs/libcommon.so: undefined reference to `BC'
/home/andy/skyeye-1.3.0_rc1/common/.libs/libcommon.so: undefined reference to `tgetstr'
collect2: ld returned 1 exit status
make[2]: *** [skyeye] 错误 1
make[2]:正在离开目录 `/home/andy/skyeye-1.3.0_rc1'
make[1]: *** [all-recursive] 错误 1
make[1]:正在离开目录 `/home/andy/skyeye-1.3.0_rc1'
make: *** [all] 错误 2
 楼主| 发表于 2010-1-17 21:57:37 | 显示全部楼层
已解决
主要是缺少termcap库文件,在终端里执行sudo apt-get install libncurses5-dev安装,然后重新编译出错的文件
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-11-22 03:15 , Processed in 0.058673 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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