When I try to emerge KDE, I get errors about make_driver_db_cups.o(.text+0x37b): In function `parsePpdFile': : undefined reference to `gzgets' Reproducible: Always Steps to Reproduce: 1. emerge kde 2. 3. Actual Results: (Before this point I don't have log) ... -L/usr/qt/3/lib -L/usr/kde/3.1/lib -module -avoid-version -no-undefined cupsdconf.lo cupsddialog.lo cupsdpage.lo cupsdcomment.lo cupsdsplash.lo cupsdserverpage.lo cupsdlogpage.lo cupsdjobspage.lo cupsdfilterpage.lo qdirlineedit.lo cupsddirpage.lo portdialog.lo cupsdnetworkpage.lo editlist.lo cupsdbrowsingpage.lo browsedialog.lo cupsdsecuritypage.lo locationdialog.lo addressdialog.lo cups-util.lo qdirmultilineedit.lo sizewidget.lo ../../../kio/libkio.la -lcups -ldl /bin/sh ../../../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -mcpu=athlon-xp -O2 -pipe -fomit-frame-pointer -frename-registers -fno-exceptions -fno-check-new -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT -o cupsdconf -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.1/lib -R /usr/kde/3.1/lib -R /usr/qt/3/lib -R /usr/X11R6/lib main.o libcupsdconf.la make[4]: Leaving directory `/var/tmp/portage/kdelibs-3.1.5/work/kdelibs-3.1.5/kdeprint/cups/cupsdconf2' make[4]: Entering directory `/var/tmp/portage/kdelibs-3.1.5/work/kdelibs-3.1.5/kdeprint/cups' /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../kio -I../../kfile -I../../kdeprint -I../../kdeprint/management -I../../dcop -I../../libltdl -I../../kdecore -I../../kdeui -I../../kio -I../../kio/kio -I../../kio/kfile -I../.. -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/kde/3.1/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -mcpu=athlon-xp -O2 -pipe -fomit-frame-pointer -frename-registers -fno-exceptions -fno-check-new -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT -c -o cupsinfos.lo `test -f 'cupsinfos.cpp' || echo './'`cupsinfos.cpp /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../kio -I../../kfile -I../../kdeprint -I../../kdeprint/management -I../../dcop -I../../libltdl -I../../kdecore -I../../kdeui -I../../kio -I../../kio/kio -I../../kio/kfile -I../.. -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/kde/3.1/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -mcpu=athlon-xp -O2 -pipe -fomit-frame-pointer -frename-registers -fno-exceptions -fno-check-new -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT -c -o ipprequest.lo `test -f 'ipprequest.cpp' || echo './'`ipprequest.cpp /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../kio -I../../kfile -I../../kdeprint -I../../kdeprint/management -I../../dcop -I../../libltdl -I../../kdecore -I../../kdeui -I../../kio -I../../kio/kio -I../../kio/kfile -I../.. -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/kde/3.1/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -mcpu=athlon-xp -O2 -pipe -fomit-frame-pointer -frename-registers -fno-exceptions -fno-check-new -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT -c -o kmcupsfactory.lo `test -f 'kmcupsfactory.cpp' || echo './'`kmcupsfactory.cpp /usr/qt/3/bin/moc ./kmcupsjobmanager.h -o kmcupsjobmanager.moc /usr/qt/3/bin/moc ./kmcupsmanager.h -o kmcupsmanager.moc /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../kio -I../../kfile -I../../kdeprint -I../../kdeprint/management -I../../dcop -I../../libltdl -I../../kdecore -I../../kdeui -I../../kio -I../../kio/kio -I../../kio/kfile -I../.. -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/kde/3.1/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -mcpu=athlon-xp -O2 -pipe -fomit-frame-pointer -frename-registers -fno-exceptions -fno-check-new -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT -c -o kmcupsuimanager.lo `test -f 'kmcupsuimanager.cpp' || echo './'`kmcupsuimanager.cpp /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../kio -I../../kfile -I../../kdeprint -I../../kdeprint/management -I../../dcop -I../../libltdl -I../../kdecore -I../../kdeui -I../../kio -I../../kio/kio -I../../kio/kfile -I../.. -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/kde/3.1/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -mcpu=athlon-xp -O2 -pipe -fomit-frame-pointer -frename-registers -fno-exceptions -fno-check-new -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT -c -o kmpropbanners.lo `test -f 'kmpropbanners.cpp' || echo './'`kmpropbanners.cpp /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../kio -I../../kfile -I../../kdeprint -I../../kdeprint/management -I../../dcop -I../../libltdl -I../../kdecore -I../../kdeui -I../../kio -I../../kio/kio -I../../kio/kfile -I../.. -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/kde/3.1/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -mcpu=athlon-xp -O2 -pipe -fomit-frame-pointer -frename-registers -fno-exceptions -fno-check-new -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT -c -o kmwbanners.lo `test -f 'kmwbanners.cpp' || echo './'`kmwbanners.cpp /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../kio -I../../kfile -I../../kdeprint -I../../kdeprint/management -I../../dcop -I../../libltdl -I../../kdecore -I../../kdeui -I../../kio -I../../kio/kio -I../../kio/kfile -I../.. -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/kde/3.1/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -mcpu=athlon-xp -O2 -pipe -fomit-frame-pointer -frename-registers -fno-exceptions -fno-check-new -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT -c -o kmwipp.lo `test -f 'kmwipp.cpp' || echo './'`kmwipp.cpp /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../kio -I../../kfile -I../../kdeprint -I../../kdeprint/management -I../../dcop -I../../libltdl -I../../kdecore -I../../kdeui -I../../kio -I../../kio/kio -I../../kio/kfile -I../.. -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/kde/3.1/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -mcpu=athlon-xp -O2 -pipe -fomit-frame-pointer -frename-registers -fno-exceptions -fno-check-new -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT -c -o kmwippselect.lo `test -f 'kmwippselect.cpp' || echo './'`kmwippselect.cpp /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../kio -I../../kfile -I../../kdeprint -I../../kdeprint/management -I../../dcop -I../../libltdl -I../../kdecore -I../../kdeui -I../../kio -I../../kio/kio -I../../kio/kfile -I../.. -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/kde/3.1/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -mcpu=athlon-xp -O2 -pipe -fomit-frame-pointer -frename-registers -fno-exceptions -fno-check-new -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT -c -o kcupsprinterimpl.lo `test -f 'kcupsprinterimpl.cpp' || echo './'`kcupsprinterimpl.cpp /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../kio -I../../kfile -I../../kdeprint -I../../kdeprint/management -I../../dcop -I../../libltdl -I../../kdecore -I../../kdeui -I../../kio -I../../kio/kio -I../../kio/kfile -I../.. -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/kde/3.1/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -mcpu=athlon-xp -O2 -pipe -fomit-frame-pointer -frename-registers -fno-exceptions -fno-check-new -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT -c -o kmcupsconfigwidget.lo `test -f 'kmcupsconfigwidget.cpp' || echo './'`kmcupsconfigwidget.cpp /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../kio -I../../kfile -I../../kdeprint -I../../kdeprint/management -I../../dcop -I../../libltdl -I../../kdecore -I../../kdeui -I../../kio -I../../kio/kio -I../../kio/kfile -I../.. -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/kde/3.1/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -mcpu=athlon-xp -O2 -pipe -fomit-frame-pointer -frename-registers -fno-exceptions -fno-check-new -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT -c -o kmconfigcups.lo `test -f 'kmconfigcups.cpp' || echo './'`kmconfigcups.cpp /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../kio -I../../kfile -I../../kdeprint -I../../kdeprint/management -I../../dcop -I../../libltdl -I../../kdecore -I../../kdeui -I../../kio -I../../kio/kio -I../../kio/kfile -I../.. -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/kde/3.1/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -mcpu=athlon-xp -O2 -pipe -fomit-frame-pointer -frename-registers -fno-exceptions -fno-check-new -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT -c -o kmconfigcupsdir.lo `test -f 'kmconfigcupsdir.cpp' || echo './'`kmconfigcupsdir.cpp /usr/qt/3/bin/moc ./kmwippprinter.h -o kmwippprinter.moc /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../kio -I../../kfile -I../../kdeprint -I../../kdeprint/management -I../../dcop -I../../libltdl -I../../kdecore -I../../kdeui -I../../kio -I../../kio/kio -I../../kio/kfile -I../.. -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/kde/3.1/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -mcpu=athlon-xp -O2 -pipe -fomit-frame-pointer -frename-registers -fno-exceptions -fno-check-new -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT -c -o kmwfax.lo `test -f 'kmwfax.cpp' || echo './'`kmwfax.cpp /usr/qt/3/bin/moc ./kmwquota.h -o kmwquota.moc /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../kio -I../../kfile -I../../kdeprint -I../../kdeprint/management -I../../dcop -I../../libltdl -I../../kdecore -I../../kdeui -I../../kio -I../../kio/kio -I../../kio/kfile -I../.. -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/kde/3.1/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -mcpu=athlon-xp -O2 -pipe -fomit-frame-pointer -frename-registers -fno-exceptions -fno-check-new -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT -c -o kmpropquota.lo `test -f 'kmpropquota.cpp' || echo './'`kmpropquota.cpp /usr/qt/3/bin/moc ./kmwusers.h -o kmwusers.moc /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../kio -I../../kfile -I../../kdeprint -I../../kdeprint/management -I../../dcop -I../../libltdl -I../../kdecore -I../../kdeui -I../../kio -I../../kio/kio -I../../kio/kfile -I../.. -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/kde/3.1/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -mcpu=athlon-xp -O2 -pipe -fomit-frame-pointer -frename-registers -fno-exceptions -fno-check-new -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT -c -o kmpropusers.lo `test -f 'kmpropusers.cpp' || echo './'`kmpropusers.cpp /usr/qt/3/bin/moc ./kpschedulepage.h -o kpschedulepage.moc /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../kio -I../../kfile -I../../kdeprint -I../../kdeprint/management -I../../dcop -I../../libltdl -I../../kdecore -I../../kdeui -I../../kio -I../../kio/kio -I../../kio/kfile -I../.. -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/kde/3.1/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -mcpu=athlon-xp -O2 -pipe -fomit-frame-pointer -frename-registers -fno-exceptions -fno-check-new -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT -c -o image.lo `test -f 'image.cpp' || echo './'`image.cpp /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../kio -I../../kfile -I../../kdeprint -I../../kdeprint/management -I../../dcop -I../../libltdl -I../../kdecore -I../../kdeui -I../../kio -I../../kio/kio -I../../kio/kfile -I../.. -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/kde/3.1/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -mcpu=athlon-xp -O2 -pipe -fomit-frame-pointer -frename-registers -fno-exceptions -fno-check-new -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT -c -o imagepreview.lo `test -f 'imagepreview.cpp' || echo './'`imagepreview.cpp /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../kio -I../../kfile -I../../kdeprint -I../../kdeprint/management -I../../dcop -I../../libltdl -I../../kdecore -I../../kdeui -I../../kio -I../../kio/kio -I../../kio/kfile -I../.. -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/kde/3.1/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -mcpu=athlon-xp -O2 -pipe -fomit-frame-pointer -frename-registers -fno-exceptions -fno-check-new -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT -c -o imageposition.lo `test -f 'imageposition.cpp' || echo './'`imageposition.cpp /usr/qt/3/bin/moc ./kpimagepage.h -o kpimagepage.moc /usr/qt/3/bin/moc ./kptextpage.h -o kptextpage.moc /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../kio -I../../kfile -I../../kdeprint -I../../kdeprint/management -I../../dcop -I../../libltdl -I../../kdecore -I../../kdeui -I../../kio -I../../kio/kio -I../../kio/kfile -I../.. -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/kde/3.1/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -mcpu=athlon-xp -O2 -pipe -fomit-frame-pointer -frename-registers -fno-exceptions -fno-check-new -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT -c -o kphpgl2page.lo `test -f 'kphpgl2page.cpp' || echo './'`kphpgl2page.cpp /usr/qt/3/bin/moc ./cupsaddsmb2.h -o cupsaddsmb2.moc /usr/qt/3/bin/moc ./kmwother.h -o kmwother.moc /usr/qt/3/bin/moc ./ippreportdlg.h -o ippreportdlg.moc /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../kio -I../../kfile -I../../kdeprint -I../../kdeprint/management -I../../dcop -I../../libltdl -I../../kdecore -I../../kdeui -I../../kio -I../../kio/kio -I../../kio/kfile -I../.. -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/kde/3.1/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -mcpu=athlon-xp -O2 -pipe -fomit-frame-pointer -frename-registers -fno-exceptions -fno-check-new -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT -c -o kptagspage.lo `test -f 'kptagspage.cpp' || echo './'`kptagspage.cpp gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../kio -I../../kfile -I../../kdeprint -I../../kdeprint/management -I../../dcop -I../../libltdl -I../../kdecore -I../../kdeui -I../../kio -I../../kio/kio -I../../kio/kfile -I../.. -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/kde/3.1/include -DQT_THREAD_SUPPORT -D_REENTRANT -ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DNDEBUG -O2 -mcpu=athlon-xp -O2 -pipe -fomit-frame-pointer -frename-registers -c `test -f 'make_driver_db_cups.c' || echo './'`make_driver_db_cups.c make_driver_db_cups.c:14: warning: no previous prototype for `initPpd' make_driver_db_cups.c:72: warning: no previous prototype for `parsePpdFile' make_driver_db_cups.c: In function `parsePpdFile': make_driver_db_cups.c:86: warning: implicit declaration of function `gzgets' gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../kio -I../../kfile -I../../kdeprint -I../../kdeprint/management -I../../dcop -I../../libltdl -I../../kdecore -I../../kdeui -I../../kio -I../../kio/kio -I../../kio/kfile -I../.. -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/kde/3.1/include -DQT_THREAD_SUPPORT -D_REENTRANT -ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DNDEBUG -O2 -mcpu=athlon-xp -O2 -pipe -fomit-frame-pointer -frename-registers -c `test -f 'cupsdoprint.c' || echo './'`cupsdoprint.c cupsdoprint.c:45: warning: no previous prototype for `error' cupsdoprint.c:54: warning: no previous prototype for `usage' cupsdoprint.c:85: warning: no previous prototype for `getPasswordCB' cupsdoprint.c: In function `getPasswordCB': cupsdoprint.c:84: warning: unused parameter `prompt' cupsdoprint.c: In function `main': cupsdoprint.c:226: warning: passing arg 3 of `cupsPrintFiles' from incompatible pointer type /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../kio -I../../kfile -I../../kdeprint -I../../kdeprint/management -I../../dcop -I../../libltdl -I../../kdecore -I../../kdeui -I../../kio -I../../kio/kio -I../../kio/kfile -I../.. -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/kde/3.1/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -mcpu=athlon-xp -O2 -pipe -fomit-frame-pointer -frename-registers -fno-exceptions -fno-check-new -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT -c -o kmcupsjobmanager.lo `test -f 'kmcupsjobmanager.cpp' || echo './'`kmcupsjobmanager.cpp /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../kio -I../../kfile -I../../kdeprint -I../../kdeprint/management -I../../dcop -I../../libltdl -I../../kdecore -I../../kdeui -I../../kio -I../../kio/kio -I../../kio/kfile -I../.. -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/kde/3.1/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -mcpu=athlon-xp -O2 -pipe -fomit-frame-pointer -frename-registers -fno-exceptions -fno-check-new -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT -c -o kmcupsmanager.lo `test -f 'kmcupsmanager.cpp' || echo './'`kmcupsmanager.cpp /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../kio -I../../kfile -I../../kdeprint -I../../kdeprint/management -I../../dcop -I../../libltdl -I../../kdecore -I../../kdeui -I../../kio -I../../kio/kio -I../../kio/kfile -I../.. -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/kde/3.1/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -mcpu=athlon-xp -O2 -pipe -fomit-frame-pointer -frename-registers -fno-exceptions -fno-check-new -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT -c -o kmwippprinter.lo `test -f 'kmwippprinter.cpp' || echo './'`kmwippprinter.cpp ../../kdeprint/util.h:42: warning: `pagesizestruct page_sizes[29]' defined but not used /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../kio -I../../kfile -I../../kdeprint -I../../kdeprint/management -I../../dcop -I../../libltdl -I../../kdecore -I../../kdeui -I../../kio -I../../kio/kio -I../../kio/kfile -I../.. -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/kde/3.1/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -mcpu=athlon-xp -O2 -pipe -fomit-frame-pointer -frename-registers -fno-exceptions -fno-check-new -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT -c -o kmwquota.lo `test -f 'kmwquota.cpp' || echo './'`kmwquota.cpp /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../kio -I../../kfile -I../../kdeprint -I../../kdeprint/management -I../../dcop -I../../libltdl -I../../kdecore -I../../kdeui -I../../kio -I../../kio/kio -I../../kio/kfile -I../.. -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/kde/3.1/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -mcpu=athlon-xp -O2 -pipe -fomit-frame-pointer -frename-registers -fno-exceptions -fno-check-new -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT -c -o kmwusers.lo `test -f 'kmwusers.cpp' || echo './'`kmwusers.cpp /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../kio -I../../kfile -I../../kdeprint -I../../kdeprint/management -I../../dcop -I../../libltdl -I../../kdecore -I../../kdeui -I../../kio -I../../kio/kio -I../../kio/kfile -I../.. -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/kde/3.1/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -mcpu=athlon-xp -O2 -pipe -fomit-frame-pointer -frename-registers -fno-exceptions -fno-check-new -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT -c -o kpschedulepage.lo `test -f 'kpschedulepage.cpp' || echo './'`kpschedulepage.cpp /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../kio -I../../kfile -I../../kdeprint -I../../kdeprint/management -I../../dcop -I../../libltdl -I../../kdecore -I../../kdeui -I../../kio -I../../kio/kio -I../../kio/kfile -I../.. -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/kde/3.1/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -mcpu=athlon-xp -O2 -pipe -fomit-frame-pointer -frename-registers -fno-exceptions -fno-check-new -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT -c -o kpimagepage.lo `test -f 'kpimagepage.cpp' || echo './'`kpimagepage.cpp /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../kio -I../../kfile -I../../kdeprint -I../../kdeprint/management -I../../dcop -I../../libltdl -I../../kdecore -I../../kdeui -I../../kio -I../../kio/kio -I../../kio/kfile -I../.. -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/kde/3.1/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -mcpu=athlon-xp -O2 -pipe -fomit-frame-pointer -frename-registers -fno-exceptions -fno-check-new -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT -c -o kptextpage.lo `test -f 'kptextpage.cpp' || echo './'`kptextpage.cpp /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../kio -I../../kfile -I../../kdeprint -I../../kdeprint/management -I../../dcop -I../../libltdl -I../../kdecore -I../../kdeui -I../../kio -I../../kio/kio -I../../kio/kfile -I../.. -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/kde/3.1/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -mcpu=athlon-xp -O2 -pipe -fomit-frame-pointer -frename-registers -fno-exceptions -fno-check-new -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT -c -o cupsaddsmb2.lo `test -f 'cupsaddsmb2.cpp' || echo './'`cupsaddsmb2.cpp kptextpage.cpp: In member function `void KPTextPage::slotColumnsChanged(int)': kptextpage.cpp:180: warning: unused parameter `int c' /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../kio -I../../kfile -I../../kdeprint -I../../kdeprint/management -I../../dcop -I../../libltdl -I../../kdecore -I../../kdeui -I../../kio -I../../kio/kio -I../../kio/kfile -I../.. -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/kde/3.1/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -mcpu=athlon-xp -O2 -pipe -fomit-frame-pointer -frename-registers -fno-exceptions -fno-check-new -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT -c -o kmwother.lo `test -f 'kmwother.cpp' || echo './'`kmwother.cpp /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../kio -I../../kfile -I../../kdeprint -I../../kdeprint/management -I../../dcop -I../../libltdl -I../../kdecore -I../../kdeui -I../../kio -I../../kio/kio -I../../kio/kfile -I../.. -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/kde/3.1/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -mcpu=athlon-xp -O2 -pipe -fomit-frame-pointer -frename-registers -fno-exceptions -fno-check-new -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT -c -o ippreportdlg.lo `test -f 'ippreportdlg.cpp' || echo './'`ippreportdlg.cpp /bin/sh ../../libtool --silent --mode=link gcc -ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DNDEBUG -O2 -mcpu=athlon-xp -O2 -pipe -fomit-frame-pointer -frename-registers -o make_driver_db_cups -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.1/lib make_driver_db_cups.o ../libdriverparse.a ../../kdecore/libkdefakes.la -ldl -lz make_driver_db_cups.o(.text+0x37b): In function `parsePpdFile': : undefined reference to `gzgets' collect2: ld returned 1 exit status make[4]: *** [make_driver_db_cups] Error 1 make[4]: *** Waiting for unfinished jobs.... make[4]: Leaving directory `/var/tmp/portage/kdelibs-3.1.5/work/kdelibs-3.1.5/kdeprint/cups' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/kdelibs-3.1.5/work/kdelibs-3.1.5/kdeprint/cups' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdelibs-3.1.5/work/kdelibs-3.1.5/kdeprint' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdelibs-3.1.5/work/kdelibs-3.1.5' make: *** [all] Error 2 !!! ERROR: kde-base/kdelibs-3.1.5 failed. !!! Function kde_src_compile, Line 123, Exitcode 2 !!! died running emake, kde_src_compile:make Expected Results: Installation of kde Portage 2.0.49-r20 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.22-gentoo-r3) ================================================================= System uname: 2.4.22-gentoo-r3 i686 AMD Athlon(tm) XP 1800+ Gentoo Base System version 1.4.3.10p1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-mcpu=athlon-xp -O2 -pipe -fomit-frame-pointer -frename-registers" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-mcpu=athlon-xp -O2 -pipe -fomit-frame-pointer -frename-registers" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache keepwork sandbox" GENTOO_MIRRORS="ftp://ftp.nluug.nl/pub/os/Linux/distr/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow X aalib acpi alsa apm arts avi berkdb bonobo cdr crypt cups doc encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 guile imlib java jpeg kde libg++ libwww mad mikmod mmx motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl slang spell ssl svga tcltk tcpd tetex truetype usb x86 xml2 xmms xv zlib"
re-emerge cups, and try a newer version of kde. seems like something got uninstalled locally that cups needed.