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

From: Amos Jeffries <>
Date: Thu, 04 Apr 2013 18:11:58 +1300

On 4/04/2013 11:16 a.m., Brett Lymn wrote:
> On Wed, Apr 03, 2013 at 09:53:38AM +0200, Markus Sonnenberg wrote:
>> on solaris 10 i'm getting the following error while compiling
>> squid-3.3.3 with option '--with-large-files'.
> I modified the config script to use -m32 not -m64 which made this work
> but only makes a 32bit binary. The root cause is that the link is
> trying to link against the 32bit version of libstdc++, there is a 64bit
> version in /usr/sfw/lib/sparcv9 but my libtool fu was weak and I could
> not convince it to use that version.

Did you try this:
    ./configure CXXFLAGS="-L/usr/sfw/lib/sparcv9"
    ./configure LDFLAGS="-L/usr/sfw/lib/sparcv9"

Also, on 64-bit systems you do not have to specify large files or the
related options since what they do is force-enable 64-bit C++ type sizes
on 32-bit machines. On 64-bit machines the type sizes they force-enable
are the defaults. IF the compiler is slightly broken they may even
*downgrade* the build from 64-bit to 32-bit with some 64-bit type sizes,
but the working compilers just ignore the options.

Received on Thu Apr 04 2013 - 05:12:08 MDT

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