c++ linking probs after gcc 3.0.3 upgrade

Andrea 'Fyre Wyzard' Bocci fwyzard@inwind.it
Wed Feb 6 15:27:00 GMT 2002


At 17.58 05/02/2002 (GMT -0600), Thomas wrote:
>ok, i upgraded to gcc 3.0.3, first by compiling from source, and then i got a
>bunch of undefined references to functions and whatnot in iostream.h (endl,
>cout, etc).  then i installed the gcc 3.0.3 slackware package (im running
>slackware 7.1, but ive upgraded it a lot), and now i get all those errors,
>plus undefined references to "__builtin_delete" and the like.  im assuming im
>linking to the wrong librarys or something, but im not sure.  do i have to
>install a new version of libc?

I don't know what's the minimum version of glibc you need to build GCC. 
There's a page on the site devoted to all the successful GCC builds, 
pointing to the posts of who managed to do so. So you might have a look if 
there's anything related to Slackware 7.1.
Anyway, I think glibc 2.2.3 or newer will be fine.

>i remember reading the gcc 3.x cant compile
>libc.
>i tried doing a "make uninstall" in my source tree, but i get an error
>that that isnt supported in that tree.
>
>if you need more info, just tell me
>
>thanks in advance
>thomas
>spiralman@softhome.net

HTH
fwyzard



More information about the Gcc-help mailing list