[Digikam-users] error making digikam-libs 0.9.5 from svn

Gilles Caulier caulier.gilles at gmail.com
Fri Mar 20 08:01:19 GMT 2009


It's compilation of libraw included to libkdcraw.

Sound like a problem with openmp support.

1/ Are you tried to compile a cleaned version. try "make clean" or "make
distclean" before

2/ Do you use './configure --enable-openmp' option ?

3/ Which GCC and OpenMP version you use on your computer ?

4/ Which Linux distro you use ?

Note : here without --enable-openmp option all compile fine from a fresh
checkout of source code (Mandriva 2008.1). My gcc version is:

gcc -v
Utilisation des specs internes.
Target: i586-manbo-linux-gnu
Configuré avec: ../configure --prefix=/usr --libexecdir=/usr/lib
--with-slibdir=/lib --mandir=/usr/share/man --infodir=/usr/share/info
--enable-checking=release
--enable-languages=c,c++,ada,fortran,objc,obj-c++,java
--host=i586-manbo-linux-gnu --with-cpu=generic --with-system-zlib
--enable-threads=posix --enable-shared --enable-long-long
--enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu
--enable-java-awt=gtk
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --enable-gtk-cairo
--disable-libjava-multilib --enable-ssp --disable-libssp
Modèle de thread: posix
version gcc 4.2.3 (4.2.3-6mnb1)

Gilles Caulier

2009/3/19 Caspar Maessen <cmaessen at casco.demon.nl>

> Compiling digikam-libs 0.9.5 from svn gives me the following error on
> executing make:
>
> [...]
> mv -f .deps/libraw_la-libraw_c_api.Tpo .deps/libraw_la-libraw_c_api.Plo
> /bin/sh ../../libtool --silent --tag=CXX   --mode=compile
> g++ -DHAVE_CONFIG_H -I. -I../.. -I/opt/kde3/include -I/usr/lib/qt3/include
> -I.   -DQT_THREAD_SUPPORT  -D_REENTRANT -w -Wno-long-long -Wundef -ansi
> -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W
> -Wpointer-arith -fno-builtin -g3 -fno-inline -Wformat-security
> -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions
> -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST
> -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -fopenmp -fexceptions
> -DDCRAW_VERBOSE -DUSE_LCMS -MT
> libraw_la-dcraw_common.lo -MD -MP -MF .deps/libraw_la-dcraw_common.Tpo -c
> -o
> libraw_la-dcraw_common.lo `test -f 'internal/dcraw_common.cpp' ||
> echo './'`internal/dcraw_common.cpp
> dcraw/dcraw.c: In member function 'void LibRaw::wavelet_denoise()':
> dcraw/dcraw.c:4421: error: expected '#pragma omp' clause before '*' token
> make[3]: *** [libraw_la-dcraw_common.lo] Fout 1
> make[3]: Map '/home/builds/digikam-svn/libs/libkdcraw/libraw' wordt
> verlaten
> make[2]: *** [all-recursive] Fout 1
> make[2]: Map '/home/builds/digikam-svn/libs/libkdcraw' wordt verlaten
> make[1]: *** [all-recursive] Fout 1
> make[1]: Map '/home/builds/digikam-svn/libs' wordt verlaten
> make: *** [all] Fout 2
>
>
> Caspar.
> _______________________________________________
> Digikam-users mailing list
> Digikam-users at kde.org
> https://mail.kde.org/mailman/listinfo/digikam-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-users/attachments/20090320/a05679a6/attachment.html>


More information about the Digikam-users mailing list