[Digikam-devel] libkipi build fails from kde4 trunk

Jasper Mackenzie jasper at treshna.com
Mon Apr 21 03:26:28 BST 2008


Good day,
  I am not posting this as a bug yet as I am sure this is a local issue,
libkdcraw fails to build, with the following error:

[ 80%] Built target kdcraw
Linking C executable kdcraw
CMakeFiles/kdcraw_bin.dir/dcraw.o: In function `gamma_lut':
/usr/src/Photography/svn/digikam/libs/libkdcraw/dcraw/dcraw.c:7914:  
undefined reference to `pow'
CMakeFiles/kdcraw_bin.dir/dcraw.o: In function `parse_ciff':
/usr/src/Photography/svn/digikam/libs/libkdcraw/dcraw/dcraw.c:5549:  
undefined reference to `pow'
/usr/src/Photography/svn/digikam/libs/libkdcraw/dcraw/dcraw.c:5550:  
undefined reference to `pow'
/usr/src/Photography/svn/digikam/libs/libkdcraw/dcraw/dcraw.c:5551:  
undefined reference to `pow'
/usr/src/Photography/svn/digikam/libs/libkdcraw/dcraw/dcraw.c:5545:  
undefined reference to `pow'
CMakeFiles/kdcraw_bin.dir/dcraw.o:/usr/src/Photography/svn/digikam/libs/libkdcraw/dcraw/dcraw.c:5546:  
more undefined references to `pow' follow
CMakeFiles/kdcraw_bin.dir/dcraw.o: In function `blend_highlights':
/usr/src/Photography/svn/digikam/libs/libkdcraw/dcraw/dcraw.c:4304:  
undefined reference to `sqrtf'
CMakeFiles/kdcraw_bin.dir/dcraw.o: In function `recover_highlights':
/usr/src/Photography/svn/digikam/libs/libkdcraw/dcraw/dcraw.c:4325:  
undefined reference to `pow'
CMakeFiles/kdcraw_bin.dir/dcraw.o: In function `ahd_interpolate':
/usr/src/Photography/svn/digikam/libs/libkdcraw/dcraw/dcraw.c:4138:  
undefined reference to `pow'
CMakeFiles/kdcraw_bin.dir/dcraw.o: In function `wavelet_denoise':
/usr/src/Photography/svn/digikam/libs/libkdcraw/dcraw/dcraw.c:3695:  
undefined reference to `sqrt'
...
...
/usr/lib/gcc/i486-linux-gnu/4.2.3/../../../../lib/liblcms.a(cmspack.o): In  
function `UnrollDouble':
(.text+0x23ec): undefined reference to `floor'
/usr/lib/gcc/i486-linux-gnu/4.2.3/../../../../lib/liblcms.a(cmspack.o): In  
function `UnrollInkDouble':
(.text+0x24fa): undefined reference to `floor'
collect2: ld returned 1 exit status
make[2]: *** [libkdcraw/dcraw/kdcraw] Error 1
make[1]: *** [libkdcraw/dcraw/CMakeFiles/kdcraw_bin.dir/all] Error 2
make: *** [all] Error 2

which suggests problems with math.h

libc6-dev is version 2.7-10

any help would be appreciated.

cheers.



More information about the Digikam-devel mailing list