LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1257|回复: 7

socks5-v1.0r11 安装出错

[复制链接]
发表于 2003-6-1 02:13:16 | 显示全部楼层 |阅读模式
不管带不带pathc的make时都出现:

In file included from ftp.c:51:
/usr/lib/gcc-lib/i386-linux/3.3/include/varargs.h:4:2: #error "GCC no longer implements <varargs.h>."
/usr/lib/gcc-lib/i386-linux/3.3/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: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

gcc -I. -I../../include -I./../../include  -D__USE_FIXED_PROTOTYPES__ -D_THREAD_SAFE  -DHAVE_SETUPTERM  -DSOCKS -DINCLUDE_PROTOTYPES -DKLUDGELINEMODE  -c ./tn3270.c
gcc -I. -I../../include -I./../../include  -D__USE_FIXED_PROTOTYPES__ -D_THREAD_SAFE  -DHAVE_SETUPTERM  -DSOCKS -DINCLUDE_PROTOTYPES -DKLUDGELINEMODE  -c ./utilities.c
make[2]: 由于错误目标“all”并未重新创建。
make[2]: Leaving directory `/tmp/socks5-v1.0r11/clients/telnet'
make[1]: *** [all] 错误 2
make[1]: Leaving directory `/tmp/socks5-v1.0r11/clients'
make: *** [clients] 错误 2

请问怎么处理,谢谢!
发表于 2004-7-10 12:48:02 | 显示全部楼层
同问!
发表于 2004-9-24 15:04:33 | 显示全部楼层
gcc 不支持阿!版本可能太高了
发表于 2005-5-15 01:03:46 | 显示全部楼层
我用的是gcc4.0,是同样的错误。
回复 支持 反对

使用道具 举报

发表于 2005-9-14 11:37:57 | 显示全部楼层
我的也出现这样的错误了,怎么办?
回复 支持 反对

使用道具 举报

发表于 2005-9-14 12:42:16 | 显示全部楼层
太老了,用 dante 或者 SS5 吧
socks5-v1.0r11 要在 gcc 2.9.x 下才能编译
回复 支持 反对

使用道具 举报

发表于 2005-9-15 09:39:51 | 显示全部楼层
Post by keelort
太老了,用 dante 或者 SS5 吧
socks5-v1.0r11 要在 gcc 2.9.x 下才能编译

danta和SS5是什么东东,在哪里可以买到呢?
回复 支持 反对

使用道具 举报

发表于 2005-9-15 10:14:25 | 显示全部楼层
不用买,免费的

dante
官方网站: http://www.inet.no/dante/

ss5
官方网站: http://digilander.libero.it/matteo.ricchetti/
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表