Closed GoogleCodeExporter closed 9 years ago
建议自己本地编译一下,从
http://code.google.com/p/icefox/source/checkout
用svn(需要安装)签出源代码,装好gcc,make后,cd到linux目录
,执行make,会在当前目录生成可以运行的程序。编译有错误�
��贴上来讨论
Original comment by bhd....@gmail.com
on 16 Oct 2012 at 1:25
[deleted comment]
comment out this line 'typedef int socklen_t' with '//'
at line number 13 in file "src/httpsocket.cpp" , and try again.
good luck!
Original comment by bhd....@gmail.com
on 16 Oct 2012 at 1:32
thx :)
Original comment by great.ch...@gmail.com
on 16 Oct 2012 at 1:41
g++ -O2 -s -Wall -D_UNICODE -D_UNICODE_ -c -o main.o main.cpp -I. -I./../src
-lpthread
g++ -O2 -s -Wall -D_UNICODE -D_UNICODE_ -c -o ../src/cppthread.o
../src/cppthread.cpp -I. -I./../src -lpthread
g++ -O2 -s -Wall -D_UNICODE -D_UNICODE_ -c -o ../src/dnscache.o
../src/dnscache.cpp -I. -I./../src -lpthread
g++ -O2 -s -Wall -D_UNICODE -D_UNICODE_ -c -o ../src/dnsquery.o
../src/dnsquery.cpp -I. -I./../src -lpthread
../src/dnsquery.cpp: In member function ‘bool
DnsQuery::queryA(std::string)’:
../src/dnsquery.cpp:110: warning: dereferencing type-punned pointer will break
strict-aliasing rules
../src/dnsquery.cpp:112: warning: dereferencing type-punned pointer will break
strict-aliasing rules
../src/dnsquery.cpp:125: warning: dereferencing type-punned pointer will break
strict-aliasing rules
../src/dnsquery.cpp:128: warning: dereferencing type-punned pointer will break
strict-aliasing rules
../src/dnsquery.cpp:131: warning: dereferencing type-punned pointer will break
strict-aliasing rules
../src/dnsquery.cpp: In member function ‘bool
DnsQuery::queryTXT(std::string)’:
../src/dnsquery.cpp:172: warning: dereferencing type-punned pointer will break
strict-aliasing rules
../src/dnsquery.cpp:174: warning: dereferencing type-punned pointer will break
strict-aliasing rules
../src/dnsquery.cpp:186: warning: dereferencing type-punned pointer will break
strict-aliasing rules
../src/dnsquery.cpp:189: warning: dereferencing type-punned pointer will break
strict-aliasing rules
../src/dnsquery.cpp:192: warning: dereferencing type-punned pointer will break
strict-aliasing rules
g++ -O2 -s -Wall -D_UNICODE -D_UNICODE_ -c -o ../src/httpconnection.o
../src/httpconnection.cpp -I. -I./../src -lpthread
g++ -O2 -s -Wall -D_UNICODE -D_UNICODE_ -c -o ../src/httpmessage.o
../src/httpmessage.cpp -I. -I./../src -lpthread
g++ -O2 -s -Wall -D_UNICODE -D_UNICODE_ -c -o ../src/httprequest.o
../src/httprequest.cpp -I. -I./../src -lpthread
g++ -O2 -s -Wall -D_UNICODE -D_UNICODE_ -c -o ../src/httpresponse.o
../src/httpresponse.cpp -I. -I./../src -lpthread
g++ -O2 -s -Wall -D_UNICODE -D_UNICODE_ -c -o ../src/httpserver.o
../src/httpserver.cpp -I. -I./../src -lpthread
g++ -O2 -s -Wall -D_UNICODE -D_UNICODE_ -c -o ../src/httpsocket.o
../src/httpsocket.cpp -I. -I./../src -lpthread
../src/httpsocket.cpp:13: error: conflicting declaration ‘typedef int
socklen_t’
/usr/include/unistd.h:275: error: ‘socklen_t’ has a previous declaration as
‘typedef __socklen_t socklen_t’
make: *** [../src/httpsocket.o] 错误 1
Original comment by tora...@gmail.com
on 16 Oct 2012 at 3:19
YouProxy在未来一段时间将发展新版本,敬请期待!
Original comment by gdx...@gmail.com
on 8 Jun 2013 at 8:14
Original issue reported on code.google.com by
great.ch...@gmail.com
on 16 Oct 2012 at 12:23