emadshanab / ratproxy

Automatically exported from code.google.com/p/ratproxy
0 stars 0 forks source link

GCC version #13

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Could you please tell me what version of GCC is required for Ratproxy
installation?

Since I'm receiving the following error and I'm not sure what is the issue
with it.  

cc ratproxy.c -o ratproxy  -Wall -O3 -Wno-pointer-sign -D_GNU_SOURCE http.c
mime.c ssl.c -lcrypto -lssl
cc1: error: unrecognized command line option "-Wno-pointer-sign"
cc1: error: unrecognized command line option "-Wno-pointer-sign"
cc1: error: unrecognized command line option "-Wno-pointer-sign"
cc1: error: unrecognized command line option "-Wno-pointer-sign"
make: *** [ratproxy] Error 1

Thank you for your help.
Burhan 

Original issue reported on code.google.com by syedb...@gmail.com on 15 Jul 2008 at 6:52

GoogleCodeExporter commented 8 years ago
You're probably using Cygwin and GCC 3.x. Either take out the -Wno-pointer-sign 
or
upgrade to GCC 4.x.

Original comment by dgu...@gmail.com on 15 Jul 2008 at 7:54

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Now I receive this WARNING after removing -Wno-pointer-sign

cc ratproxy.c -o ratproxy  -Wall -O3 -D_GNU_SOURCE http.c mime.c ssl.c -lcrypto 
-lssl

*** WARNING: flare-dist/flare bianry is not operational.
*** Please see flare-dist/README and update it for your OS.

Thank you for your response.

Original comment by syedb...@gmail.com on 16 Jul 2008 at 1:34

GoogleCodeExporter commented 8 years ago
The warning is expected, please refer to said README for more information :-) 
Yup,
GCC 4.x or removal of -Wno-pointer-sign is required, as noted on the 
RatproxyDoc page.

Cheers,
/mz

Original comment by lcam...@gmail.com on 16 Jul 2008 at 3:22