I've tried on two different 5.8 boxes. The gcc compiler versions are both
3.4.
#uname -a
SunOS proxy 5.8 Generic_117350-26 sun4u sparc SUNW,Sun-Fire-V240
SunOS oldmail 5.8 Generic_108528-13 sun4u sparc SUNW,Sun-Fire-280R
When running "make all", it's crashing once it gets into the /src
directory.
The error I get is:
Making all in src
make[1]: Entering directory `/apps/squid-3.0.STABLE6/src'
/bin/bash ../libtool --tag=CXX --mode=link
/usr/bin/gcc -Werror -Wall -Wpointer-arith -Wwrite-strings -Wcomments -g
-O2
-g -o cf_gen cf_gen.o debug.o time.o globals.o libsquid.la
libauth.la -L../lib -lmiscutil -lm -lresolv -lsocket -lnsl
/usr/bin/gcc -Werror -Wall -Wpointer-arith -Wwrite-strings -Wcomments -g
-O2
-g -o cf_gen cf_gen.o debug.o time.o globals.o ./.libs/libsquid.a
./.libs/libauth.a -L/apps/squid-3.0.STABLE6/lib -lmiscutil -lm -lresolv
-lsocket
-lnsl
Undefined first referenced
symbol in file
std::ios_base::Init::~Init() cf_gen.o
std::ios_base::Init::Init() cf_gen.o
std::basic_string<char, std::char_traits<char>, std::allocator<char>
>::basic_string(std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&)debug.o
std::basic_string<char, std::char_traits<char>, std::allocator<char>
>::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char>
const&)debug.o__gnu_cxx::__exchange_and_add(int volatile*, int)debug.o
std::basic_string<char, std::char_traits<char>, std::allocator<char>
>::_Rep::_M_destroy(std::allocator<char> const&)debug.o
std::basic_ostringstream<char, std::char_traits<char>,
std::allocator<char>
>::basic_ostringstream(std::_Ios_Openmode)debug.o
std::basic_string<char, std::char_traits<char>, std::allocator<char>
>::_Rep::_S_terminaldebug.o
std::basic_string<char, std::char_traits<char>, std::allocator<char>
>::_Rep::_S_empty_rep_storagedebug.o
std::basic_ostream<char, std::char_traits<char> >& std::operator<<
<std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char>
>&, char const*)debug.o__cxa_call_unexpected debug.o
vtable for __cxxabiv1::__class_type_infotime.o
std::__throw_logic_error(char const*)debug.o
__gxx_personality_v0 cf_gen.o
std::basic_ostream<char, std::char_traits<char> >& std::endl<char,
std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char>
>&)debug.o
std::basic_ostream<char, std::char_traits<char> >::operator<<(long)debug.o
std::basic_ostream<char, std::char_traits<char> >::operator<<(unsigned
long)debug.o
typeinfo for std::bad_alloc debug.o
ld: fatal: Symbol referencing errors. No output written to cf_gen
collect2: ld returned 1 exit status
make[1]: *** [cf_gen] Error 1
make[1]: Leaving directory `/apps/squid-3.0.STABLE6/src'
make: *** [all-recursive] Error 1
Is the 3.0 version compatible with Solaris 8, or am I missing something
really easy here?