标题: 在DEBIAN下编译VNC源代码出错了!!

发布于 2022-07-22 12:58:26 字数 2567 浏览 12 评论 0

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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文