[squid-users] Error while compiling with option '--with-large-files'

From: Markus Sonnenberg <lassmichinruhe_at_rz-amper.de>
Date: Wed, 03 Apr 2013 09:53:38 +0200

Hi,

on solaris 10 i'm getting the following error while compiling
squid-3.3.3 with option '--with-large-files'.

<snip>
gmake[3]: Entering directory
`/Download/Squid-Cache/squid-3.3.3/helpers/basic_auth/NCSA'
g++ -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../lib
-I../../../src -I../../../include -I/usr/include/gssapi
-I/usr/include/kerberosv5 -I../../../libltdl -I. -I/usr/include/gssapi
-I/usr/include/kerberosv5 -Wall -Wpointer-arith -Wwrite-strings
-Wcomments -pipe -D_REENTRANT -pthreads -m64 -g -O2 -MT
basic_ncsa_auth.o -MD -MP -MF .deps/basic_ncsa_auth.Tpo -c -o
basic_ncsa_auth.o basic_ncsa_auth.cc
mv -f .deps/basic_ncsa_auth.Tpo .deps/basic_ncsa_auth.Po
g++ -DHAVE_CONFIG_H -I../../.. -I../../../include -I../../../lib
-I../../../src -I../../../include -I/usr/include/gssapi
-I/usr/include/kerberosv5 -I../../../libltdl -I. -I/usr/include/gssapi
-I/usr/include/kerberosv5 -Wall -Wpointer-arith -Wwrite-strings
-Wcomments -pipe -D_REENTRANT -pthreads -m64 -g -O2 -MT crypt_md5.o -MD
-MP -MF .deps/crypt_md5.Tpo -c -o crypt_md5.o crypt_md5.cc
mv -f .deps/crypt_md5.Tpo .deps/crypt_md5.Po
/bin/bash ../../../libtool --tag=CXX --mode=link g++ -Wall
-Wpointer-arith -Wwrite-strings -Wcomments -pipe -D_REENTRANT -pthreads
-m64 -g -O2 -g -o basic_ncsa_auth basic_ncsa_auth.o crypt_md5.o
../../../lib/libmisccontainers.la ../../../lib/libmiscencoding.la
-L../../../compat -lcompat-squid -lcrypt -lmd5 -lm -lsocket -lresolv
-lnsl -lrt
libtool: link: g++ -Wall -Wpointer-arith -Wwrite-strings -Wcomments
-pipe -D_REENTRANT -pthreads -m64 -g -O2 -g -o basic_ncsa_auth
basic_ncsa_auth.o crypt_md5.o ../../../lib/.libs/libmisccontainers.a
/usr/sfw/lib/libstdc++.so -L/usr/sfw/lib -lgcc_s
../../../lib/.libs/libmiscencoding.a
-L/Download/Squid-Cache/squid-3.3.3/compat -lcompat-squid -lcrypt -lmd5
-lm -lsocket -lresolv -lnsl -lrt -pthreads -Wl,-R -Wl,/usr/sfw/lib
-Wl,-R -Wl,/usr/sfw/lib
ld: fatal: file /usr/sfw/lib/libstdc++.so: wrong ELF class: ELFCLASS32
ld: fatal: File processing errors. No output written to basic_ncsa_auth
collect2: ld returned 1 exit status
gmake[3]: *** [basic_ncsa_auth] Error 1
gmake[3]: Leaving directory
`/Download/Squid-Cache/squid-3.3.3/helpers/basic_auth/NCSA'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory
`/Download/Squid-Cache/squid-3.3.3/helpers/basic_auth'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/Download/Squid-Cache/squid-3.3.3/helpers'
gmake: *** [all-recursive] Error 1
</snip>

the configure script runs fine. i can't see any errors.
<snip>
./configure --prefix=/usr/local \
--enable-icap-client \
--enable-http-violations \
--enable-useragent-log \
--enable-referer-log \
--enable-arp-acl \
--enable-icmp \
--enable-kill-parent-hack \
--enable-delay-pools \
--with-large-files \
--disable-strict-error-checking
</snip>

any hints how to get around this?

regards
markus

ct,
Received on Wed Apr 03 2013 - 07:53:48 MDT

This archive was generated by hypermail 2.2.0 : Thu Apr 04 2013 - 12:00:04 MDT