I already tried different configure options and found out that the X libs
are in /usr/openwin, but i still can't get it compiled.
Tkined stops with the following error :
...
./compat/tkCanvas.h:321: conflicting types for `Tk_ItemInsertProc'
/usr/local/include/tk.h:546: previous declaration of `Tk_ItemInsertProc'
./compat/tkCanvas.h:323: conflicting types for `Tk_ItemDCharsProc'
/usr/local/include/tk.h:548: previous declaration of `Tk_ItemDCharsProc'
./compat/tkCanvas.h:326: redefinition of `struct Tk_ItemType'
./compat/tkCanvas.h:373: warning: redefinition of `Tk_ItemType'
/usr/local/include/tk.h:598: warning: `Tk_ItemType' previously declared here
make: *** [tkined.o] Error 1
#
Scotty compiles for a while and then stops with the following error :
gcc -traditional -c -O -I. -I/usr/local/include -DHAVE_STDLIB_H=1
-DHAVE_UNISTD_H=1 -DHAVE_MALLOC_H=1 -DHAVE_SYS_SELECT_H=1
-DHAVE_SOCKETPAIR=1 -DHAVE_SELECT=1 -DNEED_USLEEP=1 -DNO_RPCENT=1
-DWORDS_BIGENDIAN=1 -DHAVE_GETMNTENT=1 -I/usr/local/include
-I/usr/openwin/include tkAppInit.c
gcc -traditional -o scwish tkAppInit.o libscotty.a \
-L/usr/local/lib -ltk -L/usr/openwin/lib -lX11 -lsocket -lnsl
-lresolv -L/usr/local/lib -ltcl -lm
Undefined first referenced
symbol in file
main
/opt/gnu/lib/gcc-lib/sparc-sun-solaris2.4/2.7.0/crt1.o
ld: fatal: Symbol referencing errors. No output written to scwish
make: *** [scwish] Error 1
Anyone has some hints on how to solve these problems or on how to
compile scotty, tkined under Solaris ??
Thanks,
Wim Holemans
holemans@uia.ua.ac.be