Hello everybody, I'm trying to build XFree86 4.3.0 based on LFS 4.0[1] which was using GCC 3.2 and glibc 2.2.5.
[1]http://www.linuxfromscratch.org Following are the steps that I build XFree86 4.3.0 1.Obtain X430src-*.tar.gz and extra them. 2.Edit xc/cf/site.def in order to change the directory where XFree86 should be installed. 3.Commented "define BuildDocDir $(BUILDINCROOT)/doc" in xc/config/Motif.tmpl since I got an error when I build xc/doc,it says there is no target to make clean 4.make World 5.make install When I make World, there is no error totally.But when I try to make install, it comes up with following error messages and then stoped. I have search on Google, but I could'nt find any post or web page releated to this erro.Did I miss something or lost some step that was needed? Following are the error messages: ===== Start Here ====== making all in programs/xedit/lisp... make[1]: Entering directory `/usr/src/XFree/xc/programs/xedit/lisp' rm -f realpath.o gcc -m32 -c -O2 -fno-strength-reduce -fno-strict-aliasing -ansi -pedantic -Wall -Wpointer-arith -Wundef -I. -Imp -Ire -I- -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 -DLISP -DLISPDIR='"/opt/Application/XFree86/lib/X11/xedit/lisp"' -DNEED_REALPATH realpath.c In file included from private.h:36, from time.h:35, from /usr/include/sys/types.h:132, from /usr/include/sys/param.h:42, from realpath.c:42: /usr/include/stdlib.h:421: parse error before "int32_t" /usr/include/stdlib.h:422: ISO C forbids data definition with no type or storage class /usr/include/stdlib.h:423: parse error before '*' token /usr/include/stdlib.h:423: ISO C forbids data definition with no type or storage class /usr/include/stdlib.h:427: parse error before '*' token /usr/include/stdlib.h:427: ISO C forbids data definition with no type or storage class /usr/include/stdlib.h:428: parse error before '}' token /usr/include/stdlib.h:431: parse error before "int32_t" In file included from mp/mp.h:33, from internal.h:38, from string.h:35, from private.h:37, from time.h:35, from /usr/include/sys/types.h:132, from /usr/include/sys/param.h:42, from realpath.c:42: math.h:39: parse error before '*' token math.h:39: parse error before '*' token math.h:39: ISO C forbids data definition with no type or storage class math.h:41: parse error before '*' token math.h:41: parse error before '*' token math.h:41: ISO C forbids data definition with no type or storage class math.h:42: parse error before '*' token math.h:42: parse error before '*' token math.h:42: ISO C forbids data definition with no type or storage class math.h:43: parse error before '*' token math.h:43: parse error before '*' token math.h:43: ISO C forbids data definition with no type or storage class math.h:44: parse error before '*' token math.h:44: parse error before '*' token math.h:44: ISO C forbids data definition with no type or storage class math.h:45: parse error before '*' token math.h:45: parse error before '*' token math.h:45: ISO C forbids data definition with no type or storage class math.h:46: parse error before '*' token math.h:46: parse error before '*' token math.h:46: ISO C forbids data definition with no type or storage class math.h:47: parse error before '*' token math.h:47: parse error before '*' token math.h:47: ISO C forbids data definition with no type or storage class math.h:48: parse error before '*' token math.h:48: parse error before '*' token math.h:48: ISO C forbids data definition with no type or storage class math.h:49: parse error before '*' token math.h:49: parse error before '*' token math.h:49: ISO C forbids data definition with no type or storage class math.h:50: parse error before '*' token math.h:50: parse error before '*' token math.h:50: ISO C forbids data definition with no type or storage class math.h:51: parse error before '*' token math.h:51: parse error before '*' token math.h:51: ISO C forbids data definition with no type or storage class math.h:52: parse error before '*' token math.h:52: parse error before '*' token math.h:52: ISO C forbids data definition with no type or storage class math.h:53: parse error before '*' token math.h:53: parse error before '*' token math.h:53: ISO C forbids data definition with no type or storage class math.h:54: parse error before '*' token math.h:54: parse error before '*' token math.h:54: ISO C forbids data definition with no type or storage class math.h:55: parse error before '*' token math.h:55: parse error before '*' token math.h:55: ISO C forbids data definition with no type or storage class math.h:56: parse error before '*' token math.h:56: parse error before '*' token math.h:56: ISO C forbids data definition with no type or storage class math.h:57: parse error before '*' token math.h:57: parse error before '*' token math.h:57: ISO C forbids data definition with no type or storage class math.h:58: parse error before '*' token math.h:58: parse error before '*' token math.h:58: ISO C forbids data definition with no type or storage class math.h:59: parse error before '*' token math.h:59: parse error before '*' token math.h:59: ISO C forbids data definition with no type or storage class math.h:60: parse error before '*' token math.h:60: parse error before '*' token math.h:60: ISO C forbids data definition with no type or storage class math.h:61: parse error before '*' token math.h:61: parse error before '*' token math.h:61: ISO C forbids data definition with no type or storage class math.h:62: parse error before '*' token math.h:62: parse error before '*' token math.h:62: ISO C forbids data definition with no type or storage class math.h:63: parse error before '*' token math.h:63: parse error before '*' token math.h:63: ISO C forbids data definition with no type or storage class math.h:64: parse error before '*' token math.h:64: parse error before '*' token math.h:64: ISO C forbids data definition with no type or storage class math.h:65: parse error before '*' token math.h:65: parse error before '*' token math.h:65: ISO C forbids data definition with no type or storage class math.h:66: parse error before '*' token math.h:66: parse error before '*' token math.h:66: ISO C forbids data definition with no type or storage class math.h:67: parse error before '*' token math.h:67: parse error before '*' token math.h:67: ISO C forbids data definition with no type or storage class math.h:68: parse error before '*' token math.h:68: parse error before '*' token math.h:68: ISO C forbids data definition with no type or storage class math.h:69: parse error before '*' token math.h:69: parse error before '*' token math.h:69: ISO C forbids data definition with no type or storage class math.h:70: parse error before '*' token math.h:70: parse error before '*' token math.h:70: ISO C forbids data definition with no type or storage class math.h:71: parse error before '*' token math.h:71: parse error before '*' token math.h:71: ISO C forbids data definition with no type or storage class math.h:72: parse error before '*' token math.h:72: parse error before '*' token math.h:72: ISO C forbids data definition with no type or storage class math.h:73: parse error before '*' token math.h:73: parse error before '*' token math.h:73: ISO C forbids data definition with no type or storage class math.h:74: parse error before '*' token math.h:74: parse error before '*' token math.h:74: ISO C forbids data definition with no type or storage class math.h:75: parse error before '*' token math.h:75: parse error before '*' token math.h:75: ISO C forbids data definition with no type or storage class math.h:76: parse error before '*' token math.h:76: parse error before '*' token math.h:76: ISO C forbids data definition with no type or storage class math.h:77: parse error before '*' token math.h:77: parse error before '*' token math.h:77: ISO C forbids data definition with no type or storage class math.h:78: parse error before '*' token math.h:78: parse error before '*' token math.h:78: ISO C forbids data definition with no type or storage class math.h:79: parse error before '*' token math.h:79: parse error before '*' token math.h:79: ISO C forbids data definition with no type or storage class math.h:80: parse error before '*' token math.h:80: parse error before '*' token math.h:80: ISO C forbids data definition with no type or storage class math.h:81: parse error before '*' token math.h:81: parse error before '*' token math.h:81: ISO C forbids data definition with no type or storage class math.h:85: parse error before '*' token math.h:85: parse error before '*' token math.h:85: ISO C forbids data definition with no type or storage class math.h:86: parse error before '*' token math.h:86: parse error before '*' token math.h:86: ISO C forbids data definition with no type or storage class math.h:87: parse error before '*' token math.h:87: parse error before '*' token math.h:87: ISO C forbids data definition with no type or storage class math.h:88: parse error before '*' token math.h:88: parse error before '*' token math.h:88: ISO C forbids data definition with no type or storage class math.h:89: parse error before '*' token math.h:89: parse error before '*' token math.h:89: ISO C forbids data definition with no type or storage class math.h:90: parse error before '*' token math.h:90: parse error before '*' token math.h:90: ISO C forbids data definition with no type or storage class math.h:91: parse error before '*' token math.h:91: parse error before '*' token math.h:91: ISO C forbids data definition with no type or storage class math.h:92: parse error before '*' token math.h:92: parse error before '*' token math.h:92: ISO C forbids data definition with no type or storage class math.h:93: parse error before '*' token math.h:93: parse error before '*' token math.h:93: ISO C forbids data definition with no type or storage class math.h:94: parse error before '*' token math.h:94: parse error before '*' token math.h:94: ISO C forbids data definition with no type or storage class math.h:95: parse error before '*' token math.h:95: parse error before '*' token math.h:95: ISO C forbids data definition with no type or storage class math.h:96: parse error before '*' token math.h:96: parse error before '*' token math.h:96: ISO C forbids data definition with no type or storage class math.h:97: parse error before '*' token math.h:97: parse error before '*' token math.h:97: ISO C forbids data definition with no type or storage class realpath.c: In function `realpath': realpath.c:99: warning: implicit declaration of function `strcpy' realpath.c:112: warning: implicit declaration of function `strncpy' realpath.c:115: warning: implicit declaration of function `strrchr' realpath.c:170: warning: implicit declaration of function `strlen' realpath.c:175: warning: implicit declaration of function `strcat' make[1]: *** [realpath.o] Error 1 make[1]: Leaving directory `/usr/src/XFree/xc/programs/xedit/lisp' make: *** [lisp] Error 2 === End Here ===== Best Regards, Brian Hsu. -- ~ Brian Hsu (�j�ӼC�P) 'v' E-Mail : [EMAIL PROTECTED] // \\ WWW HomePage : http://bone.twbbs.org.tw /( )\ CLE Project : http://cle.linux.org.tw/CLE/ ^`~'^ [EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@�� _______________________________________________ XFree86 mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xfree86

