When building C++ apps, I often get errors like this when linking: [excerpt from kpackage 1.2.1 build]
g++ -pipe -O2 -fsigned-char -Wall -s -o kpackage -L/usr/lib -L/usr/local/kde/lib -L/usr/X11R6/lib [lotsa object files] -lkfile -lkfm -lkdeui -lkdecore -lqt -lX11 -lXext -lrpm -ldb -lz -Wl,--rpath -Wl,/usr/local/kde/lib -Wl,--rpath -Wl,/usr/X11R6/lib /usr/lib/libstdc++.so: undefined reference to `_IO_proc_open@@GLIBC_2.0' /usr/lib/libstdc++.so: undefined reference to `_IO_proc_close@@GLIBC_2.0' collect2: ld returned 1 exit status make[3]: *** [kpackage] Error 1 make[3]: Leaving directory `/usr/src/kpackage-1.2.1/kpackage' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/src/kpackage-1.2.1/kpackage' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/kpackage-1.2.1' make: *** [all-recursive-am] Error 2 I have the latest libc, egcs, binutils and libstdc++2.9 packages. At first I thought it was due to old libraries linked against old libc/libstdc++ versions, but now everything is rebuilt with what I have. Anyone has an idea what's going wrong? Michel -- Why drink & drive when you can smoke and fly?! ______________________________________________________________________________ Michel Dänzer /// [EMAIL PROTECTED] __ /// AmigaOS/Linux(Debian/PPC) Student of computer science at the \\\/// Team *AMIGA* ICQ #: 5675698 Swiss Federal Institute of Technology \\\/ IRC: CoOpER / dALEb33