This patch should fix that.
Cheers.
Long
diff --git a/clutter-gesture/Makefile.am b/clutter-gesture/Makefile.am
index d3c0359..c6c728d 100644
--- a/clutter-gesture/Makefile.am
+++ b/clutter-gesture/Makefile.am
@@ -40,7 +40,7 @@ libcluttergesture_la_SOURCES = clutter-gesture.c
clutter-gesture.h \
$(MARSHALFILES) ../engine/engine.h
#clutter-marshal.c clutter-marshal.h
-libcluttergesture_la_LIBADD = @CLUTTERGESTURE_LIBS@ ../engine/libengine.a
+libcluttergesture_la_LIBADD = @CLUTTERGESTURE_LIBS@ ../engine/libengine.la
libcluttergesture_la_LDFLAGS= -version-info 0:1:0 -no-undefined
DISTCLEANFILES = $(MARSHALFILES)
diff --git a/engine/Makefile.am b/engine/Makefile.am
index 30bf021..92e4af3 100644
--- a/engine/Makefile.am
+++ b/engine/Makefile.am
@@ -19,9 +19,9 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
# USA.
-noinst_LIBRARIES = libengine.a
+lib_LTLIBRARIES= libengine.la
-libengine_a_SOURCES = engine.c engine.h plugin.h stroke.c stroke.h
gesture_recog.c gesture_recog.h
+libengine_la_SOURCES = engine.c engine.h plugin.h stroke.c stroke.h
gesture_recog.c gesture_recog.h
AM_CFLAGS = @CLUTTERGESTURE_CFLAGS@ -DPKGDATADIR="\"$(pkgdatadir)\""
diff --git a/tests/Makefile.am b/tests/Makefile.am
index c17b491..f2251b6 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -29,7 +29,7 @@ test_LDFLAGS =
$(top_builddir)/clutter-gesture/libcluttergesture.la
test_engine_SOURCES = test_engine.c
test_engine_CFLAGS = @CLUTTERGESTURE_CFLAGS@ -g3 -O0 -ggdb
-DPKGDATADIR="\"$(pkgdatadir)\""
-test_engine_LDFLAGS = $(top_builddir)/clutter-gesture/libcluttergesture.la
$(top_builddir)/engine/libengine.a
+test_engine_LDFLAGS = $(top_builddir)/clutter-gesture/libcluttergesture.la
CLEANFILES = *~ test-events, test_engine
>-----Original Message-----
>From: [email protected] [mailto:[email protected]] On Behalf Of
>Peter Robinson
>Sent: 2009年9月3日 18:24
>To: [email protected]
>Subject: [Moblin Dev] clutter-gesture compile issues
>
>Hi,
>
>I'm not sure if I'm better taking clutter-gesture queries to this list
>or the clutter list. I'm having an issue when trying to compile it,
>either the src rpm from the repo or from git master. I get the
>following errors below on Fedora Rawhide so not sure if its due to
>later libraries or compiler.
>
>Peter
>
>
>/bin/sh ../libtool --tag=CC --mode=link gcc -g -pthread
>-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
>-I/usr/include/clutter-1.0 -I/usr/include/cairo
>-I/usr/include/pango-1.0 -I/usr/include/gtk-2.0
>-I/usr/include/pixman-1 -I/usr/include/freetype2
>-I/usr/include/libpng12 -I/usr/include/drm -Wall -Werror
>-DPKGDATADIR="\"/usr/local/share/clutter_gesture\"" -I./ -I../engine
>-g -O2 -version-info 0:1:0 -no-undefined -o libcluttergesture.la
>-rpath /usr/local/lib clutter-gesture.lo -pthread -lclutter-glx-1.0
>-lpangocairo-1.0 -lgthread-2.0 -lrt -lgdk_pixbuf-2.0 -lGL -lX11 -lXext
>-lXdamage -lXcomposite -lpango-1.0 -lcairo -lgmodule-2.0 -lXfixes
>-lgobject-2.0 -lglib-2.0 ../engine/libengine.a
>
>*** Warning: Linking the shared library libcluttergesture.la against the
>*** static library ../engine/libengine.a is not portable!
>libtool: link: gcc -shared .libs/clutter-gesture.o
>-lclutter-glx-1.0 -lpangocairo-1.0 -lgthread-2.0 -lrt -lgdk_pixbuf-2.0
>-lGL -lX11 -lXext -lXdamage -lXcomposite -lpango-1.0 -lcairo
>-lgmodule-2.0 -lXfixes -lgobject-2.0 -lglib-2.0 ../engine/libengine.a
>-pthread -pthread -pthread -Wl,-soname -Wl,libcluttergesture.so.0 -o
>.libs/libcluttergesture.so.0.0.1
>/usr/bin/ld: ../engine/libengine.a(engine.o): relocation R_X86_64_32
>against `.rodata.str1.1' can not be used when making a shared object;
>recompile with -fPIC
>../engine/libengine.a: could not read symbols: Bad value
>collect2: ld returned 1 exit status
>make[3]: *** [libcluttergesture.la] Error 1
>make[3]: Leaving directory
>`/home/peter/rpmbuild/BUILD/clutter-gesture-0.0.1/clutter-gesture'
>make[2]: *** [all] Error 2
>make[2]: Leaving directory
>`/home/peter/rpmbuild/BUILD/clutter-gesture-0.0.1/clutter-gesture'
>make[1]: *** [all-recursive] Error 1
>make[1]: Leaving directory
>`/home/peter/rpmbuild/BUILD/clutter-gesture-0.0.1'
>make: *** [all] Error 2
>_______________________________________________
>Moblin dev Mailing List
>[email protected]
>
>To manage or unsubscribe from this mailing list visit:
>http://lists.moblin.org/listinfo/dev or your user account on http://moblin.org
>once logged in.
>
>For more information on the Moblin Developer Mailing lists visit:
>http://moblin.org/community/mailing-lists
_______________________________________________
Moblin dev Mailing List
[email protected]
To manage or unsubscribe from this mailing list visit:
http://lists.moblin.org/listinfo/dev or your user account on http://moblin.org
once logged in.
For more information on the Moblin Developer Mailing lists visit:
http://moblin.org/community/mailing-lists