[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #5665 [Obfsproxy]: obfsproxy: "warning: -fPIC ignored for target (all code is position independent)" when compilign on Windows



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs