Search squid archive

Re: Error while compiling with option '--with-large-files'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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"
or
   ./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.

Amos




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux