When I try to emerge hpijs that way: USE="ppds" emerge hpijs I get this error: hpijs.cpp: In function `int hpijs_set_context(UXServices*)': hpijs.cpp:82: error: no matching function for call to `apdk::PrintContext::GetPrintModeSettings(apdk::QUALITY_MODE, apdk::MEDIATYPE, apdk::COLORMODE, BOOL&)' context.h:128: note: candidates are: apdk::DRIVER_ERROR apdk::PrintContext::GetPrintModeSettings(apdk::QUALITY_MODE&, apdk::MEDIATYPE&, apdk::COLORMODE&, BOOL&)hpijs.cpp: In function `int hpijs_set_cb(void*, IjsServerCtx*, IjsJobId, const char*, const char*, int)': hpijs.cpp:214: error: no matching function for call to `apdk::PrintContext::GetPrintModeSettings(apdk::QUALITY_MODE, apdk::MEDIATYPE, apdk::COLORMODE, BOOL&)' context.h:128: note: candidates are: apdk::DRIVER_ERROR apdk::PrintContext::GetPrintModeSettings(apdk::QUALITY_MODE&, apdk::MEDIATYPE&, apdk::COLORMODE&, BOOL&)make: *** [hpijs.o] Error 1 !!! ERROR: net-print/hpijs-1.5 failed. !!! Function src_compile, Line 38, Exitcode 2 !!! compile problem Reproducible: Always Steps to Reproduce: 1. emerge gcc 3.4.0 2. gcc-config to switch to new compiler (including source /etc/profile) 3. emerge hpijs Actual Results: I got the error message above Expected Results: It should have built fine Gentoo Base System version 1.4.9 Portage 2.0.50-r6 (telvanni-x86-2004.0, gcc-3.4.0, glibc-2.3.3_pre20040420-r0, 2.6.5-mm6) ================================================================= System uname: 2.6.5-mm6 i686 AMD Athlon(tm) XP 2100+ Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" CHOST="i486-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://mirrors.tds.net/gentoo ftp://mirrors.tds.net/gentoo http://mirror.tucdemonic.org/gentoo/ http://212.219.247.14/sites/www.ibiblio.org/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow alsa berkdb crypt cups encode gpm mmx mysql ncurses nptl opengl pam perl python readline slang spell sse ssl tcpd truetype x86 xml2 zlib"
Here's my gcc -v: Reading specs from /usr/lib/gcc/i686-pc-linux-gnu/3.4.0/specs Configured with: /var/tmp/portage/gcc-3.4.0/work/gcc-3.4.0/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.4 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.0/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4/info --enable-shared --host=i686-pc-linux-gnu --target=i686-pc-linux-gnu --with-system-zlib --enable-languages=c,c++ --enable-threads=posix --enable-long-long --disable-checking --enable-cstdio=stdio --enable-clocale=generic --enable-__cxa_atexit --enable-version-specific-runtime-libs --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.0/include/g++-v3 --with-local-prefix=/usr/local --disable-werror --enable-shared --disable-nls --disable-multilib Thread model: posix gcc version 3.4.0 (Gentoo Linux 3.4.0, pie-8.5.3)
see bug #49736
*** This bug has been marked as a duplicate of 49736 ***