squid-2.6 build broken

From: Adrian Chadd <adrian@dont-contact.us>
Date: Wed, 24 May 2006 12:22:05 +0800

Hiya,

I've just updated to the latest squid-2.6 source and have found the
code isn't building. Any ideas?

adrian@mierda:~/work/squid/squid-2.6$ gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,java,f95,objc,ada,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.0 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-java-awt=gtk-default --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre --enable-mpfr --disable-werror --with-tune=pentium4 --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.0.3 (Ubuntu 4.0.3-1ubuntu5)

This is on Ubuntu Dapper-beta.

adrian@mierda:~/work/squid/squid-2.6$ !124
./configure --prefix="/home/adrian/work/squid/run" --enable-storeio="ufs aufs coss null" --disable-poll --enable-epoll --with-large-files --enable-large-cache-files --quiet --with-maxfd=4096
Store modules built: ufs aufs coss null
aufs store used, pthreads support automatically enabled
coss store used, aio support automatically enabled
Removal policies built: lru
Forcing poll() to be disabled
Forcing epoll() to be enabled
Large cache file support enabled
Using POSIX_V6_ILP32_OFFBIG build environment
Hostname sanity checks enabled
Auth scheme modules built: basic
unlinkd enabled
Maximum filedescriptors set to 4096
Will use our own inet_ntoa().
adrian@mierda:~/work/squid/squid-2.6$ make
Making all in lib
make[1]: Entering directory `/home/adrian/work/squid/squid-2.6/lib'
if gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -m32 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -Wall -D_REENTRANT -MT Array.o -MD -MP -MF ".deps/Array.Tpo" -c -o Array.o Array.c; \
        then mv -f ".deps/Array.Tpo" ".deps/Array.Po"; else rm -f ".deps/Array.Tpo"; exit 1; fi
In file included from /usr/include/string.h:33,
                 from Array.c:50:
/usr/lib/gcc/i486-linux-gnu/4.0.3/include/stddef.h:214: error: duplicate ‘unsigned’
/usr/lib/gcc/i486-linux-gnu/4.0.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:172: error: two or more data types in declaration specifiers
In file included from /usr/include/sys/time.h:30,
                 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[1]: Leaving directory `/home/adrian/work/squid/squid-2.6/lib'
make: *** [all-recursive] Error 1
adrian@mierda:~/work/squid/squid-2.6$
Received on Tue May 23 2006 - 22:24:10 MDT

This archive was generated by hypermail pre-2.1.9 : Thu Jun 01 2006 - 12:00:04 MDT