[squid-users] Error during make on a icap patched squid2.5

From: Chen Bekor <chen.bekor@dont-contact.us>
Date: Sat, 12 Jan 2008 23:54:13 +0200

hi,

trying to install squid + icap support on a ubuntu server:

I downloaded squid-2.5.STABLE14.tar.gz and unpacked it.

I had to pull from the CVS a missing file: errors/list...

I patched the sources using the icap-2_5.patch - no errors.

run ./bootstrap.sh

checked that ./configure has support for --enable-icap-suport - all is good!

run ./configure --enable-icap-support - run ok!

trying make - got this nasty error:

In file included from /usr/include/string.h:33,
                 from Array.c:50:
/usr/lib/gcc/i486-linux-gnu/4.1.3/include/stddef.h:214: error:
duplicate ‘unsigned’
/usr/lib/gcc/i486-linux-gnu/4.1.3/include/stddef.h:214: error: two or
more data types in declaration specifiers
In file included from ../include/util.h:39,
                 from Array.c:52:
/usr/include/time.h:175: error: two or more data types in declaration specifiers
In file included from /usr/include/sys/time.h:31,
                 from ../include/util.h:44,
                 from Array.c:52:
/usr/include/sys/select.h:85: error: two or more data types in
declaration specifiers
make[1]: *** [Array.o] Error 1
make: *** [all-recursive] Error 1

can someone figure out what's wrong?

thanks,

Chen.
Received on Sat Jan 12 2008 - 14:54:17 MST

This archive was generated by hypermail pre-2.1.9 : Fri Feb 01 2008 - 12:00:04 MST