Re: odd 3.1.0.16 build failures

2010-03-16 Thread Kinkie
2010/3/16 Henrik Nordström : > tis 2010-03-16 klockan 00:53 +0100 skrev Kinkie: >> > A more important why is why things are done so differently for the >> > SunPRO compiler? Kinkie? >> >> IIRC it's because SunPRO can't handle "inline extern", and this leads >> to missing symbols at link-time. > > T

Re: odd 3.1.0.16 build failures

2010-03-15 Thread Henrik Nordström
tis 2010-03-16 klockan 00:53 +0100 skrev Kinkie: > > A more important why is why things are done so differently for the > > SunPRO compiler? Kinkie? > > IIRC it's because SunPRO can't handle "inline extern", and this leads > to missing symbols at link-time. The correct solution to that is to drop

Re: odd 3.1.0.16 build failures

2010-03-15 Thread Kinkie
> A more important why is why things are done so differently for the > SunPRO compiler? Kinkie? IIRC it's because SunPRO can't handle "inline extern", and this leads to missing symbols at link-time. -- /kinkie

Re: odd 3.1.0.16 build failures

2010-03-15 Thread Henrik Nordström
tis 2010-03-16 klockan 00:49 +0100 skrev Henrik Nordström: > /* #define _SQUID_EXTERNNEW_ */ /* Why? kinkie */ > > That why is explained in include/SquidNew.h and the fact that this > define is now commented out may well explain thing a bit.. Plus the fact > that ufsdump do not use SquidNew.cc wh

Re: odd 3.1.0.16 build failures

2010-03-15 Thread Henrik Nordström
tis 2010-03-16 klockan 11:33 +1300 skrev Amos Jeffries: > That patch is still waiting on you to commit. I've +1 FWIW. Oh, right you did on IRC. Done. But while doing that I reopened a couple of files I stubled over when investigating this.. our SquidNew stuff.. Most importantly this in src/Squ

Re: odd 3.1.0.16 build failures

2010-03-15 Thread Amos Jeffries
On Mon, 15 Mar 2010 21:54:17 +0100, Henrik Nordström wrote: > mån 2010-03-15 klockan 20:28 +0100 skrev Luigi Gangitano: >> I've got the same on Debian unstable with 3.1.0.17 and 3.1.0.18. >> >> g++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"/etc/squid3/squid.conf\" >> -DDEFAULT_SQUID_DATA_DIR=\"/usr

Re: odd 3.1.0.16 build failures

2010-03-15 Thread Henrik Nordström
mån 2010-03-15 klockan 20:28 +0100 skrev Luigi Gangitano: > I've got the same on Debian unstable with 3.1.0.17 and 3.1.0.18. > > g++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"/etc/squid3/squid.conf\" > -DDEFAULT_SQUID_DATA_DIR=\"/usr/share/squid3\" > -DDEFAULT_SQUID_CONFIG_DIR=\"/etc/squid3\" -I.

Re: odd 3.1.0.16 build failures

2010-03-15 Thread Luigi Gangitano
I've got the same on Debian unstable with 3.1.0.17 and 3.1.0.18. Here is the build log: g++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"/etc/squid3/squid.conf\" -DDEFAULT_SQUID_DATA_DIR=\"/usr/share/squid3\" -DDEFAULT_SQUID_CONFIG_DIR=\"/etc/squid3\" -I.. -I../include -I../src -I../include -I/usr

odd 3.1.0.16 build failures

2010-02-13 Thread Henrik Nordström
Fedora now gets the following odd errors trying to build 3.1.0.16 g++ -I/usr/include/libxml2 -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -D_REENTRANT -m32 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-b