weeping / ratproxy

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

make all error #16

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. do the following 
2.  make all
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

3. then modify Makefile by removing  $(CFLAGS) like this:  $(CC) 
$(PROGNAME).c -o $(PROGNAME) http.c mime.c ssl.c $(LDFLAGS), it went 
through.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
Download current version (1.51 beta) 

 cc -v
Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.6/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --
infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-
checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-
exceptions --enable-java-awt=gtk --host=i386-redhat-linux
Thread model: posix
gcc version 3.4.6 20060404 (Red Hat 3.4.6-8.0.1)
Please provide any additional information below.

Original issue reported on code.google.com by dingw...@gmail.com on 11 Aug 2008 at 9:36

GoogleCodeExporter commented 9 years ago
This is a known issue, and it's documented on the wiki page; please simply 
remove the
option from Makefile, leaving everything else intact.

Original comment by lcam...@gmail.com on 14 Aug 2008 at 9:33