# emerge DirectFB Calculating dependencies ...done! >>> emerge (1 of 1) dev-libs/DirectFB-0.9.13 to / >>> md5 ;-) DirectFB-0.9.13.tar.gz >>> Unpacking source... >>> Unpacking DirectFB-0.9.13.tar.gz >>> Source unpacked. <snip> mkdir .libs gcc -D_REENTRANT -ffast-math -Wall -O3 -DFUSION_FAKE -o directfb-csource directfb-csource.o -lpng -lz -ldl -lpthread /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/../../../libpng.so: undefined reference to `pow' collect2: ld returned 1 exit status make[2]: *** [directfb-csource] Error 1 make[2]: Leaving directory `/var/tmp/portage/DirectFB-0.9.13/work/DirectFB-0.9.13/tools' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/DirectFB-0.9.13/work/DirectFB-0.9.13' make: *** [all-recursive-am] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 85, Exitcode 2 !!! (no error message) CHOST="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O3 -mmmx -m3dnow -mfpmath=sse -pipe" CXXFLAGS="${CFLAGS}" MAKEOPTS="-j2" ACCEPT_KEYWORDS="~x86" USE="aalib bonobo doc dvd esd evo fbcon flash gb gd ghostscript gtkhtml hpijs innodb mbox motifnocardbus mysql nocardbus odbc perl postgres samba slp sse tcltk tetex tiff xml"
Same pb for me
i've got the same problem.. :-(
just link against libstdc++ ... gcc -D_REENTRANT -ffast-math -Wall -O3 -DFUSION_FAKE -o directfb-csource directfb-csource.o -lpng -lz -ldl -lpthread -lstdc++
spanky, does the stdc++ link work with the gnome-core problems as well?
added -r1 to cvs, check it out for me http://www.gentoo.org/cgi-bin/viewcvs.cgi/gentoo-x86/dev-libs/DirectFB/DirectFB-0.9.13-r1.ebuild?rev=1.1&content-type=text/vnd.viewcvs-markup