看板SetupBBS
標 題Re: 關於Maple BBS....
發信站種子網 BBS (Sun Aug 3 21:21:14 2003)
轉信站ptt!ctu-reader!ctu-peer!news.nctu!news.netfront.net!newsgate.cuhk.edu.
【 在 fantasy (東風破) 的大作中提到: 】
: 請教各位大大..
: 我依照http://home.pchome.com.tw/soho/itoc/ 上面所教的
: 到了編譯的時候就出現問題...
: 程式版本也是直接從上面所抓的...
: 編譯所出現的錯誤如下...
: 麻煩各位解答我的疑惑...
: 謝謝...
: gcc -O2 -s -pipe -fomit-frame-pointer -Wunused -I../include -c dl_lib.c
: dl_lib.c:98: error: parse error before "va_dcl"
: dl_lib.c:99: error: syntax error before '{' token
: dl_lib.c:104:16: macro "va_start" requires 2 arguments, but only 1 given
: dl_lib.c:104: warning: data definition has no type or storage class
: dl_lib.c:105: error: conflicting types for `name'
: dl_lib.c:101: error: previous declaration of `name'
: dl_lib.c:105: error: `args' undeclared here (not in a function)
: dl_lib.c:105: warning: data definition has no type or storage class
: dl_lib.c:107: error: parse error before "if"
: dl_lib.c:112: error: `args' undeclared here (not in a function)
: dl_lib.c:112: error: initializer element is not constant
: dl_lib.c:112: warning: data definition has no type or storage class
: dl_lib.c:113: warning: parameter names (without types) in function declaration
: dl_lib.c:113: warning: conflicting types for built-in function `__builtin_va_end'
: dl_lib.c:113: warning: data definition has no type or storage class
: dl_lib.c:115: error: parse error before "return"
: make[1]: *** [dl_lib.o] Error 1
: make[1]: Leaving directory `/home/users/bbs/src/lib'
: make: *** [linux] Error 2
: /home/users/bbs/bin/install.sh: line 93: bin/bbsd: cannot execute binary file
: /home/users/bbs/bin/install.sh: line 94: bin/camera: No such file or directory
: /home/users/bbs/bin/install.sh: line 95: bin/account: No such file or directory
: /home/users/bbs/bin/install.sh: line 96: bin/enews-open: No such file or directory
: Trying 127.0.0.1...
: 真不知道dl_lib.c有什麼錯誤..
: 我看了dl_lib.c之後 不知道有哪裡要改..@@
麻煩好心人士解惑一下QQ..
感激不盡..
--
※ 來源:‧種子網 BBS bbs.seed.net.tw‧[FROM: 140.117.4.28]