看板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]