[問題]为什么编译socks5-v1.0r11出现错误

這個版面主要討論 debian 在 server 端的應用問題, server 種類繁多..舉凡 Web Server 、 File Server、 DHCP Server..等等。

版主: 阿信

[問題]为什么编译socks5-v1.0r11出现错误

文章dengkejia » 週三 7月 14, 2004 1:34 pm

各位达人帮助解决以下,下面是错误信息。
make[2]: *** [commands.o] Error 1
make[2]: Target `all' not remade because of errors.
make[2]: Leaving directory `/tmp/socks5-v1.0r11/clients/telnet'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/socks5-v1.0r11/clients'
make: *** [clients] Error 2
dengkejia
可愛的小學生
可愛的小學生
 
文章: 6
註冊時間: 週四 5月 20, 2004 4:34 pm

Re: [問題]为什么编译socks5-v1.0r11出现错误

文章阿信 » 週三 7月 14, 2004 2:04 pm

dengkejia 寫:各位达人帮助解决以下,下面是错误信息。
make[2]: *** [commands.o] Error 1
make[2]: Target `all' not remade because of errors.
make[2]: Leaving directory `/tmp/socks5-v1.0r11/clients/telnet'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/socks5-v1.0r11/clients'
make: *** [clients] Error 2


err...這樣的錯誤訊息是看不出來的...:-)

出現錯誤的地方應該是在那個.c檔案出現 compile error,可以把那一段的錯誤 post 出來 ;-)
頭像
阿信
版面大總管
版面大總管
 
文章: 4756
註冊時間: 週二 9月 03, 2002 11:58 pm
來自: 台灣 - 嘉義

re:[問題]为什么编译socks5-v1.0r11出现错误

文章dengkejia » 週三 7月 14, 2004 2:10 pm

老大,为了完整起见,我把整个make的过程post出来了 ;-)
请大总管过目。
make[1]: Entering directory `/tmp/socks5-v1.0r11/server'
make[1]: Leaving directory `/tmp/socks5-v1.0r11/server'
make[1]: Entering directory `/tmp/socks5-v1.0r11/lib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/tmp/socks5-v1.0r11/lib'
make[1]: Entering directory `/tmp/socks5-v1.0r11/lib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/tmp/socks5-v1.0r11/lib'
make[1]: Entering directory `/tmp/socks5-v1.0r11/clients'
make[2]: Entering directory `/tmp/socks5-v1.0r11/clients/pt'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/socks5-v1.0r11/clients/pt'
make[2]: Entering directory `/tmp/socks5-v1.0r11/clients/ftp'
gcc -I../../include -I./../../include -D__USE_FIXED_PROTOTYPES__ -DSOCKS -DINCLUDE_PROTOTYPES -c ./ftp.c
In file included from ftp.c:51:
/usr/lib/gcc-lib/i486-linux/3.3.4/include/varargs.h:4:2: #error "GCC no longer implements <varargs.h>."
/usr/lib/gcc-lib/i486-linux/3.3.4/include/varargs.h:5:2: #error "Revise your code to use <stdarg.h>."
ftp.c:244: error: parse error before "va_dcl"
ftp.c:244: error: syntax error before '{' token
ftp.c:250: error: redefinition of `abrtflag'
ftp.c:79: error: `abrtflag' previously defined here
ftp.c:250: warning: data definition has no type or storage class
ftp.c:251: error: parse error before "if"
ftp.c:254: warning: parameter names (without types) in function declaration
ftp.c:254: warning: data definition has no type or storage class
ftp.c:255: error: conflicting types for `fmt'
ftp.c:246: error: previous declaration of `fmt'
ftp.c:255: error: `ap' undeclared here (not in a function)
ftp.c:255: error: parse error before "char"
ftp.c:260: warning: parameter names (without types) in function declaration
ftp.c:260: warning: data definition has no type or storage class
ftp.c:262: error: parse error before string constant
ftp.c:262: warning: conflicting types for built-in function `printf'
ftp.c:262: warning: data definition has no type or storage class
ftp.c:263: warning: parameter names (without types) in function declaration
ftp.c:263: warning: data definition has no type or storage class
ftp.c:264: error: parse error before '}' token
ftp.c:268: warning: data definition has no type or storage class
ftp.c:269: error: parse error before "return"
ftp.c:272: error: conflicting types for `oldintr'
ftp.c:248: error: previous declaration of `oldintr'
ftp.c:272: warning: data definition has no type or storage class
ftp.c:274: warning: parameter names (without types) in function declaration
ftp.c:274: warning: data definition has no type or storage class
ftp.c:275: error: `ap' undeclared here (not in a function)
ftp.c:275: error: parse error before "char"
ftp.c:276: warning: parameter names (without types) in function declaration
ftp.c:276: warning: data definition has no type or storage class
ftp.c:277: warning: parameter names (without types) in function declaration
ftp.c:277: warning: data definition has no type or storage class
ftp.c:279: warning: parameter names (without types) in function declaration
ftp.c:279: warning: data definition has no type or storage class
ftp.c:281: warning: data definition has no type or storage class
ftp.c:282: warning: passing arg 1 of `strcmp' makes pointer from integer without a cast
ftp.c:282: error: initializer element is not constant
ftp.c:282: warning: data definition has no type or storage class
ftp.c:284: error: parse error before numeric constant
ftp.c:284: error: conflicting types for `Signal'
../../include/sigfix.h:20: error: previous declaration of `Signal'
ftp.c:284: warning: data definition has no type or storage class
ftp.c: In function `getreply':
ftp.c:372: warning: assignment makes pointer from integer without a cast
ftp.c: In function `proxtrans':
ftp.c:577: warning: assignment makes pointer from integer without a cast
ftp.c: In function `sendrequest':
ftp.c:757: warning: assignment makes pointer from integer without a cast
ftp.c:761: warning: assignment makes pointer from integer without a cast
ftp.c:845: warning: assignment makes pointer from integer without a cast
ftp.c: In function `recvrequest':
ftp.c:1015: warning: assignment makes pointer from integer without a cast
ftp.c:1093: warning: assignment makes pointer from integer without a cast
ftp.c: In function `pswitch':
ftp.c:1365: warning: assignment makes pointer from integer without a cast
make[2]: *** [ftp.o] Error 1
make[2]: Target `all' not remade because of errors.
make[2]: Leaving directory `/tmp/socks5-v1.0r11/clients/ftp'
make[2]: Entering directory `/tmp/socks5-v1.0r11/clients/finger'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/socks5-v1.0r11/clients/finger'
make[2]: Entering directory `/tmp/socks5-v1.0r11/clients/archie'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/socks5-v1.0r11/clients/archie'
make[2]: Entering directory `/tmp/socks5-v1.0r11/clients/telnet'
make[3]: Entering directory `/tmp/socks5-v1.0r11/clients/telnet/libtelnet'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/socks5-v1.0r11/clients/telnet/libtelnet'
gcc -I. -I../../include -I./../../include -D__USE_FIXED_PROTOTYPES__ -DHAVE_SETUPTERM -DSOCKS -DINCLUDE_PROTOTYPES -DKLUDGELINEMODE -c ./commands.c
In file included from commands.c:86:
/usr/lib/gcc-lib/i486-linux/3.3.4/include/varargs.h:4:2: #error "GCC no longer implements <varargs.h>."
/usr/lib/gcc-lib/i486-linux/3.3.4/include/varargs.h:5:2: #error "Revise your code to use <stdarg.h>."
commands.c:2096: error: parse error before "va_dcl"
commands.c:2097: error: syntax error before '{' token
commands.c:2104: warning: parameter names (without types) in function declaration
commands.c:2104: warning: data definition has no type or storage class
commands.c:2105: error: conflicting types for `routine'
commands.c:2100: error: previous declaration of `routine'
commands.c:2105: error: `ap' undeclared here (not in a function)
commands.c:2105: error: parse error before "intrtn_t"
commands.c:2109: warning: parameter names (without types) in function declaration
commands.c:2109: warning: data definition has no type or storage class
commands.c:2110: error: parse error before "return"
commands.c:125: warning: `call' used but never defined
make[2]: *** [commands.o] Error 1
make[2]: Target `all' not remade because of errors.
make[2]: Leaving directory `/tmp/socks5-v1.0r11/clients/telnet'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/socks5-v1.0r11/clients'
make: *** [clients] Error 2
dengkejia
可愛的小學生
可愛的小學生
 
文章: 6
註冊時間: 週四 5月 20, 2004 4:34 pm


回到 debian server

誰在線上

正在瀏覽這個版面的使用者:沒有註冊會員 和 1 位訪客

cron