[tor-bugs] #5665 [Obfsproxy]: obfsproxy: "warning: -fPIC ignored for target (all code is position independent)" when compilign on Windows
Tor Bug Tracker & Wiki
torproject-admin at torproject.org
Tue Apr 24 21:55:07 UTC 2012
#5665: obfsproxy: "warning: -fPIC ignored for target (all code is position
independent)" when compilign on Windows
-----------------------+----------------------------------------------------
Reporter: asn | Owner: asn
Type: defect | Status: needs_review
Priority: normal | Milestone:
Component: Obfsproxy | Version:
Keywords: | Parent:
Points: | Actualpoints:
-----------------------+----------------------------------------------------
Changes (by asn):
* status: new => needs_review
Comment:
I attached a patch from 'rsavoye' that seems to solve the problem.
Note: When I initially tried the patch, I got this error:
{{{
gcc -Wall -Wwrite-strings -Werror -I/usr/local/include
-I/usr/local/ssl/include -g -O2 -o obfsproxy.exe obfs_main.o
libobfsproxy.a -L/usr/local/lib -levent -L/usr/local/ssl/lib -lssl
-lcrypto -mwindows @ws32_LIBS@
gcc.exe: @ws32_LIBS@: No such file or directory
}}}
I had to revert the changes that the patch does to `configure.ac` (that
is, I had to uncomment AX_LIB_WINSOCK2 again). Then the patch worked.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/5665#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list