Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 9760 - dev-libs/DirectFB-0.9.13 and media-libs/libpng-1.2.5
Summary: dev-libs/DirectFB-0.9.13 and media-libs/libpng-1.2.5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-27 08:51 UTC by Peter Ruskin
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Ruskin 2002-10-27 08:51:18 UTC
# 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"
Comment 1 psk 2002-10-27 10:40:20 UTC
   Same pb for me
Comment 2 johnathan spectre 2002-10-28 09:02:53 UTC
i've got the same problem.. :-(

Comment 3 SpanKY gentoo-dev 2002-10-28 10:26:19 UTC
just link against libstdc++ ... 
 
gcc -D_REENTRANT -ffast-math -Wall -O3 -DFUSION_FAKE -o directfb-csource 
directfb-csource.o  -lpng -lz -ldl -lpthread -lstdc++ 
Comment 4 Seemant Kulleen (RETIRED) gentoo-dev 2002-10-28 20:39:17 UTC
spanky, does the stdc++ link work with the gnome-core problems as well?