FB3.0似乎默认不使用DLM的.
【 在 starlight95@smth.org-SPAM.no (中生代擒龙者) 的大作中提到: 】
: 我直接用root帐号进行配置的,然后在编译的时候出了这么多问题,不知道怎么解决,请高手指点!
: == Making main program and relatve src ==
: --> lib
: make[1]: Entering directory `/home/bbs/bbs/bbssrc/lib'
: rm -rf *.a
: --> lib/libBBS
: make[2]: Entering directory `/home/bbs/bbs/bbssrc/lib/libBBS'
: gcc -s -Wunused -I../include -Wunused -c dlm.c
: In file included from dlm.c:6:
: /usr/lib/gcc-lib/i386-redhat-linux/3.3.3/include/varargs.h:4:2: #error "GCC no l
: onger implements <varargs.h>."
: /usr/lib/gcc-lib/i386-redhat-linux/3.3.3/include/varargs.h:5:2: #error "Revise y
: our code to use <stdarg.h>."
: make[2]: *** [dlm.o] Error 1
: make[2]: Leaving directory `/home/bbs/bbs/bbssrc/lib/libBBS'
: <-- lib/libBBS
: make[1]: Leaving directory `/home/bbs/bbs/bbssrc/lib'
: <-- lib
: --> src
: make[1]: Entering directory `/home/bbs/bbs/bbssrc/src'
: echo "Generate version info.."
: Generate version info..
: sh ver.sh ../include/version.h
: gcc -Wunused -I../include -DSHOW_IDLE_TIME -DWITHOUT_CHROOT -DLINUX -DTERMIOS -D
: HAVE_VERSION_H -c screen.c
: In file included from screen.c:30:
: /usr/lib/gcc-lib/i386-redhat-linux/3.3.3/include/varargs.h:4:2: #error "GCC no l
: onger implements <varargs.h>."
: /usr/lib/gcc-lib/i386-redhat-linux/3.3.3/include/varargs.h:5:2: #error "Revise y
: our code to use <stdarg.h>."
: screen.c:542: error: syntax error before "va_dcl"
: screen.c:543: error: syntax error before '{' token
: screen.c:548: warning: parameter names (without types) in function declaration
: screen.c:548: warning: data definition has no type or storage class
: screen.c:549: error: conflicting types for `fmt'
: screen.c:545: error: previous declaration of `fmt'
: screen.c:549: error: `ap' undeclared here (not in a function)
: screen.c:549: error: syntax error before "char"
: screen.c:556: error: syntax error before '++' token
: screen.c:591: warning: parameter names (without types) in function declaration
: screen.c:591: error: conflicting types for `outs'
: screen.c:488: error: previous declaration of `outs'
: screen.c:591: warning: data definition has no type or storage class
: screen.c:592: error: syntax error before '}' token
: screen.c:603: warning: data definition has no type or storage class
: screen.c:604: error: syntax error before "if"
: screen.c:624: error: conflicting declarations of `hd'
: screen.c:547: error: `hd' previously declared here
: screen.c:624: error: conflicting declarations of `indx'
: screen.c:547: error: `indx' previously declared here
: screen.c:624: warning: data definition has no type or storage class
: screen.c:625: error: syntax error before "while"
: screen.c:636: error: redefinition of `hd'
: screen.c:624: error: `hd' previously defined here
: screen.c:636: warning: data definition has no type or storage class
: screen.c:637: error: syntax error before '0'
: screen.c:637: error: conflicting types for `outc'
: screen.c:396: error: previous declaration of `outc'
: screen.c:637: warning: data definition has no type or storage class
: screen.c:647: warning: parameter names (without types) in function declaration
: screen.c:647: warning: data definition has no type or storage class
: screen.c:648: error: syntax error before "break"
: screen.c:658: error: syntax error before '*' token
: screen.c:658: warning: data definition has no type or storage class
: screen.c:659: error: syntax error before '++' token
: screen.c:547: error: register name not specified for `i'
: screen.c:547: error: register name not specified for `count'
: screen.c:547: error: register name not specified for `hd'
: screen.c:547: error: register name not specified for `indx'
: screen.c:391: warning: `nullstr' defined but not used
: make[1]: *** [screen.o] Error 1
: make[1]: Leaving directory `/home/bbs/bbs/bbssrc/src'
: <-- src
: echo "done."
: done.
--
FROM 192.168.83.228