socks5服务器
时间:2008-12-26
来源:互联网
安装socks5-v1.0r11.tar.gz,编译出错。。。。
我用的LFS是6.2的。。。
有人在机子上编译过 socks5**服务器吗?
你们用的是什么软件,编译成功了吗???
[root@~/socks/socks5-v1.0r11]#make | grep error
In file included from ./ftp.c:51:
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/varargs.h:4:2: error: #error "GCC no longer implements <varargs.h>."
GCC版本太新?
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/varargs.h:5:2: error: #error "Revise your code to use <stdarg.h>."
./ftp.c: In function 'command':
./ftp.c:244: error: expected declaration specifiers before 'va_dcl'
./ftp.c:291: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
./ftp.c:362: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
./ftp.c:461: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
./ftp.c:471: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
./ftp.c:482: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
./ftp.c:489: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
./ftp.c:503: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
./ftp.c:541: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
./ftp.c:648: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
./ftp.c:715: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
./ftp.c:963: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
./ftp.c:972: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
./ftp.c:1310: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char'
./ftp.c:959: error: declaration for parameter 'recvabort' but no such parameter
./ftp.c:469: error: declaration for parameter 'sendabort' but no such parameter
./ftp.c:358: error: declaration for parameter 'reply_string' but no such parameter
./ftp.c:1318: warning: return makes integer from pointer without a cast
./ftp.c:1329: error: 'lmode' undeclared (first use in this function)
./ftp.c:1329: error: (Each undeclared identifier is reported only once
./ftp.c:1329: error: for each function it appears in.)
./ftp.c:1329: warning: return makes integer from pointer without a cast
make[2]: *** [ftp.o] Error 1
make[2]: Target `all' not remade because of errors.
In file included from ./commands.c:86:
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/varargs.h:4:2: error: #error "GCC no longer implements <varargs.h>."
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/varargs.h:5:2: error: #error "Revise your code to use <stdarg.h>."
./commands.c: In function 'call':
./commands.c:2096: error: expected declaration specifiers before 'va_dcl'
./commands.c:2116: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char'
./commands.c:2120: error: 'name' undeclared (first use in this function)
./commands.c:2120: error: (Each undeclared identifier is reported only once
./commands.c:2120: error: for each function it appears in.)
./commands.c:2121: warning: return makes integer from pointer without a cast
./commands.c:2122: warning: return makes integer from pointer without a cast
./commands.c: In function 'command':
./commands.c:2172: warning: assignment makes pointer from integer without a cast
./commands.c: In function 'help':
./commands.c:2225: warning: assignment makes pointer from integer without a cast
./commands.c: In function 'cmdrc':
./commands.c:2299: warning: assignment makes pointer from integer without a cast
make[2]: *** [commands.o] Error 1
make[2]: Target `all' not remade because of errors.
make[1]: *** [all] Error 2
make: *** [clients] Error 2
我用的LFS是6.2的。。。
有人在机子上编译过 socks5**服务器吗?
你们用的是什么软件,编译成功了吗???
[root@~/socks/socks5-v1.0r11]#make | grep error
In file included from ./ftp.c:51:
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/varargs.h:4:2: error: #error "GCC no longer implements <varargs.h>."
GCC版本太新?
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/varargs.h:5:2: error: #error "Revise your code to use <stdarg.h>."
./ftp.c: In function 'command':
./ftp.c:244: error: expected declaration specifiers before 'va_dcl'
./ftp.c:291: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
./ftp.c:362: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
./ftp.c:461: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
./ftp.c:471: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
./ftp.c:482: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
./ftp.c:489: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
./ftp.c:503: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
./ftp.c:541: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
./ftp.c:648: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
./ftp.c:715: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
./ftp.c:963: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
./ftp.c:972: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
./ftp.c:1310: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char'
./ftp.c:959: error: declaration for parameter 'recvabort' but no such parameter
./ftp.c:469: error: declaration for parameter 'sendabort' but no such parameter
./ftp.c:358: error: declaration for parameter 'reply_string' but no such parameter
./ftp.c:1318: warning: return makes integer from pointer without a cast
./ftp.c:1329: error: 'lmode' undeclared (first use in this function)
./ftp.c:1329: error: (Each undeclared identifier is reported only once
./ftp.c:1329: error: for each function it appears in.)
./ftp.c:1329: warning: return makes integer from pointer without a cast
make[2]: *** [ftp.o] Error 1
make[2]: Target `all' not remade because of errors.
In file included from ./commands.c:86:
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/varargs.h:4:2: error: #error "GCC no longer implements <varargs.h>."
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/varargs.h:5:2: error: #error "Revise your code to use <stdarg.h>."
./commands.c: In function 'call':
./commands.c:2096: error: expected declaration specifiers before 'va_dcl'
./commands.c:2116: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char'
./commands.c:2120: error: 'name' undeclared (first use in this function)
./commands.c:2120: error: (Each undeclared identifier is reported only once
./commands.c:2120: error: for each function it appears in.)
./commands.c:2121: warning: return makes integer from pointer without a cast
./commands.c:2122: warning: return makes integer from pointer without a cast
./commands.c: In function 'command':
./commands.c:2172: warning: assignment makes pointer from integer without a cast
./commands.c: In function 'help':
./commands.c:2225: warning: assignment makes pointer from integer without a cast
./commands.c: In function 'cmdrc':
./commands.c:2299: warning: assignment makes pointer from integer without a cast
make[2]: *** [commands.o] Error 1
make[2]: Target `all' not remade because of errors.
make[1]: *** [all] Error 2
make: *** [clients] Error 2
作者: think365 发布时间: 2008-12-26
我也没有搞成功过,不知道是为啥 。。。好象是说GCC版本过高。。
本来想装一个来**玩玩游戏,看来是没有希望了。。期待强力补丁
本来想装一个来**玩玩游戏,看来是没有希望了。。期待强力补丁
作者: pinkme005 发布时间: 2008-12-26
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28