+ -
当前位置:首页 → 问答吧 → socks5服务器

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

作者: think365   发布时间: 2008-12-26

我也没有搞成功过,不知道是为啥 。。。好象是说GCC版本过高。。
本来想装一个来**玩玩游戏,看来是没有希望了。。期待强力补丁

作者: pinkme005   发布时间: 2008-12-26

热门下载

更多