Bug 109892 - compilation fails gcc4 libtool
Summary: compilation fails gcc4 libtool
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Portability-Compilation (show other bugs)
Version: 0.7.3
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-30 15:13 UTC by Ookaze
Modified: 2017-08-19 20:59 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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)