标题: 在DEBIAN下编译VNC源代码出错了!!
make
make[1]: Entering directory `/home/xiao/vnc-3.3.7/zlib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/xiao/vnc-3.3.7/zlib'
make[1]: Entering directory `/home/xiao/vnc-3.3.7/rdr'
make[1]: Leaving directory `/home/xiao/vnc-3.3.7/rdr'
make[1]: Entering directory `/home/xiao/vnc-3.3.7/rfb'
make[1]: Leaving directory `/home/xiao/vnc-3.3.7/rfb'
make[1]: Entering directory `/home/xiao/vnc-3.3.7/vncconnect'
gcc -DX_DISPLAY_MISSING=1 -O2 -Wall -c vncconnect.c
vncconnect.c:28:22: X11/Xlib.h: No such file or directory
vncconnect.c:29:23: X11/Xatom.h: No such file or directory
vncconnect.c: In function `main':
vncconnect.c:52: error: `Display' undeclared (first use in this function)
vncconnect.c:52: error: (Each undeclared identifier is reported only once
vncconnect.c:52: error: for each function it appears in.)
vncconnect.c:52: error: `dpy' undeclared (first use in this function)
vncconnect.c:54: error: `Atom' undeclared (first use in this function)
vncconnect.c:54: error: syntax error before "VNC_CONNECT"
vncconnect.c:55: error: `Bool' undeclared (first use in this function)
vncconnect.c:69: error: `away' undeclared (first use in this function)
vncconnect.c:69: error: `True' undeclared (first use in this function)
vncconnect.c:88: warning: implicit declaration of function `XOpenDisplay'
vncconnect.c:90: warning: implicit declaration of function `XDisplayName'
vncconnect.c:90: warning: format argument is not a pointer (arg 4)
vncconnect.c:95: error: `VNC_DEFER_UPDATE' undeclared (first use in this function)
vncconnect.c:95: warning: implicit declaration of function `XInternAtom'
vncconnect.c:95: error: `False' undeclared (first use in this function)
vncconnect.c:96: warning: implicit declaration of function `XChangeProperty'
vncconnect.c:96: warning: implicit declaration of function `DefaultRootWindow'
vncconnect.c:96: error: `XA_STRING' undeclared (first use in this function)
vncconnect.c:97: error: `PropModeReplace' undeclared (first use in this function)
vncconnect.c:100: error: `VNC_CONNECT' undeclared (first use in this function)
vncconnect.c:106: warning: implicit declaration of function `XCloseDisplay'
make[1]: *** [vncconnect.o] Error 1
make[1]: Leaving directory `/home/xiao/vnc-3.3.7/vncconnect'
make: *** [all] Error 1
好像是说少了XFREE86的开发包,但不知道该安装哪个啊,大家帮个忙!谢谢啊!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论