Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 3535 - libflash won't compile
Summary: libflash won't compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Brandon Low (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-09 03:47 UTC by Frank Thieme
Modified: 2003-02-04 19:42 UTC (History)
0 users

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


Attachments
here's the updated change log (ChangeLog,1016 bytes, text/plain)
2002-06-14 18:29 UTC, Doug Goldstein (RETIRED)
Details
And here's the fixed ebuild (libflash-0.4.10-r1.ebuild,1.07 KB, text/plain)
2002-06-14 18:30 UTC, Doug Goldstein (RETIRED)
Details
And here's the patch file so you can look it over. (libflash-0.4.10-sqrt.patch,292 bytes, patch)
2002-06-14 18:30 UTC, Doug Goldstein (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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