ubuntu 10.04 lts上安装tk8.5.9-src.tar.gz源码包出错make: *** [tk3d.o]

系统错误报告和讨论
回复
chengmoYS
帖子: 125
注册时间: 2007-10-22 22:40
送出感谢: 0
接收感谢: 0
联系:

ubuntu 10.04 lts上安装tk8.5.9-src.tar.gz源码包出错make: *** [tk3d.o]

#1

帖子 chengmoYS » 2010-12-14 11:31

tk是tcl的扩展,所以先安装tcl8.5.9-src.tar.gz源码包,如下过程:
user@desktop:~$ cd Downloads/

user@desktop:~/Downloads$ [ -e tcl8.5.9-src.tar.gz ] && echo "exist" || echo "not exist"

exist

user@desktop:~/Downloads$ sudo su

root@desktop:/home/user/Downloads# cp tcl8.5.9-src.tar.gz /usr/local/src/

root@desktop:/home/user/Downloads# cd /usr/local/src/

root@desktop:/usr/local/src# tar -zxvf tcl8.5.9-src.tar.gz
root@desktop:/usr/local/src# cd tcl8.5.9/

root@desktop:/usr/local/src/tcl8.5.9# cd unix/

root@desktop:/usr/local/src/tcl8.5.9/unix# ./configure --prefix=/usr/local/tcl/ --enable-shared

root@desktop:/usr/local/src/tcl8.5.9/unix# make

root@desktop:/usr/local/src/tcl8.5.9/unix# make install

root@desktop:/usr/local/src/tcl8.5.9/unix# /usr/local/tcl/bin/tclsh8.5

% exit


tcl安装成功,开始安装tk,过此如下:
user@desktop:~$ cd Downloads/

user@desktop:~/Downloads$ [ -e tk8.5.9-src.tar.gz ] && echo "exist" || echo "not exist"

exist

user@desktop:~/Downloads$ sudo su

root@desktop:/home/user/Downloads# cp tk8.5.9-src.tar.gz /usr/local/src/

root@desktop:/home/user/Downloads# cd /usr/local/src/

root@desktop:/usr/local/src# tar -zxvf tk8.5.9-src.tar.gz

root@desktop:/usr/local/src# cd tk8.5.9/

root@desktop:/usr/local/src/tk8.5.9# cd unix/

root@desktop:/usr/local/src/tk8.5.9/unix# ./configure --prefix=/usr/local/tk/ --with-tcl=/usr/local/tcl/lib/ --enable-shared

root@desktop:/usr/local/src/tk8.5.9/unix# make

root@desktop:/usr/local/src/tk8.5.9/unix# make install


标红处执行出现错误,错误如下:
gcc -c -O2 -pipe -Wall -fPIC -I/usr/local/src/tk8.5.9/unix/../unix -I/usr/local/src/tk8.5.9/unix/../generic -I/usr/local/src/tk8.5.9/unix/../bitmaps -I/usr/local/src/tcl8.5.9/generic -I/usr/local/src/tcl8.5.9/unix -DPACKAGE_NAME=\"tk\" -DPACKAGE_TARNAME=\"tk\" -DPACKAGE_VERSION=\"8.5\" -DPACKAGE_STRING=\"tk\ 8.5\" -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_LIMITS_H=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DTCL_SHLIB_EXT=\".so\" -DTCL_CFG_OPTIMIZED=1 -DTCL_CFG_DEBUG=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_OPEN64=1 -DHAVE_LSEEK64=1 -DHAVE_TYPE_OFF64_T=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_INTPTR_T=1 -DHAVE_UINTPTR_T=1 -DHAVE_PW_GECOS=1 -DTCL_NO_DEPRECATED -DUSE_TCL_STUBS /usr/local/src/tk8.5.9/unix/../generic/tk3d.c
In file included from /usr/local/src/tk8.5.9/unix/../generic/tkInt.h:21,
from /usr/local/src/tk8.5.9/unix/../generic/tk3d.c:16:
/usr/local/src/tk8.5.9/unix/../generic/tk.h:78:23: error: X11/Xlib.h: No such file or directory
In file included from /usr/local/src/tk8.5.9/unix/../generic/tkInt.h:21,
from /usr/local/src/tk8.5.9/unix/../generic/tk3d.c:16:
/usr/local/src/tk8.5.9/unix/../generic/tk.h:549: error: expected declaration specifiers or ‘...’ before ‘Window’
/usr/local/src/tk8.5.9/unix/../generic/tk.h:549: warning: type defaults to ‘int’ in declaration of ‘Window’
/usr/local/src/tk8.5.9/unix/../generic/tk.h:549: error: ‘Window’ declared as function returning a function
/usr/local/src/tk8.5.9/unix/../generic/tk.h:549: warning: parameter names (without types) in function declaration
/usr/local/src/tk8.5.9/unix/../generic/tk.h:552: error: expected declaration specifiers or ‘...’ before ‘XEvent’
/usr/local/src/tk8.5.9/unix/../generic/tk.h:561: error: expected specifier-qualifier-list before ‘Tk_ClassCreateProc’
/usr/local/src/tk8.5.9/unix/../generic/tk.h:655: error: expected specifier-qualifier-list before ‘Bool’
/usr/local/src/tk8.5.9/unix/../generic/tk.h:677: error: expected specifier-qualifier-list before ‘Bool’
/usr/local/src/tk8.5.9/unix/../generic/tk.h:756: error: expected specifier-qualifier-list before ‘Display’
/usr/local/src/tk8.5.9/unix/../generic/tk.h:902: error: expected declaration specifiers or ‘...’ before ‘XPoint’
/usr/local/src/tk8.5.9/unix/../generic/tk.h:996: error: expected declaration specifiers or ‘...’ before ‘Display’
/usr/local/src/tk8.5.9/unix/../generic/tk.h:998: error: expected declaration specifiers or ‘...’ before ‘Display’
/usr/local/src/tk8.5.9/unix/../generic/tk.h:998: error: expected declaration specifiers or ‘...’ before ‘Drawable’
/usr/local/src/tk8.5.9/unix/../generic/tk.h:1099: error: expected specifier-qualifier-list before ‘XColor’
/usr/local/src/tk8.5.9/unix/../generic/tk.h:1162: error: expected specifier-qualifier-list before ‘GC’
/usr/local/src/tk8.5.9/unix/../generic/tk.h:1204: error: expected declaration specifiers or ‘...’ before ‘Display’
/usr/local/src/tk8.5.9/unix/../generic/tk.h:1204: error: expected declaration specifiers or ‘...’ before ‘Drawable’
/usr/local/src/tk8.5.9/unix/../generic/tk.h:1207: error: expected declaration specifiers or ‘...’ before ‘Display’
/usr/local/src/tk8.5.9/unix/../generic/tk.h:1403: error: expected declaration specifiers or ‘...’ before ‘Drawable’
/usr/local/src/tk8.5.9/unix/../generic/tk.h:1513: error: expected declaration specifiers or ‘...’ before ‘XErrorEvent’
/usr/local/src/tk8.5.9/unix/../generic/tk.h:1515: error: expected declaration specifiers or ‘...’ before ‘XEvent’
/usr/local/src/tk8.5.9/unix/../generic/tk.h:1517: error: expected declaration specifiers or ‘...’ before ‘XEvent’
/usr/local/src/tk8.5.9/unix/../generic/tk.h:1519: error: expected declaration specifiers or ‘...’ before ‘XEvent’
/usr/local/src/tk8.5.9/unix/../generic/tk.h:1524: error: expected declaration specifiers or ‘...’ before ‘XEvent’
In file included from /usr/local/src/tk8.5.9/unix/../generic/tk.h:1537,
from /usr/local/src/tk8.5.9/unix/../generic/tkInt.h:21,
from /usr/local/src/tk8.5.9/unix/../generic/tk3d.c:16:
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:42: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:47: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Tk_3DBorderGC’
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:54: error: expected declaration specifiers or ‘...’ before ‘Drawable’
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:62: error: expected declaration specifiers or ‘...’ before ‘Drawable’
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:76: error: expected declaration specifiers or ‘...’ before ‘XEvent’
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:108: error: expected declaration specifiers or ‘...’ before ‘Pixmap’
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:115: error: expected declaration specifiers or ‘...’ before ‘XColor’
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:133: error: expected declaration specifiers or ‘...’ before ‘Pixmap’
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:143: error: expected declaration specifiers or ‘...’ before ‘GC’
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:176: error: expected declaration specifiers or ‘...’ before ‘XSetWindowAttributes’
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:188: error: expected declaration specifiers or ‘...’ before ‘Atom’
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:194: error: expected declaration specifiers or ‘...’ before ‘Atom’
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:194: error: expected declaration specifiers or ‘...’ before ‘Atom’
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:231: error: expected declaration specifiers or ‘...’ before ‘XWindowChanges’
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:263: error: expected ‘)’ before ‘*’ token
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:300: error: expected declaration specifiers or ‘...’ before ‘Atom’
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:301: error: expected declaration specifiers or ‘...’ before ‘Atom’
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:302: error: expected declaration specifiers or ‘...’ before ‘Atom’
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:372: error: expected declaration specifiers or ‘...’ before ‘Atom’
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:373: error: expected declaration specifiers or ‘...’ before ‘Atom’
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:394: error: expected declaration specifiers or ‘...’ before ‘Drawable’
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:395: error: expected declaration specifiers or ‘...’ before ‘XPoint’
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:403: error: expected declaration specifiers or ‘...’ before ‘Drawable’
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:410: error: expected ‘)’ before ‘*’ token
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:417: error: expected declaration specifiers or ‘...’ before ‘GC’
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:418: error: expected declaration specifiers or ‘...’ before ‘Drawable’
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:423: error: expected ‘)’ before ‘*’ token
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:431: error: expected declaration specifiers or ‘...’ before ‘Drawable’
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:432: error: expected declaration specifiers or ‘...’ before ‘XPoint’
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:440: error: expected declaration specifiers or ‘...’ before ‘Drawable’
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:453: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Tk_FontId’
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:463: error: expected ‘)’ before ‘*’ token
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:468: error: expected ‘)’ before ‘*’ token
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:473: error: expected ‘)’ before ‘*’ token
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:478: error: expected ‘)’ before ‘*’ token
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:488: error: expected ‘)’ before ‘*’ token
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:499: error: expected declaration specifiers or ‘...’ before ‘Display’
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:504: error: expected ‘)’ before ‘*’ token
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:514: error: expected ‘)’ before ‘*’ token
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:519: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Tk_GCForColor’
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:549: error: expected declaration specifiers or ‘...’ before ‘Atom’
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:561: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Tk_GetBitmap’
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:567: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Tk_GetBitmapFromData’
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:580: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:586: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:591: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Tk_GetColormap’
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:628: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Tk_GetGC’
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:682: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Tk_GetPixmap’
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:714: error: expected declaration specifiers or ‘...’ before ‘Atom’
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:714: error: expected declaration specifiers or ‘...’ before ‘Atom’
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:725: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:744: error: expected ‘)’ before ‘*’ token
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:749: error: expected ‘)’ before ‘*’ token
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:766: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Tk_InternAtom’
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:839: error: expected ‘)’ before ‘*’ token
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:849: error: expected ‘)’ before ‘*’ token
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:854: error: expected ‘)’ before ‘*’ token
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:891: error: expected declaration specifiers or ‘...’ before ‘Atom’
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:960: error: expected ‘)’ before ‘*’ token
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:966: error: expected ‘)’ before ‘*’ token
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:974: error: expected declaration specifiers or ‘...’ before ‘Drawable’
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:1037: error: expected declaration specifiers or ‘...’ before ‘Pixmap’
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:1054: error: expected declaration specifiers or ‘...’ before ‘Pixmap’
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:1060: error: expected declaration specifiers or ‘...’ before ‘Colormap’
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:1065: error: expected declaration specifiers or ‘...’ before ‘Visual’
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:1066: error: expected declaration specifiers or ‘...’ before ‘Colormap’
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:1071: error: expected ‘)’ before ‘*’ token
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:1105: error: expected ‘)’ before ‘*’ token
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:1113: error: expected ‘)’ before ‘*’ token
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:1148: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Tk_AllocBitmapFromObj’
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:1160: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:1240: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Tk_GetBitmapFromObj’
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:1245: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:1356: error: expected ‘)’ before ‘*’ token
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:1362: error: expected ‘)’ before ‘*’ token
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:1387: error: expected declaration specifiers or ‘...’ before ‘GC’
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:1399: error: expected declaration specifiers or ‘...’ before ‘GC’
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:1413: error: expected declaration specifiers or ‘...’ before ‘Pixmap’
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:1420: error: expected declaration specifiers or ‘...’ before ‘XColor’
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:1448: error: expected declaration specifiers or ‘...’ before ‘Pixmap’
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:1524: error: expected ‘)’ before ‘*’ token
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:1621: error: expected declaration specifiers or ‘...’ before ‘Drawable’
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:1656: error: expected ‘)’ before ‘*’ token
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:1661: error: expected ‘)’ before ‘*’ token
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:1692: error: expected specifier-qualifier-list before ‘XColor’
In file included from /usr/local/src/tk8.5.9/unix/../generic/tkPort.h:32,
from /usr/local/src/tk8.5.9/unix/../generic/tkInt.h:27,
from /usr/local/src/tk8.5.9/unix/../generic/tk3d.c:16:
/usr/local/src/tk8.5.9/unix/../unix/tkUnixPort.h:81:28: error: X11/cursorfont.h: No such file or directory
/usr/local/src/tk8.5.9/unix/../unix/tkUnixPort.h:82:24: error: X11/keysym.h: No such file or directory
/usr/local/src/tk8.5.9/unix/../unix/tkUnixPort.h:83:23: error: X11/Xatom.h: No such file or directory
/usr/local/src/tk8.5.9/unix/../unix/tkUnixPort.h:84:24: error: X11/Xproto.h: No such file or directory
/usr/local/src/tk8.5.9/unix/../unix/tkUnixPort.h:85:27: error: X11/Xresource.h: No such file or directory
/usr/local/src/tk8.5.9/unix/../unix/tkUnixPort.h:86:23: error: X11/Xutil.h: No such file or directory
In file included from /usr/local/src/tk8.5.9/unix/../generic/tk3d.c:16:
/usr/local/src/tk8.5.9/unix/../generic/tkInt.h:111: error: expected declaration specifiers or ‘...’ before ‘XEvent’
/usr/local/src/tk8.5.9/unix/../generic/tkInt.h:111: error: expected declaration specifiers or ‘...’ before ‘KeySym’
/usr/local/src/tk8.5.9/unix/../generic/tkInt.h:122: error: expected specifier-qualifier-list before ‘Display’
/usr/local/src/tk8.5.9/unix/../generic/tkInt.h:169: error: expected specifier-qualifier-list before ‘Display’
/usr/local/src/tk8.5.9/unix/../generic/tkInt.h:704: error: expected specifier-qualifier-list before ‘Display’
/usr/local/src/tk8.5.9/unix/../generic/tkInt.h:861: error: expected specifier-qualifier-list before ‘XKeyEvent’
/usr/local/src/tk8.5.9/unix/../generic/tkInt.h:890: error: expected specifier-qualifier-list before ‘Pixmap’
/usr/local/src/tk8.5.9/unix/../generic/tkInt.h:968: error: expected ‘)’ before ‘*’ token
In file included from /usr/local/src/tk8.5.9/unix/../generic/tkInt.h:974,
from /usr/local/src/tk8.5.9/unix/../generic/tk3d.c:16:
/usr/local/src/tk8.5.9/unix/../generic/tkIntDecls.h:54: error: expected declaration specifiers or ‘...’ before ‘XPoint’
/usr/local/src/tk8.5.9/unix/../generic/tkIntDecls.h:64: error: expected declaration specifiers or ‘...’ before ‘XEvent’
/usr/local/src/tk8.5.9/unix/../generic/tkIntDecls.h:79: error: expected ‘)’ before ‘*’ token
/usr/local/src/tk8.5.9/unix/../generic/tkIntDecls.h:115: error: expected declaration specifiers or ‘...’ before ‘XColor’
/usr/local/src/tk8.5.9/unix/../generic/tkIntDecls.h:115: error: expected declaration specifiers or ‘...’ before ‘XColor’
/usr/local/src/tk8.5.9/unix/../generic/tkIntDecls.h:133: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘TkCurrentTime’
/usr/local/src/tk8.5.9/unix/../generic/tkIntDecls.h:148: error: expected declaration specifiers or ‘...’ before ‘GC’
/usr/local/src/tk8.5.9/unix/../generic/tkIntDecls.h:149: error: expected declaration specifiers or ‘...’ before ‘Drawable’
/usr/local/src/tk8.5.9/unix/../generic/tkIntDecls.h:160: error: expected declaration specifiers or ‘...’ before ‘Display’
/usr/local/src/tk8.5.9/unix/../generic/tkIntDecls.h:161: error: expected declaration specifiers or ‘...’ before ‘Drawable’
/usr/local/src/tk8.5.9/unix/../generic/tkIntDecls.h:161: error: expected declaration specifiers or ‘...’ before ‘GC’
/usr/local/src/tk8.5.9/unix/../generic/tkIntDecls.h:161: error: expected declaration specifiers or ‘...’ before ‘GC’
/usr/local/src/tk8.5.9/unix/../generic/tkIntDecls.h:185: error: expected declaration specifiers or ‘...’ before ‘XEvent’
/usr/local/src/tk8.5.9/unix/../generic/tkIntDecls.h:190: error: expected declaration specifiers or ‘...’ before ‘XEvent’
/usr/local/src/tk8.5.9/unix/../generic/tkIntDecls.h:241: error: expected ‘)’ before ‘*’ token
/usr/local/src/tk8.5.9/unix/../generic/tkIntDecls.h:295: error: expected ‘)’ before ‘*’ token
/usr/local/src/tk8.5.9/unix/../generic/tkIntDecls.h:307: error: expected ‘)’ before ‘keysym’
/usr/local/src/tk8.5.9/unix/../generic/tkIntDecls.h:326: error: expected declaration specifiers or ‘...’ before ‘XPoint’
/usr/local/src/tk8.5.9/unix/../generic/tkIntDecls.h:415: error: ‘TkpMakeWindow’ declared as function returning a function
/usr/local/src/tk8.5.9/unix/../generic/tkIntDecls.h:431: error: expected ‘)’ before ‘*’ token
/usr/local/src/tk8.5.9/unix/../generic/tkIntDecls.h:454: error: expected declaration specifiers or ‘...’ before ‘XEvent’
/usr/local/src/tk8.5.9/unix/../generic/tkIntDecls.h:478: error: expected declaration specifiers or ‘...’ before ‘XEvent’
/usr/local/src/tk8.5.9/unix/../generic/tkIntDecls.h:483: error: expected ‘)’ before ‘*’ token
/usr/local/src/tk8.5.9/unix/../generic/tkIntDecls.h:493: error: expected declaration specifiers or ‘...’ before ‘GC’
/usr/local/src/tk8.5.9/unix/../generic/tkIntDecls.h:505: error: expected declaration specifiers or ‘...’ before ‘XEvent’
/usr/local/src/tk8.5.9/unix/../generic/tkIntDecls.h:515: error: expected ‘)’ before ‘*’ token
/usr/local/src/tk8.5.9/unix/../generic/tkIntDecls.h:528: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘TkStringToKeysym’
/usr/local/src/tk8.5.9/unix/../generic/tkIntDecls.h:566: error: expected declaration specifiers or ‘...’ before ‘XEvent’
/usr/local/src/tk8.5.9/unix/../generic/tkIntDecls.h:652: error: expected declaration specifiers or ‘...’ before ‘XEvent’
/usr/local/src/tk8.5.9/unix/../generic/tkIntDecls.h:813: error: expected declaration specifiers or ‘...’ before ‘GC’
/usr/local/src/tk8.5.9/unix/../generic/tkIntDecls.h:814: error: expected declaration specifiers or ‘...’ before ‘GC’
/usr/local/src/tk8.5.9/unix/../generic/tkIntDecls.h:815: error: expected declaration specifiers or ‘...’ before ‘Drawable’
/usr/local/src/tk8.5.9/unix/../generic/tkIntDecls.h:825: error: expected declaration specifiers or ‘...’ before ‘KeySym’
/usr/local/src/tk8.5.9/unix/../generic/tkIntDecls.h:826: error: expected declaration specifiers or ‘...’ before ‘XEvent’
/usr/local/src/tk8.5.9/unix/../generic/tkIntDecls.h:831: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘TkpGetKeySym’
/usr/local/src/tk8.5.9/unix/../generic/tkIntDecls.h:906: error: expected declaration specifiers or ‘...’ before ‘XPoint’
/usr/local/src/tk8.5.9/unix/../generic/tkIntDecls.h:1050: error: expected declaration specifiers or ‘...’ before ‘XPoint’
/usr/local/src/tk8.5.9/unix/../generic/tkIntDecls.h:1052: error: expected declaration specifiers or ‘...’ before ‘XEvent’
/usr/local/src/tk8.5.9/unix/../generic/tkIntDecls.h:1055: error: expected ‘)’ before ‘*’ token
/usr/local/src/tk8.5.9/unix/../generic/tkIntDecls.h:1056: error: expected ‘;’ before ‘int’
In file included from /usr/local/src/tk8.5.9/unix/../generic/tk3d.c:16:
/usr/local/src/tk8.5.9/unix/../generic/tkInt.h:1146: error: expected declaration specifiers or ‘...’ before ‘XImage’
/usr/local/src/tk8.5.9/unix/../generic/tkInt.h:1149: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/local/src/tk8.5.9/unix/../generic/tkInt.h:1168: error: expected ‘)’ before ‘*’ token
/usr/local/src/tk8.5.9/unix/../generic/tkInt.h:1176: error: expected ‘)’ before ‘*’ token
In file included from /usr/local/src/tk8.5.9/unix/../generic/tk3d.c:17:
/usr/local/src/tk8.5.9/unix/../generic/tk3d.h:31: error: expected specifier-qualifier-list before ‘Screen’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:36: error: expected ‘)’ before ‘*’ token
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:39: error: expected ‘)’ before ‘*’ token
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c: In function ‘Tk_Alloc3DBorderFromObj’:
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:102: error: ‘TkBorder’ has no member named ‘resourceRefCount’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:110: warning: implicit declaration of function ‘ScreenOfDisplay’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:110: error: ‘Tk_FakeWin’ has no member named ‘display’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:110: error: ‘Tk_FakeWin’ has no member named ‘screenNum’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:110: error: ‘TkBorder’ has no member named ‘screen’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:111: error: ‘Tk_FakeWin’ has no member named ‘atts’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:111: error: ‘TkBorder’ has no member named ‘colormap’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:112: error: ‘TkBorder’ has no member named ‘resourceRefCount’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:134: error: ‘TkBorder’ has no member named ‘hashPtr’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:137: error: ‘TkBorder’ has no member named ‘nextPtr’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:138: error: ‘Tk_FakeWin’ has no member named ‘display’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:138: error: ‘Tk_FakeWin’ has no member named ‘screenNum’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:138: error: ‘TkBorder’ has no member named ‘screen’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:139: error: ‘Tk_FakeWin’ has no member named ‘atts’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:139: error: ‘TkBorder’ has no member named ‘colormap’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:140: error: ‘TkBorder’ has no member named ‘resourceRefCount’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:141: error: ‘TkBorder’ has no member named ‘objRefCount’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:156: error: ‘TkBorder’ has no member named ‘objRefCount’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c: In function ‘Tk_Get3DBorder’:
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:194: error: ‘XGCValues’ undeclared (first use in this function)
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:194: error: (Each undeclared identifier is reported only once
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:194: error: for each function it appears in.)
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:194: error: expected ‘;’ before ‘gcValues’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:195: error: ‘XColor’ undeclared (first use in this function)
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:195: error: ‘bgColorPtr’ undeclared (first use in this function)
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:198: error: ‘TkWindow’ has no member named ‘dispPtr’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:200: error: ‘TkDisplay’ has no member named ‘borderInit’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:204: error: ‘TkDisplay’ has no member named ‘borderTable’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:204: error: ‘TkDisplay’ has no member named ‘borderTable’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:208: error: ‘TkBorder’ has no member named ‘nextPtr’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:209: error: ‘Tk_FakeWin’ has no member named ‘display’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:209: error: ‘Tk_FakeWin’ has no member named ‘screenNum’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:209: error: ‘TkBorder’ has no member named ‘screen’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:210: error: ‘Tk_FakeWin’ has no member named ‘atts’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:210: error: ‘TkBorder’ has no member named ‘colormap’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:211: error: ‘TkBorder’ has no member named ‘resourceRefCount’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:223: warning: implicit declaration of function ‘Tk_GetColor’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:232: error: ‘TkBorder’ has no member named ‘screen’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:232: error: ‘Tk_FakeWin’ has no member named ‘display’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:232: error: ‘Tk_FakeWin’ has no member named ‘screenNum’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:233: error: ‘TkBorder’ has no member named ‘visual’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:233: error: ‘Tk_FakeWin’ has no member named ‘visual’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:234: error: ‘TkBorder’ has no member named ‘depth’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:234: error: ‘Tk_FakeWin’ has no member named ‘depth’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:235: error: ‘TkBorder’ has no member named ‘colormap’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:235: error: ‘Tk_FakeWin’ has no member named ‘atts’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:236: error: ‘TkBorder’ has no member named ‘resourceRefCount’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:237: error: ‘TkBorder’ has no member named ‘objRefCount’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:238: error: ‘TkBorder’ has no member named ‘bgColorPtr’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:239: error: ‘TkBorder’ has no member named ‘darkColorPtr’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:240: error: ‘TkBorder’ has no member named ‘lightColorPtr’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:241: error: ‘TkBorder’ has no member named ‘shadow’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:241: error: ‘None’ undeclared (first use in this function)
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:242: error: ‘TkBorder’ has no member named ‘bgGC’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:243: error: ‘TkBorder’ has no member named ‘darkGC’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:244: error: ‘TkBorder’ has no member named ‘lightGC’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:245: error: ‘TkBorder’ has no member named ‘hashPtr’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:246: error: ‘TkBorder’ has no member named ‘nextPtr’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:254: error: ‘gcValues’ undeclared (first use in this function)
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:254: error: ‘TkBorder’ has no member named ‘bgColorPtr’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:255: error: ‘TkBorder’ has no member named ‘bgGC’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:255: warning: implicit declaration of function ‘Tk_GetGC’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:255: error: ‘GCForeground’ undeclared (first use in this function)
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c: At top level:
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:281: error: expected declaration specifiers or ‘...’ before ‘Drawable’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c: In function ‘Tk_Draw3DRectangle’:
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:296: error: ‘drawable’ undeclared (first use in this function)
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:297: warning: passing argument 3 of ‘Tk_3DVerticalBevel’ makes integer from pointer without a cast
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:61: note: expected ‘int’ but argument is of type ‘Tk_3DBorder’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:297: error: too many arguments to function ‘Tk_3DVerticalBevel’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:299: warning: passing argument 3 of ‘Tk_3DVerticalBevel’ makes integer from pointer without a cast
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:61: note: expected ‘int’ but argument is of type ‘Tk_3DBorder’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:299: error: too many arguments to function ‘Tk_3DVerticalBevel’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:301: warning: passing argument 3 of ‘Tk_3DHorizontalBevel’ makes integer from pointer without a cast
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:53: note: expected ‘int’ but argument is of type ‘Tk_3DBorder’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:301: error: too many arguments to function ‘Tk_3DHorizontalBevel’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:303: warning: passing argument 3 of ‘Tk_3DHorizontalBevel’ makes integer from pointer without a cast
/usr/local/src/tk8.5.9/unix/../generic/tkDecls.h:53: note: expected ‘int’ but argument is of type ‘Tk_3DBorder’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:303: error: too many arguments to function ‘Tk_3DHorizontalBevel’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c: In function ‘Tk_NameOf3DBorder’:
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:329: error: ‘TkBorder’ has no member named ‘hashPtr’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c: At top level:
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:347: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:371: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Tk_3DBorderGC’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c: In function ‘Tk_Free3DBorder’:
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:423: error: ‘Display’ undeclared (first use in this function)
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:423: error: ‘display’ undeclared (first use in this function)
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:423: warning: implicit declaration of function ‘DisplayOfScreen’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:423: error: ‘TkBorder’ has no member named ‘screen’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:426: error: ‘TkBorder’ has no member named ‘resourceRefCount’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:427: error: ‘TkBorder’ has no member named ‘resourceRefCount’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:431: error: ‘TkBorder’ has no member named ‘hashPtr’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:433: error: ‘TkBorder’ has no member named ‘bgColorPtr’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:434: warning: implicit declaration of function ‘Tk_FreeColor’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:434: error: ‘TkBorder’ has no member named ‘bgColorPtr’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:436: error: ‘TkBorder’ has no member named ‘darkColorPtr’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:437: error: ‘TkBorder’ has no member named ‘darkColorPtr’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:439: error: ‘TkBorder’ has no member named ‘lightColorPtr’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:440: error: ‘TkBorder’ has no member named ‘lightColorPtr’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:442: error: ‘TkBorder’ has no member named ‘shadow’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:442: error: ‘None’ undeclared (first use in this function)
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:443: warning: implicit declaration of function ‘Tk_FreeBitmap’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:443: error: ‘TkBorder’ has no member named ‘shadow’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:445: error: ‘TkBorder’ has no member named ‘bgGC’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:446: warning: implicit declaration of function ‘Tk_FreeGC’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:446: error: ‘TkBorder’ has no member named ‘bgGC’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:448: error: ‘TkBorder’ has no member named ‘darkGC’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:449: error: ‘TkBorder’ has no member named ‘darkGC’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:451: error: ‘TkBorder’ has no member named ‘lightGC’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:452: error: ‘TkBorder’ has no member named ‘lightGC’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:455: error: ‘TkBorder’ has no member named ‘nextPtr’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:456: error: ‘TkBorder’ has no member named ‘hashPtr’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:458: error: ‘TkBorder’ has no member named ‘hashPtr’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:458: error: ‘TkBorder’ has no member named ‘nextPtr’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:461: error: ‘TkBorder’ has no member named ‘nextPtr’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:462: error: ‘TkBorder’ has no member named ‘nextPtr’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:464: error: ‘TkBorder’ has no member named ‘nextPtr’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:464: error: ‘TkBorder’ has no member named ‘nextPtr’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:466: error: ‘TkBorder’ has no member named ‘objRefCount’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c: In function ‘FreeBorderObjProc’:
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:528: error: ‘TkBorder’ has no member named ‘objRefCount’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:529: error: ‘TkBorder’ has no member named ‘objRefCount’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:530: error: ‘TkBorder’ has no member named ‘resourceRefCount’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c: In function ‘DupBorderObjProc’:
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:566: error: ‘TkBorder’ has no member named ‘objRefCount’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c: In function ‘Tk_SetBackgroundFromBorder’:
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:594: error: ‘TkBorder’ has no member named ‘bgColorPtr’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c: At top level:
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:743: error: expected declaration specifiers or ‘...’ before ‘Drawable’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:745: error: expected declaration specifiers or ‘...’ before ‘XPoint’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c: In function ‘Tk_Draw3DPolygon’:
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:756: error: ‘XPoint’ undeclared (first use in this function)
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:756: error: expected ‘;’ before ‘poly’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:757: error: expected ‘;’ before ‘perp’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:758: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:758: error: ‘p1Ptr’ undeclared (first use in this function)
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:758: error: ‘p2Ptr’ undeclared (first use in this function)
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:758: warning: left-hand operand of comma expression has no effect
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:760: error: ‘GC’ undeclared (first use in this function)
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:760: error: expected ‘;’ before ‘gc’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:762: error: ‘Display’ undeclared (first use in this function)
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:762: error: ‘display’ undeclared (first use in this function)
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:762: error: ‘Tk_FakeWin’ has no member named ‘display’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:764: error: ‘TkBorder’ has no member named ‘lightGC’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:764: error: ‘None’ undeclared (first use in this function)
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:776: error: ‘drawable’ undeclared (first use in this function)
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:776: error: ‘pointPtr’ undeclared (first use in this function)
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:778: warning: passing argument 3 of ‘Tk_Draw3DPolygon’ makes integer from pointer without a cast
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:741: note: expected ‘int’ but argument is of type ‘Tk_3DBorder’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:778: error: too many arguments to function ‘Tk_Draw3DPolygon’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:781: warning: passing argument 3 of ‘Tk_Draw3DPolygon’ makes integer from pointer without a cast
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:741: note: expected ‘int’ but argument is of type ‘Tk_3DBorder’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:781: error: too many arguments to function ‘Tk_Draw3DPolygon’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:835: warning: left-hand operand of comma expression has no effect
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:836: warning: left-hand operand of comma expression has no effect
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:848: warning: implicit declaration of function ‘ShiftLine’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:848: error: ‘newB1’ undeclared (first use in this function)
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:849: error: ‘newB2’ undeclared (first use in this function)
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:851: error: ‘poly’ undeclared (first use in this function)
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:854: warning: implicit declaration of function ‘Intersect’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:854: error: ‘b1’ undeclared (first use in this function)
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:854: error: ‘b2’ undeclared (first use in this function)
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:885: error: ‘perp’ undeclared (first use in this function)
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:888: error: ‘c’ undeclared (first use in this function)
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:889: error: ‘shift1’ undeclared (first use in this function)
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:890: error: ‘shift2’ undeclared (first use in this function)
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:904: error: ‘gc’ undeclared (first use in this function)
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:904: error: ‘TkBorder’ has no member named ‘lightGC’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:906: error: ‘TkBorder’ has no member named ‘darkGC’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:908: warning: implicit declaration of function ‘XFillPolygon’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:908: error: ‘Convex’ undeclared (first use in this function)
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:909: error: ‘CoordModeOrigin’ undeclared (first use in this function)
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c: At top level:
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:947: error: expected declaration specifiers or ‘...’ before ‘Drawable’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c: In function ‘Tk_Fill3DRectangle’:
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:983: warning: implicit declaration of function ‘XFillRectangle’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:983: error: ‘Tk_FakeWin’ has no member named ‘display’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:983: error: ‘drawable’ undeclared (first use in this function)
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:983: error: ‘TkBorder’ has no member named ‘bgGC’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:990: warning: passing argument 3 of ‘Tk_Draw3DRectangle’ makes integer from pointer without a cast
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:279: note: expected ‘int’ but argument is of type ‘Tk_3DBorder’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:990: error: too many arguments to function ‘Tk_Draw3DRectangle’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c: At top level:
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:1013: error: expected declaration specifiers or ‘...’ before ‘Drawable’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:1015: error: expected declaration specifiers or ‘...’ before ‘XPoint’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c: In function ‘Tk_Fill3DPolygon’:
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:1029: error: ‘Tk_FakeWin’ has no member named ‘display’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:1029: error: ‘drawable’ undeclared (first use in this function)
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:1029: error: ‘TkBorder’ has no member named ‘bgGC’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:1030: error: ‘pointPtr’ undeclared (first use in this function)
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:1030: error: ‘Complex’ undeclared (first use in this function)
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:1030: error: ‘CoordModeOrigin’ undeclared (first use in this function)
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:1033: warning: passing argument 3 of ‘Tk_Draw3DPolygon’ makes integer from pointer without a cast
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:741: note: expected ‘int’ but argument is of type ‘Tk_3DBorder’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:1033: error: too many arguments to function ‘Tk_Draw3DPolygon’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c: In function ‘BorderInit’:
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:1057: error: ‘TkDisplay’ has no member named ‘borderInit’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:1058: error: ‘TkDisplay’ has no member named ‘borderTable’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c: At top level:
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:1080: error: expected ‘)’ before ‘*’ token
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:1167: error: expected ‘)’ before ‘*’ token
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c: In function ‘Tk_Get3DBorderFromObj’:
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:1242: error: ‘TkWindow’ has no member named ‘dispPtr’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:1256: error: ‘TkBorder’ has no member named ‘resourceRefCount’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:1257: error: ‘Tk_FakeWin’ has no member named ‘display’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:1257: error: ‘Tk_FakeWin’ has no member named ‘screenNum’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:1257: error: ‘TkBorder’ has no member named ‘screen’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:1258: error: ‘Tk_FakeWin’ has no member named ‘atts’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:1258: error: ‘TkBorder’ has no member named ‘colormap’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:1278: error: ‘TkDisplay’ has no member named ‘borderTable’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:1278: error: ‘TkDisplay’ has no member named ‘borderTable’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:1283: error: ‘TkBorder’ has no member named ‘nextPtr’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:1284: error: ‘Tk_FakeWin’ has no member named ‘display’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:1284: error: ‘Tk_FakeWin’ has no member named ‘screenNum’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:1284: error: ‘TkBorder’ has no member named ‘screen’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:1285: error: ‘Tk_FakeWin’ has no member named ‘atts’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:1285: error: ‘TkBorder’ has no member named ‘colormap’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:1288: error: ‘TkBorder’ has no member named ‘objRefCount’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c: In function ‘TkDebugBorder’:
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:1368: error: ‘TkWindow’ has no member named ‘dispPtr’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:1371: error: ‘TkDisplay’ has no member named ‘borderTable’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:1371: error: ‘TkDisplay’ has no member named ‘borderTable’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:1377: error: ‘TkBorder’ has no member named ‘nextPtr’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:1380: error: ‘TkBorder’ has no member named ‘resourceRefCount’
/usr/local/src/tk8.5.9/unix/../generic/tk3d.c:1382: error: ‘TkBorder’ has no member named ‘objRefCount’
make: *** [tk3d.o] Error 1

谁能帮忙看看,谢谢。
rediscover
帖子: 3173
注册时间: 2010-01-13 23:26
送出感谢: 0
接收感谢: 12 次

Re: ubuntu 10.04 lts上安装tk8.5.9-src.tar.gz源码包出错make: *** [tk3

#2

帖子 rediscover » 2010-12-14 12:00

没装libx11-dev
另外,除了make install的时候需要root,其他命令都别在root下执行。
Here I am.
Ubuntu 桌面培训 - 全中文官方文档,含汉化截图,提供PDF
chengmoYS
帖子: 125
注册时间: 2007-10-22 22:40
送出感谢: 0
接收感谢: 0
联系:

Re: ubuntu 10.04 lts上安装tk8.5.9-src.tar.gz源码包出错make: *** [tk3

#3

帖子 chengmoYS » 2010-12-14 13:32

谢谢 楼上的提醒
但是 为啥“除了make install的时候需要root,其他命令都别在root下执行“
谢谢赐教
chengmoYS
帖子: 125
注册时间: 2007-10-22 22:40
送出感谢: 0
接收感谢: 0
联系:

Re: ubuntu 10.04 lts上安装tk8.5.9-src.tar.gz源码包出错make: *** [tk3

#4

帖子 chengmoYS » 2010-12-14 13:39

rediscover 写了:没装libx11-dev
另外,除了make install的时候需要root,其他命令都别在root下执行。
果然是没有安装libx11-dev 能介绍下这个是干什么用的吗
类似的哪些是基础的 安装其它需要的
linux特别是ubuntu不熟我
谢谢
rediscover
帖子: 3173
注册时间: 2010-01-13 23:26
送出感谢: 0
接收感谢: 12 次

Re: ubuntu 10.04 lts上安装tk8.5.9-src.tar.gz源码包出错make: *** [tk3

#5

帖子 rediscover » 2010-12-15 19:29

libx11-dev 是x11开发库,你的程序要link它。

用系统要只给够用的最小权限。配置和编译都是非系统级操作,只有make install安装的时候才会真正去动系统的文件。前面的非系统级操作干嘛用root,没事用root==找死。
Here I am.
Ubuntu 桌面培训 - 全中文官方文档,含汉化截图,提供PDF
回复

回到 “Ubuntu错误报告”