I was able to build Xaw3d, but I had to modify the source code. I commented out the follwoing block from XawI18n.h:
#ifdef HAS_WCTYPE_H #include <wctype.h> #include <widec.h> #define wcslen(c) wslen(c) #define wcscpy(d,s) wscpy(d,s) #define wcsncpy(d,s,l) wsncpy(d,s,l) #endif I got that hint from "hints.linuxfromscratch.org/hints/xaw3d.txt". I also had to execute "ln -s lib X11" in the xc directory. Otherwise it wouldn't find some files: gcc -c -O2 -fno-strength-reduce -ansi -pedantic -Wall -Wpointer-arith -I/usr -I../.. -I../../exports/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -DHAS_WCHAR_H -DHAS_WCTYPE_H -DNO_WIDEC_H -DARROW_SCROLLBAR -DUSEGRAY -fPIC AsciiSink.c AsciiSink.c:56: X11/Xaw3d/XawInit.h: Filen eller katalogen finns inte AsciiSink.c:57: X11/Xaw3d/AsciiSinkP.h: Filen eller katalogen finns inte AsciiSink.c:58: X11/Xaw3d/AsciiSrcP.h: Filen eller katalogen finns inte AsciiSink.c:59: X11/Xaw3d/TextP.h: Filen eller katalogen finns inte Then I had to go to "/usr/X11R6/include/X11" and execute "chmod go+rx Xaw3d", 'cd' to "Xaw3d" and execute "chmod go+r *". Maybe the "make install" command should change the permissions? Maybe I should use a less paranoid umask setting (022 instead of 077)?. I got Xaw3d from "ftp://ftp.x.org/contrib/widgets/Xaw3d/R6.3/Xaw3d-1.5.tar.gz". I have linux-2.4.17, xc-4.2.0 and gcc-2.95.3. _______________________________________________ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
