andykuo 发表于 2010-1-17 19:10:06

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

错误如下:我是是在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: *** 错误 1
make:正在离开目录 `/home/andy/skyeye-1.3.0_rc1'
make: *** 错误 1
make:正在离开目录 `/home/andy/skyeye-1.3.0_rc1'
make: *** 错误 2

andykuo 发表于 2010-1-17 21:57:37

已解决
:shock: 主要是缺少termcap库文件,在终端里执行sudo apt-get install libncurses5-dev安装,然后重新编译出错的文件
页: [1]
查看完整版本: ubuntu 9.10 编译skyeye 1.3.0一直出错请高手看下是缺什么?