I've seen that libcore was built w/out being linked to libsound.
That's WRONG as libcore *does* need libsound.

The problem was that libsound linked to libcore, which shouldn't have.
Only libmedia is needed by libsound.

So:

        libcore  [2] -> libsound [1], libmedia [0]
        libsound [1] -> libmedia [0]
        libmedia [0] -> NOTHING

Does it "sound" for all of you ?

All I can say is that sorting the deps as described
fixes all my build problems.

The patch is attached. Could anyone else try it before I commit ?
TIA.

--strk;

  ()   Free GIS & Flash consultant/developer
  /\   http://foo.keybit.net/~strk/services.html
=== modified file 'libcore/Makefile.am'
--- libcore/Makefile.am 2010-02-03 12:23:38 +0000
+++ libcore/Makefile.am 2010-02-03 22:49:18 +0000
@@ -294,6 +294,7 @@
        $(top_builddir)/libcore/parser/libgnashparser.la \
        $(top_builddir)/libcore/vm/libgnashvm.la \
        $(top_builddir)/libmedia/libgnashmedia.la \
+       $(top_builddir)/libsound/libgnashsound.la \
        $(BOOST_LIBS) \
        $(PTHREAD_LIBS) \
        $(FREETYPE2_LIBS) \

=== modified file 'libsound/Makefile.am'
--- libsound/Makefile.am        2010-01-21 00:27:19 +0000
+++ libsound/Makefile.am        2010-02-03 22:46:10 +0000
@@ -22,7 +22,6 @@
 
 libgnashsound_la_CPPFLAGS = \
        -I$(top_srcdir)/libbase \
-       -I$(top_srcdir)/libcore \
        -I$(top_srcdir)/libmedia \
        $(PTHREAD_CFLAGS) \
        $(DMALLOC_CFLAGS) \
@@ -67,7 +66,7 @@
   libgnashsound_la_LDFLAGS += -no-undefined
   libgnashsound_la_LIBADD += \
        $(top_builddir)/libbase/libgnashbase.la \
-       $(top_builddir)/libcore/libgnashcore.la \
+       $(top_builddir)/libmedia/libgnashmedia.la \
        -lintl
 endif
 

_______________________________________________
Gnash-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-dev

Reply via email to