[prev in list] [next in list] [prev in thread] [next in thread]
List: gnash-dev
Subject: [Gnash-dev] Libtool dependencies reversed for backend and server?
From: walt <w41ter () gmail ! com>
Date: 2007-12-31 1:25:19
Message-ID: 477844FF.1060300 () gmail ! com
[Download RAW message or body]
I ran into this problem while compiling gnash on DragonFlyBSD:
The build of gparser halts because the linker complains about a
missing symbol in libgnashserver.so. That particular symbol is
defined in libgnashbackend.so, but server doesn't know anything
about being dependent on backend.
I believe that the dependencies were accidentally switched in
the two Makefile.am files for backend and server. That is:
server/Makefile.am should have backend added as a dependency:
libgnashserver_la_LIBADD = \
$(top_builddir)/backend/libgnashbackend.la \ <------
$(top_builddir)/libbase/libgnashbase.la \
$(top_builddir)/server/asobj/libgnashasobjs.la \
$(top_builddir)/server/parser/libgnashparser.la \
$(top_builddir)/server/vm/libgnashvm.la \
$(LIBXML_LIBS) \
$(BOOST_LIBS) \
$(PTHREAD_LIBS) \
$(NULL)
and backend/Makefile.am should have server deleted:
libgnashbackend_la_LIBADD = \
$(top_builddir)/libbase/libgnashbase.la \
$(top_builddir)/server/libgnashserver.la \ <--- DELETE
$(libgnashbackend_LIBS)
These changes fixed everything for me except that backend needs
to be compiled before server because the dependencies have been
reversed now.
I haven't figured out why gnash finishes building on NetBSD with
these dependency errors -- that seems like a different error in
itself. I do know that the gparser in NetBSD does *not* know it
is dependent on libgnashbackend, but it needs to know.
The 'missing' symbol in question is found in libgnashbackend.so:
gnash::sound_handler::convert_raw_data(short**, int*, void*, int, int, int, bool, int, bool)
Does any of this make sense? Have I got this all wrong?
Any opinions would be welcome.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic