[Slackbuilds-users] Can't compile Squid

Niki Kovacs info at microlinux.fr
Fri Nov 2 06:13:47 UTC 2012


Hi,

I'm currently upgrading our school's server (running Squid and 
SquidGuard) from Slackware 13.37 to 14.0.

Unfortunately Squid fails to build. The compilation exits with the 
following error messages (which I paste as a whole, since I don't quite 
understand what's happening):

--8<-------------------------------------------------------
g++: warning: switch '-fhuge-objects' is no longer supported
libtool: compile:  g++ -DHAVE_CONFIG_H -I../.. -I../../include 
-I../../src -I../../include -Wall -Wpointer-arith -Wwrite-strings 
-Wcomments -fhuge-objects -D_REENTRANT -O2 -march=i486 -mtune=i686 -MT 
StringData.lo -MD -MP -MF .deps/StringData.Tpo -c StringData.cc -o 
StringData.o >/dev/null 2>&1
mv -f .deps/StringData.Tpo .deps/StringData.Plo
/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H 
-I../.. -I../../include -I../../src -I../../include     -Wall 
-Wpointer-arith -Wwrite-strings -Wcomments -fhuge-objects -D_REENTRANT 
-O2 -march=i486 -mtune=i686 -MT Time.lo -MD -MP -MF .deps/Time.Tpo -c -o 
Time.lo Time.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I../.. -I../../include 
-I../../src -I../../include -Wall -Wpointer-arith -Wwrite-strings 
-Wcomments -fhuge-objects -D_REENTRANT -O2 -march=i486 -mtune=i686 -MT 
Time.lo -MD -MP -MF .deps/Time.Tpo -c Time.cc  -fPIC -DPIC -o .libs/Time.o
g++: warning: switch '-fhuge-objects' is no longer supported
libtool: compile:  g++ -DHAVE_CONFIG_H -I../.. -I../../include 
-I../../src -I../../include -Wall -Wpointer-arith -Wwrite-strings 
-Wcomments -fhuge-objects -D_REENTRANT -O2 -march=i486 -mtune=i686 -MT 
Time.lo -MD -MP -MF .deps/Time.Tpo -c Time.cc -o Time.o >/dev/null 2>&1
make[3]: *** [Time.lo] Erreur 1
--8<-------------------------------------------------------

This is a server with a stock Slackware 14.0 install. I only left out 
groups [E], [T], [KDE], [KDEI], [XAP] and [XFCE], as usual on a server.

Now what can a poor boy do?

Niki
-- 
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : info at microlinux.fr
Tél. : 04 66 63 10 32


More information about the SlackBuilds-users mailing list