快速业务通道

Ubuntu 10.04编译安装insigh-6.8-1

作者 佚名技术 来源 Linux系统 浏览 发布时间 2012-04-17

编译:

16 ./configure
17 make

遇到编译错误:

gcc -c -g -O2 -Wall -Wconversion -Wno-implicit-int -fPIC -I/home/jelly/Programming/tools/insight/insight-6.8-1/tk/unix -I/home/jelly/Programming/tools/insight/insight-6.8-1/tk/unix/../generic -I/home/jelly/Programming/tools/insight/insight-6.8-1/tk/unix/../bitmaps -I/home/jelly/Programming/tools/insight/insight-6.8-1/tcl/generic -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_TYPE_OFF64_T=1 -DSTATIC_BUILD=1 -DPEEK_XCLOSEIM=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_PW_GECOS=1 -DTCL_NO_DEPRECATED /home/jelly/Programming/tools/insight/insight-6.8-1/tk/unix/../generic/tk3d.c
In file included from /home/jelly/Programming/tools/insight/insight-6.8-1/tk/unix/../generic/tkInt.h:21,
from /home/jelly/Programming/tools/insight/insight-6.8-1/tk/unix/../generic/tk3d.h:18,
from /home/jelly/Programming/tools/insight/insight-6.8-1/tk/unix/../generic/tk3d.c:16:
/home/jelly/Programming/tools/insight/insight-6.8-1/tk/unix/../generic/tk.h:96:23: error: X11/Xlib.h: 没有那个文件或目录

In file included from /home/jelly/Programming/tools/insight/insight-6.8-1/tk/unix/../generic/tkInt.h:21,
from /home/jelly/Programming/tools/insight/insight-6.8-1/tk/unix/../generic/tk3d.h:18,
from /home/jelly/Programming/tools/insight/insight-6.8-1/tk/unix/../generic/tk3d.c:16:
/home/jelly/Programming/tools/insight/insight-6.8-1/tk/unix/../generic/tk.h:572: error: expected declaration specifiers or ‘...’ before ‘Window’

Empire CMS,phome.net

/home/jelly/Programming/tools/insight/insight-6.8-1/tk/unix/../generic/tk.h:572: error: ‘Window’ declared as function returning a function
/home/jelly/Programming/tools/insight/insight-6.8-1/tk/unix/../generic/tk.h:572: warning: parameter names (without types) in function declaration
/home/jelly/Programming/tools/insight/insight-6.8-1/tk/unix/../generic/tk.h:575: error: expected declaration specifiers or ‘...’ before ‘XEvent’
/home/jelly/Programming/tools/insight/insight-6.8-1/tk/unix/../generic/tk.h:584: error: expected specifier-qualifier-list before ‘Tk_ClassCreateProc’
/home/jelly/Programming/tools/insight/insight-6.8-1/tk/unix/../generic/tk.h:676: error: expected specifier-qualifier-list before ‘Bool’

Empire CMS,phome.net

凌众科技专业提供服务器租用、服务器托管、企业邮局、虚拟主机等服务,公司网站:http://www.lingzhong.cn 为了给广大客户了解更多的技术信息,本技术文章收集来源于网络,凌众科技尊重文章作者的版权,如果有涉及你的版权有必要删除你的文章,请和我们联系。以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢!

分享到: 更多

Copyright ©1999-2011 厦门凌众科技有限公司 厦门优通互联科技开发有限公司 All rights reserved

地址(ADD):厦门软件园二期望海路63号701E(东南融通旁) 邮编(ZIP):361008

电话:0592-5908028 传真:0592-5908039 咨询信箱:web@lingzhong.cn 咨询OICQ:173723134

《中华人民共和国增值电信业务经营许可证》闽B2-20100024  ICP备案:闽ICP备05037997号