using gcc-3.2-r2 /bin/sh ../../../libtool --silent --mode=link --tag=CXX i686-pc-linux-gnu-g++ -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -O3 -march=athlon-tbird -pipe -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT -DKDE_NO_COMPAT -o libkivioconnectortool.la.closure libkivioconnectortool_la_closure.lo -module -avoid-version -module -no-undefined -R /usr/kde/3/lib -R /usr/qt/3/lib -R /usr/X11R6/lib libkivioconnectortool_la.all_cpp.lo -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3/lib ../../../kivio/kiviopart/libkiviopart.la ../../../kivio/kiviopart/.libs/libkiviopart.so: undefined reference to `__ctype_b' ../../../kivio/kiviopart/.libs/libkiviopart.so: undefined reference to `__ctype_toupper' ../../../kivio/kiviopart/.libs/libkiviopart.so: undefined reference to `__ctype_tolower' collect2: ld returned 1 exit status make[5]: Leaving directory `/var/tmp/portage/koffice-1.2/work/koffice-1.2/kivio/plugins/kivioconnectortool' make[5]: *** [libkivioconnectortool.la.closure] Error 1 make[4]: Leaving directory `/var/tmp/portage/koffice-1.2/work/koffice-1.2/kivio/plugins/kivioconnectortool' make[4]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/koffice-1.2/work/koffice-1.2/kivio/plugins' make[3]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/koffice-1.2/work/koffice-1.2/kivio' make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/koffice-1.2/work/koffice-1.2' Calculating dependencies ...done! >>> emerge (1 of 1) app-office/koffice-1.2 to / >>> md5 ;-) koffice-1.2.tar.bz2 make: *** [all] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function kde_src_compile, Line 88, Exitcode 2 !!! died running emake, kde_src_compile:make
This is a problem with glibc 2.3.1 as we had it originally. Update to glibc-2.3.1-r1 and that should fix it. Or, tell me if I'm on the wrong track here...
Yes, you are correct... upgrading to glibc-2.3.1-r1 did the trick. I do get a lot of "fcntl: Bad file descriptor" errors on all of my KDE apps now, including the koffice ones. Not sure whether this is my machine, or a global issue. Thanks for the help. Please close bug.
The fcnctl errors are harmless.