Hi Henrik,
At 18.02 29/04/2007, Henrik Nordstrom wrote:
>sön 2007-04-29 klockan 11:03 +0200 skrev Guido Serassio:
>
> > After changing a COSS file, running make correctly rebuilds
> > libcoss.a, but squid executable is not linked against the new
> > library. May be that the same could be happen
> also for the other store types.
>
>Does it work in Squid-3?
It seems to work on MinGW, but something in
squid3 seems to be broken after debugs changes.
This is what happens on my Linux machine:
depbase=`echo forward.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
if /usr/bin/g++-3.4 -DHAVE_CONFIG_H
-DDEFAULT_CONFIG_FILE=\"/usr/local/squid3/etc/squid.conf\"
-I. -I. -I../include -I. -I. -I../include
-I../include
-I../lib/libTrie/include -I/usr/include/libxml2
-Werror -Wall -Wpointer-arith -Wwrite-strings
-Wcomments -D_REENTRANT -m32 -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -g -O2 -MT forward.o -MD
-MP -MF "$depbase.Tpo" -c -o forward.o forward.cc; \
then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi
forward.cc: In member function `void FwdState::connectStart()':
forward.cc:875: error: `hex' undeclared (first use this function)
forward.cc:875: error: (Each undeclared
identifier is reported only once for each function it appears in.)
forward.cc:875: error: `dec' undeclared (first use this function)
make[3]: *** [forward.o] Error 1
make[3]: Leaving directory `/home/serassio/squid-cache.org/squid3/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/serassio/squid-cache.org/squid3/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/serassio/squid-cache.org/squid3/src'
make: *** [all-recursive] Error 1
and
depbase=`echo tools.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
if g++ -DHAVE_CONFIG_H
-DDEFAULT_CONFIG_FILE=\"c:/mgw-3.0/etc/squid.conf\"
-I. -I. -I../include -I. -I. -I../include
-I../include
-I../lib/libTrie/include -I/usr/include/libxml2
-Werror -Wall -Wpointer-arith -Wwrite-strings
-Wcomments -g -O2 -mthreads -MT tools.o -MD -MP
-MF "$depbase.Tpo" -c -o tools.o tools.cc; \
then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi
tools.cc: In function `void sigusr2_handle(int)':
tools.cc:428: warning: the address of `void
sigusr2_handle(int)', will always evaluate as `true'
make[3]: *** [tools.o] Error 1
make[3]: Leaving directory `/c/work/mgw-s3.0/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/c/work/mgw-s3.0/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/c/work/mgw-s3.0/src'
make: *** [all-recursive] Error 1
gcc is 3.4.4
Regards
Guido
-
========================================================
Guido Serassio
Acme Consulting S.r.l. - Microsoft Certified Partner
Via Lucia Savarino, 1 10098 - Rivoli (TO) - ITALY
Tel. : +39.011.9530135 Fax. : +39.011.9781115
Email: guido.serassio@acmeconsulting.it
WWW: http://www.acmeconsulting.it/
Received on Sun Apr 29 2007 - 11:24:53 MDT
This archive was generated by hypermail pre-2.1.9 : Sun Apr 29 2007 - 12:00:03 MDT