Squid compilation problems

From: Mynarski, Boleslaw [CPCUS] <[email protected]>
Date: Thu, 11 May 2000 12:51:05 -0400

I am trying to compile SQUID on HP-UX 11.00 system. Initially, I did not
have gcc compiler (only cc) and every single time I tried to run make (or
make all) it dies. This is what I get:

Making all in lib...
make[1]: Entering directory `/opt/squid-2.3.STABLE2/lib'
cc -Ae -g -I../include -I../include -c -o rfc1123.o rfc1123.c
(Bundled) cc: warning 480: The -A option is available only with the C/ANSI C
product; ignored.
(Bundled) cc: warning 480: The -g option is available only with the C/ANSI C
product; ignored.
(Bundled) cc: "../include/util.h", line 61: error 1000: Unexpected symbol:
"*".
(Bundled) cc: "../include/util.h", line 65: error 1000: Unexpected symbol:
"size_t".
(Bundled) cc: "../include/util.h", line 71: error 1000: Unexpected symbol:
"size_t".
(Bundled) cc: "../include/util.h", line 72: error 1000: Unexpected symbol:
"xcountws".
(Bundled) cc: error 2017: Cannot recover from earlier errors, terminating.
make[1]: *** [rfc1123.o] Error 1
make[1]: Leaving directory `/opt/squid-2.3.STABLE2/lib'
make: *** [all] Error 1

O.K. What gives? I installed gcc compiler that supports C/ANSI but when I
run make, it still tries to compile it with cc. I know it might sound
trivial to someone who does it all the time, but I am at a loss here...

Thanks.
Received on Thu May 11 2000 - 10:55:46 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:53:28 MST