Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 3535

Summary: libflash won't compile
Product: Gentoo Linux Reporter: Frank Thieme <fthieme>
Component: [OLD] LibraryAssignee: Brandon Low (RETIRED) <lostlogic>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: here's the updated change log
And here's the fixed ebuild
And here's the patch file so you can look it over.

Description Frank Thieme 2002-06-09 03:47:50 UTC
c++ -DPACKAGE=\"libflash\" -DVERSION=\"0.4.10\" -I. -I. -I../lib -O3 -Wall
-fno-rtti -fno-exceptions -g3 -c script.cc  -fPIC -DPIC -o script.lo
/bin/sh ../libtool --mode=compile c++ -DPACKAGE=\"libflash\"
-DVERSION=\"0.4.10\"  -I. -I.  -I../lib    -O3 -Wall -fno-rtti -fno-exceptions
-g3 -c shape.cc
c++ -DPACKAGE=\"libflash\" -DVERSION=\"0.4.10\" -I. -I. -I../lib -O3 -Wall
-fno-rtti -fno-exceptions -g3 -c shape.cc  -fPIC -DPIC -o shape.lo
shape.cc: In function `void flushPaths(ShapeParser*)':
shape.cc:311: `sqrt' undeclared (first use this function)
shape.cc:311: (Each undeclared identifier is reported only once for each
function it appears in.)
make[1]: *** [shape.lo] Error 1
make[1]: Leaving directory
`/var/tmp/portage/libflash-0.4.10/work/libflash-0.4.10/lib'
make: *** [all-recursive] Error 1

!!! ERROR: the make command did not complete successfully.
!!! ("make")
!!! Since this is a critical task, ebuild will be stopped.

!!! emerge aborting on  /usr/portage/media-libs/libflash/libflash-0.4.10.ebuild .
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2002-06-09 07:01:49 UTC
what version of gcc are you using?
Comment 2 Frank Thieme 2002-06-09 07:26:42 UTC
gcc-3.1-r5
Comment 3 Doug Goldstein (RETIRED) gentoo-dev 2002-06-14 16:49:00 UTC
I can confirm it's broken in gcc3.1-r5 and gcc3.1-r6  
Comment 4 Doug Goldstein (RETIRED) gentoo-dev 2002-06-14 18:29:18 UTC
Created attachment 1531 [details]
here's the updated change log
Comment 5 Doug Goldstein (RETIRED) gentoo-dev 2002-06-14 18:30:11 UTC
Created attachment 1532 [details]
And here's the fixed ebuild
Comment 6 Doug Goldstein (RETIRED) gentoo-dev 2002-06-14 18:30:46 UTC
Created attachment 1533 [details, diff]
And here's the patch file so you can look it over.
Comment 7 Doug Goldstein (RETIRED) gentoo-dev 2002-06-14 18:32:51 UTC
All fixed.. Confirmed to work in gcc2.95 & gcc3.1 by a couple of users. That 
was easy. 
Comment 8 Brandon Low (RETIRED) gentoo-dev 2002-06-14 18:50:27 UTC
Thanks Cardoe, committed