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

Alex Tutubalin lexa at lexa.ru
Fri Mar 20 09:43:46 GMT 2009


Hi,

I have reproduced this problem. To be fixed in 0.7.1 on this weekend (or 
today if time permits).



Gilles Caulier wrote:
> Ok. now i can reproduce the poblem when --enable-openmp option is used :
>
> make[2]: entrant dans le répertoire « 
> /home/gilles/Documents/Devel/SVN/branches/libs/libkdcraw »
> Making all in libraw
> make[3]: entrant dans le répertoire « 
> /home/gilles/Documents/Devel/SVN/branches/libs/libkdcraw/libraw »
> /bin/sh ../../libtool --silent --tag=CXX   --mode=compile g++ 
> -DHAVE_CONFIG_H -I. -I../.. -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-libraw_cxx.lo -MD -MP -MF 
> .deps/libraw_la-libraw_cxx.Tpo -c -o libraw_la-libraw_cxx.lo `test -f 
> 'src/libraw_cxx.cpp' || echo './'`src/libraw_cxx.cpp
> mv -f .deps/libraw_la-libraw_cxx.Tpo .deps/libraw_la-libraw_cxx.Plo
> /bin/sh ../../libtool --silent --tag=CXX   --mode=compile g++ 
> -DHAVE_CONFIG_H -I. -I../.. -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-libraw_c_api.lo -MD -MP -MF 
> .deps/libraw_la-libraw_c_api.Tpo -c -o libraw_la-libraw_c_api.lo `test 
> -f 'src/libraw_c_api.cpp' || echo './'`src/libraw_c_api.cpp
> 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/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: erreur: expected ‘#pragma omp’ clause before ‘*’ token
> make[3]: *** [libraw_la-dcraw_common.lo] Erreur 1
> make[3]: quittant le répertoire « 
> /home/gilles/Documents/Devel/SVN/branches/libs/libkdcraw/libraw »
> make[2]: *** [all-recursive] Erreur 1
> make[2]: quittant le répertoire « 
> /home/gilles/Documents/Devel/SVN/branches/libs/libkdcraw »
> make[1]: *** [all-recursive] Erreur 1
> make[1]: quittant le répertoire « 
> /home/gilles/Documents/Devel/SVN/branches/libs »
> make: *** [all] Erreur 2
>
> Sound like a problem in libraw code.
>
> I CC Alex Tutubalin from libraw team for info.
>
> Gilles Caulier
>
> 2009/3/20 Gilles Caulier <caulier.gilles at gmail.com 
> <mailto:caulier.gilles at gmail.com>>
>
>     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
>     <mailto: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 <mailto:Digikam-users at kde.org>
>         https://mail.kde.org/mailman/listinfo/digikam-users
>
>
>


-- 
Alex
Web: http://blog.lexa.ru
mailto:lexa at lexa.ru




More information about the Digikam-users mailing list