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. _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
2008/4/21, Jasper Mackenzie <[hidden email]>:
> 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 not math.h, because it's linking (not compilation). i suspect than -lm is missing in linking gcc command line. Gilles Caulier > > libc6-dev is version 2.7-10 > > any help would be appreciated. > > cheers. > _______________________________________________ > Digikam-devel mailing list > [hidden email] > https://mail.kde.org/mailman/listinfo/digikam-devel > Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
Free forum by Nabble | Edit this page |