[squid-users] compilation errors on rhel 5

From: Mario Remy Almeida <malmeida_at_isaaviation.ae>
Date: Wed, 26 Nov 2008 09:42:08 +0400

Hi All

Since compilation failed on Ubuntu 8.10 thought to give a try on rhel 5
32bit

but no luck

had all the No such file or directory error message posted in the early
mail and also got this error message

run make and got the below errors

debug.o: In function `operator<< <std::char_traits<char> >':
/usr/include/c++/4.3/ostream:517: undefined reference to
`std::basic_ostream<char, std::char_traits<char> >&
std::__ostream_insert<char, std::char_traits<char>
>(std::basic_ostream<char, std::char_traits<char> >&, char const*, int)'
/usr/include/c++/4.3/ostream:517: undefined reference to
`std::basic_ostream<char, std::char_traits<char> >&
std::__ostream_insert<char, std::char_traits<char>
>(std::basic_ostream<char, std::char_traits<char> >&, char const*, int)'
debug.o: In function `operator<< <std::char_traits<char> >':
/home/remy/rnd/squid-3.1.0.2/src/debug.cc:776: undefined reference to
`std::basic_ostream<char, std::char_traits<char> >&
std::__ostream_insert<char, std::char_traits<char>
>(std::basic_ostream<char, std::char_traits<char> >&, char const*, int)'
debug.o: In function `operator<< <std::char_traits<char> >':
/usr/include/c++/4.3/ostream:517: undefined reference to
`std::basic_ostream<char, std::char_traits<char> >&
std::__ostream_insert<char, std::char_traits<char>
>(std::basic_ostream<char, std::char_traits<char> >&, char const*, int)'
/usr/include/c++/4.3/ostream:517: undefined reference to
`std::basic_ostream<char, std::char_traits<char> >&
std::__ostream_insert<char, std::char_traits<char>
>(std::basic_ostream<char, std::char_traits<char> >&, char const*, int)'
debug.o:/home/remy/rnd/squid-3.1.0.2/src/debug.cc:778: more undefined
references to `std::basic_ostream<char, std::char_traits<char> >&
std::__ostream_insert<char, std::char_traits<char>
>(std::basic_ostream<char, std::char_traits<char> >&, char const*, int)'
follow
collect2: ld returned 1 exit status
make[1]: *** [cf_gen] Error 1
make[1]: Leaving directory `/root/squid-3.1.0.2/src'
make: *** [all-recursive] Error 1

need help

what should i do next to solve the above errors?

Regards
Remy
Received on Wed Nov 26 2008 - 05:42:24 MST

This archive was generated by hypermail 2.2.0 : Wed Nov 26 2008 - 12:00:03 MST