当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 4 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 安装soclib时make出错,新手哦
帖子发表于 : 2009-11-07 8:40 

注册: 2009-11-07 1:16
帖子: 7
送出感谢: 0 次
接收感谢: 0 次
安装soclib时,设置完环境变量,然后make,出现错误,什么原因呢?
ckf@ckf-desktop:~/software/soclib/soclib/utils/src$ make
make -C xtty install
make[1]: Entering directory `/home/ckf/software/soclib/soclib/utils/src/xtty'
gcc -c -o xtty.o xtty.c -Wall -O2
xtty.c:55:22: error: X11/Xlib.h: No such file or directory
In file included from xtty.c:57:
xtty.h:40:23: error: X11/Xutil.h: No such file or directory
xtty.h:41:24: error: X11/keysym.h: No such file or directory
In file included from xtty.c:57:
xtty.h:56: error: expected specifier-qualifier-list before ‘Display’
xtty.c:61:21: error: X11/Xos.h: No such file or directory
xtty.c:65: error: expected ‘)’ before ‘cmap’
xtty.c: In function ‘RefreshXtty’:
xtty.c:126: warning: implicit declaration of function ‘XDrawImageString’
xtty.c:126: error: ‘xtty’ has no member named ‘display’
xtty.c:127: error: ‘xtty’ has no member named ‘window’
xtty.c:128: error: ‘xtty’ has no member named ‘gc’
xtty.c:130: error: ‘xtty’ has no member named ‘font_height’
xtty.c:131: error: ‘xtty’ has no member named ‘video’
xtty.c: In function ‘UpdateXtty’:
xtty.c:146: error: ‘xtty’ has no member named ‘xcurse’
xtty.c:148: error: ‘xtty’ has no member named ‘ycurse’
xtty.c:150: error: ‘xtty’ has no member named ‘xcurse’
xtty.c:151: error: ‘xtty’ has no member named ‘ycurse’
xtty.c:156: error: ‘xtty’ has no member named ‘display’
xtty.c:157: error: ‘xtty’ has no member named ‘window’
xtty.c:158: error: ‘xtty’ has no member named ‘gc’
xtty.c:159: error: ‘xtty’ has no member named ‘font_width’
xtty.c:160: error: ‘xtty’ has no member named ‘font_height’
xtty.c:161: error: ‘xtty’ has no member named ‘video’
xtty.c: In function ‘ManageXtty’:
xtty.c:179: error: ‘xtty’ has no member named ‘xcurse’
xtty.c:180: error: ‘xtty’ has no member named ‘video’
xtty.c:180: error: ‘xtty’ has no member named ‘ycurse’
xtty.c:180: error: ‘xtty’ has no member named ‘xcurse’
xtty.c:183: warning: implicit declaration of function ‘XBell’
xtty.c:183: error: ‘xtty’ has no member named ‘display’
xtty.c:188: error: ‘xtty’ has no member named ‘video’
xtty.c:188: error: ‘xtty’ has no member named ‘ycurse’
xtty.c:188: error: ‘xtty’ has no member named ‘xcurse’
xtty.c:189: error: ‘xtty’ has no member named ‘xcurse’
xtty.c:190: error: ‘xtty’ has no member named ‘xcurse’
xtty.c:191: error: ‘xtty’ has no member named ‘xcurse’
xtty.c:192: error: ‘xtty’ has no member named ‘ycurse’
xtty.c:194: error: ‘xtty’ has no member named ‘ycurse’
xtty.c:196: error: ‘xtty’ has no member named ‘video’
xtty.c:196: error: ‘xtty’ has no member named ‘video’
xtty.c:197: error: ‘xtty’ has no member named ‘video’
xtty.c:198: error: ‘xtty’ has no member named ‘ycurse’
xtty.c:206: error: ‘xtty’ has no member named ‘xcurse’
xtty.c:207: error: ‘xtty’ has no member named ‘ycurse’
xtty.c:211: error: ‘xtty’ has no member named ‘video’
xtty.c:211: error: ‘xtty’ has no member named ‘ycurse’
xtty.c:211: error: ‘xtty’ has no member named ‘xcurse’
xtty.c:212: error: ‘xtty’ has no member named ‘xcurse’
xtty.c:214: error: ‘xtty’ has no member named ‘xcurse’
xtty.c:215: error: ‘xtty’ has no member named ‘xcurse’
xtty.c:216: error: ‘xtty’ has no member named ‘ycurse’
xtty.c:218: error: ‘xtty’ has no member named ‘ycurse’
xtty.c:220: error: ‘xtty’ has no member named ‘video’
xtty.c:220: error: ‘xtty’ has no member named ‘video’
xtty.c:221: error: ‘xtty’ has no member named ‘video’
xtty.c:222: error: ‘xtty’ has no member named ‘ycurse’
xtty.c: At top level:
xtty.c:229: error: expected declaration specifiers or ‘...’ before ‘XEvent’
xtty.c: In function ‘EventXtty’:
xtty.c:236: error: ‘KeySym’ undeclared (first use in this function)
xtty.c:236: error: (Each undeclared identifier is reported only once
xtty.c:236: error: for each function it appears in.)
xtty.c:236: error: expected ‘;’ before ‘key’
xtty.c:239: error: ‘event’ undeclared (first use in this function)
xtty.c:240: error: ‘Expose’ undeclared (first use in this function)
xtty.c:244: error: ‘KeyPress’ undeclared (first use in this function)
xtty.c:245: warning: implicit declaration of function ‘XLookupString’
xtty.c:245: error: ‘key’ undeclared (first use in this function)
xtty.c:248: error: ‘XK_BackSpace’ undeclared (first use in this function)
xtty.c:250: error: ‘XK_Tab’ undeclared (first use in this function)
xtty.c:251: error: ‘XK_Linefeed’ undeclared (first use in this function)
xtty.c:252: error: ‘XK_Return’ undeclared (first use in this function)
xtty.c:253: error: ‘XK_Escape’ undeclared (first use in this function)
xtty.c:254: error: ‘XK_Delete’ undeclared (first use in this function)
xtty.c:258: error: ‘xtty’ has no member named ‘wptr’
xtty.c:258: error: ‘xtty’ has no member named ‘rptr’
xtty.c:258: error: ‘xtty’ has no member named ‘keybuf’
xtty.c:258: error: ‘xtty’ has no member named ‘wptr’
xtty.c:259: error: ‘xtty’ has no member named ‘display’
xtty.c:264: error: ‘xtty’ has no member named ‘keybuf’
xtty.c:264: error: ‘xtty’ has no member named ‘wptr’
xtty.c:265: error: ‘xtty’ has no member named ‘wptr’
xtty.c: At top level:
xtty.c:276: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
xtty.c: In function ‘main’:
xtty.c:298: error: ‘XSizeHints’ undeclared (first use in this function)
xtty.c:298: error: expected ‘;’ before ‘shint’
xtty.c:299: error: ‘XEvent’ undeclared (first use in this function)
xtty.c:299: error: expected ‘;’ before ‘event’
xtty.c:300: error: ‘Colormap’ undeclared (first use in this function)
xtty.c:300: error: expected ‘;’ before ‘Cmap’
xtty.c:313: error: ‘xtty’ has no member named ‘video’
xtty.c:315: error: ‘xtty’ has no member named ‘xcurse’
xtty.c:316: error: ‘xtty’ has no member named ‘ycurse’
xtty.c:317: error: ‘xtty’ has no member named ‘keybuf’
xtty.c:318: error: ‘xtty’ has no member named ‘rptr’
xtty.c:319: error: ‘xtty’ has no member named ‘wptr’
xtty.c:321: error: ‘xtty’ has no member named ‘display’
xtty.c:321: warning: implicit declaration of function ‘connect’
xtty.c:321: error: ‘Cmap’ undeclared (first use in this function)
xtty.c:322: warning: implicit declaration of function ‘ttySetGraphics’
xtty.c:324: error: ‘shint’ undeclared (first use in this function)
xtty.c:326: error: ‘xtty’ has no member named ‘font_width’
xtty.c:328: error: ‘xtty’ has no member named ‘font_height’
xtty.c:330: error: ‘PSize’ undeclared (first use in this function)
xtty.c:330: error: ‘PMinSize’ undeclared (first use in this function)
xtty.c:330: error: ‘PMaxSize’ undeclared (first use in this function)
xtty.c:332: error: ‘xtty’ has no member named ‘window’
xtty.c:332: warning: implicit declaration of function ‘XCreateSimpleWindow’
xtty.c:333: error: ‘xtty’ has no member named ‘display’
xtty.c:334: warning: implicit declaration of function ‘DefaultRootWindow’
xtty.c:334: error: ‘xtty’ has no member named ‘display’
xtty.c:336: warning: implicit declaration of function ‘WhitePixelOfScreen’
xtty.c:336: warning: implicit declaration of function ‘DefaultScreenOfDisplay’
xtty.c:336: error: ‘xtty’ has no member named ‘display’
xtty.c:337: warning: implicit declaration of function ‘BlackPixelOfScreen’
xtty.c:337: error: ‘xtty’ has no member named ‘display’
xtty.c:339: warning: implicit declaration of function ‘XSetStandardProperties’
xtty.c:339: error: ‘xtty’ has no member named ‘display’
xtty.c:339: error: ‘xtty’ has no member named ‘window’
xtty.c:341: error: ‘None’ undeclared (first use in this function)
xtty.c:343: warning: implicit declaration of function ‘XSelectInput’
xtty.c:343: error: ‘xtty’ has no member named ‘display’
xtty.c:343: error: ‘xtty’ has no member named ‘window’
xtty.c:345: error: ‘KeyPressMask’ undeclared (first use in this function)
xtty.c:345: error: ‘ExposureMask’ undeclared (first use in this function)
xtty.c:347: warning: implicit declaration of function ‘XMapRaised’
xtty.c:347: error: ‘xtty’ has no member named ‘display’
xtty.c:347: error: ‘xtty’ has no member named ‘window’
xtty.c:350: warning: implicit declaration of function ‘ConnectionNumber’
xtty.c:350: error: ‘xtty’ has no member named ‘display’
xtty.c:352: warning: implicit declaration of function ‘XFlush’
xtty.c:352: error: ‘xtty’ has no member named ‘display’
xtty.c:357: error: ‘xtty’ has no member named ‘display’
xtty.c:376: warning: implicit declaration of function ‘XNextEvent’
xtty.c:376: error: ‘xtty’ has no member named ‘display’
xtty.c:376: error: ‘event’ undeclared (first use in this function)
xtty.c:377: error: too many arguments to function ‘EventXtty’
make[1]: *** [xtty.o] Error 1
make[1]: Leaving directory `/home/ckf/software/soclib/soclib/utils/src/xtty'
make: *** [xtty/install] Error 2


页首
 用户资料  
 
2 楼 
 文章标题 : Re: 安装soclib时make出错,新手哦
帖子发表于 : 2009-11-07 16:35 

注册: 2006-11-29 10:18
帖子: 86
地址: USTC
送出感谢: 0 次
接收感谢: 0 次
代码:
sudo apt-get install xlibs-dev


页首
 用户资料  
 
3 楼 
 文章标题 : Re: 安装soclib时make出错,新手哦
帖子发表于 : 2009-11-07 16:42 

注册: 2009-11-07 1:16
帖子: 7
送出感谢: 0 次
接收感谢: 0 次
enthumelon 写道:
代码:
sudo apt-get install xlibs-dev

谢谢啊


页首
 用户资料  
 
4 楼 
 文章标题 : Re: 安装soclib时make出错,新手哦
帖子发表于 : 2009-11-07 18:24 

注册: 2006-11-29 10:18
帖子: 86
地址: USTC
送出感谢: 0 次
接收感谢: 0 次
你configure的时候应该没有也注意到java的包也不能用吧...那样出来是没有GUI的...


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 4 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 1 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译