Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 50487 - udunits 1.12.0 ebuild fails with gcc 3.3.3 - undefined reference to pow and log10
Summary: udunits 1.12.0 ebuild fails with gcc 3.3.3 - undefined reference to pow and l...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-08 14:14 UTC by Steve Arnold
Modified: 2004-05-08 23:01 UTC (History)
0 users

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


Attachments
udunits-1.12.0.ebuild.patch (udunits-1.12.0.ebuild.patch,265 bytes, patch)
2004-05-08 14:28 UTC, Sven Wegener
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Arnold archtester gentoo-dev 2004-05-08 14:14:37 UTC
gcc -c -O -I../lib -I../port/misc -Df2cFortran udunits.c
gcc -o udunits udunits.o -L/home/sarnold/src/udunits-1.12.0/src/lib -ludunits -L/home/sarnold/src/udunits-1.12.0/src/port/misc -ludport   
/home/sarnold/src/udunits-1.12.0/src/lib/libudunits.a(utlib.o)(.text+0xe03): In function `utRaise':
: undefined reference to `pow'
/home/sarnold/src/udunits-1.12.0/src/lib/libudunits.a(utlib.o)(.text+0x1a30): In function `utPrint':
: undefined reference to `log10'
collect2: ld returned 1 exit status
make[2]: *** [udunits] Error 1
make[2]: Leaving directory `/home/sarnold/src/udunits-1.12.0/src/udunits'
make[1]: *** [program] Error 2
make[1]: Leaving directory `/home/sarnold/src/udunits-1.12.0/src/udunits'
make: *** [udunits/all] Error 1


Reproducible: Always
Steps to Reproduce:
Comment 1 Steve Arnold archtester gentoo-dev 2004-05-08 14:17:04 UTC
New minor version of udunits available (plus updated configure).  Anyone using 
udunits please test and submit feedback...
Comment 2 Sven Wegener gentoo-dev 2004-05-08 14:28:40 UTC
Created attachment 31013 [details, diff]
udunits-1.12.0.ebuild.patch

verified, same happens here

see attached patch for fix
Comment 3 Steve Arnold archtester gentoo-dev 2004-05-08 15:24:49 UTC
The build error has been fixed in 1.12.0, but 1.12.1 has the correct Fortran 
interface (1.12.0 is incomplete for some reason).  Try that one...
Comment 4 Sven Wegener gentoo-dev 2004-05-08 23:01:33 UTC
1.12.1 compiles clean over here on my ~x86 system