Bug 109892

Summary: compilation fails gcc4 libtool
Product: [Applications] digikam Reporter: Ookaze <ookaze>
Component: Portability-CompilationAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: rdieter
Priority: NOR    
Version: 0.7.3   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Ookaze 2005-07-30 15:13:48 UTC
Version:           0.7.3 (using KDE KDE 3.4.2)
Installed from:    Compiled From Sources
Compiler:          gcc 4.0.1 
OS:                Linux

The compiler stops when compiling showfoto because of missing symbols.

This patch shows what I added for it to compile :
---------------------------
diff -Naur digikam-0.7.3-orig/digikam/showfoto/Makefile.in digikam-0.7.3/digikam/showfoto/Makefile.in
--- digikam-0.7.3-orig/digikam/showfoto/Makefile.in     2005-06-21 23:21:19.000000000 +0200
+++ digikam-0.7.3/digikam/showfoto/Makefile.in  2005-07-30 14:46:05.000000000 +0200
@@ -306,7 +306,9 @@
                   $(top_builddir)/digikam/libs/histogram/libhistogram.la \
                   $(top_builddir)/digikam/libs/widgets/libwidgets.la \
                   $(top_builddir)/digikam/utilities/splashscreen/libsplashscreen.la \
-                  $(top_builddir)/digikam/libs/thumbbar/libthumbbar.la 
+                  $(top_builddir)/digikam/libs/thumbbar/libthumbbar.la \
+                  $(top_builddir)/digikam/utilities/imageeditor/libimageeditor.la \
+                  $(top_builddir)/digikam/libs/curves/libcurves.la
 
 
 showfoto_LDFLAGS = $(KDE_RPATH) $(all_libraries)
---------------------
Comment 1 Rex Dieter 2005-08-01 15:18:06 UTC
Odd, because digikam-0.7.3 built just fine for me on Fedora Core 4 w/ gcc-4.0.1/  What options (if any) did you pass to ./configure ?
Comment 2 Tom Albers 2005-08-07 23:26:21 UTC
SVN commit 443913 by toma:

Reported to fix compilation on gcc 4.0.1, untested by me with this compiler though.

BUG: 109892


 M  +3 -1      Makefile.am  


--- trunk/extragear/graphics/digikam/showfoto/Makefile.am #443912:443913
@@ -20,7 +20,9 @@
 		   $(top_builddir)/digikam/libs/histogram/libhistogram.la \
 		   $(top_builddir)/digikam/libs/widgets/libwidgets.la \
 		   $(top_builddir)/digikam/utilities/splashscreen/libsplashscreen.la \
-		   $(top_builddir)/digikam/libs/thumbbar/libthumbbar.la 
+           $(top_builddir)/digikam/libs/thumbbar/libthumbbar.la \
+           $(top_builddir)/digikam/utilities/imageeditor/libimageeditor.la \
+           $(top_builddir)/digikam/libs/curves/libcurves.la
 
 showfoto_LDFLAGS = $(KDE_RPATH) $(all_libraries)