Re: [squid-users] compilation errors on rhel 5

From: John Doe <jdmls_at_yahoo.com>
Date: Wed, 26 Nov 2008 02:12:54 -0800 (PST)

Maybe missing a c++ lib?
But I never tried Squid 3.x, only 2.x...
On my CentOS I have those ( rpm -qa | grep "++" ):

  libstdc++-4.1.2-42.el5
  libstdc++-devel-4.1.2-42.el5
  libsigc++20-2.0.17-1.el5.rf
  gcc-c++-4.1.2-42.el5
  compat-libstdc++-296-2.96-138
  compat-libstdc++-33-3.2.3-61

JD

----- Original Message ----
> From: Mario Remy Almeida <malmeida_at_isaaviation.ae>
> To: Squid Users <squid-users_at_squid-cache.org>
> Sent: Wednesday, November 26, 2008 6:42:08 AM
> Subject: [squid-users] compilation errors on rhel 5
>
> 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<< >':
> /usr/include/c++/4.3/ostream:517: undefined reference to
> `std::basic_ostream>&
> std::__ostream_insert
> >(std::basic_ostream>&, char const*, int)'
> /usr/include/c++/4.3/ostream:517: undefined reference to
> `std::basic_ostream>&
> std::__ostream_insert
> >(std::basic_ostream>&, char const*, int)'
> debug.o: In function `operator<< >':
> /home/remy/rnd/squid-3.1.0.2/src/debug.cc:776: undefined reference to
> `std::basic_ostream>&
> std::__ostream_insert
> >(std::basic_ostream>&, char const*, int)'
> debug.o: In function `operator<< >':
> /usr/include/c++/4.3/ostream:517: undefined reference to
> `std::basic_ostream>&
> std::__ostream_insert
> >(std::basic_ostream>&, char const*, int)'
> /usr/include/c++/4.3/ostream:517: undefined reference to
> `std::basic_ostream>&
> std::__ostream_insert
> >(std::basic_ostream>&, char const*, int)'
> debug.o:/home/remy/rnd/squid-3.1.0.2/src/debug.cc:778: more undefined
> references to `std::basic_ostream>&
> std::__ostream_insert
> >(std::basic_ostream>&, 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 - 10:13:09 MST

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