bugGnash - The GNU Flash player - Bugs: bug #17076, libgnashserver.so: undefined...

 
 

bug #17076: libgnashserver.so: undefined reference to `gnash::SWF::SWFHandlers::execute

Submitted by:  Timo Lindfors <lindi>
Submitted on:  Mon 10 Jul 2006 10:29:33 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Release: NoneStatus: Fixed
Privacy: PublicAssigned to: Sandro Santilli <strk>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Mon 10 Jul 2006 11:02:32 PM UTC, comment #9:

I encoded requirement for 1.6.0. We can always tune it.

Sandro Santilli <strk>
Project MemberIn charge of this item.
Mon 10 Jul 2006 08:47:54 PM UTC, comment #8:

Any chance you can test with 1.6.0 ?

Sandro Santilli <strk>
Project MemberIn charge of this item.
Mon 10 Jul 2006 08:40:23 PM UTC, comment #7:

Here's the output I get with automake 1.5

$ ./autogen.sh
processing .
Running aclocal -I macros ...
Running autoheader...
Can't locate object method "path" via package "Autom4te::Request" (perhaps you forgot to load "Autom4te::Request"?) at /usr/bin/autom4te line 81.
autoheader2.50: autom4te failed with exit status: 1
at /usr/bin/autoheader2.50 line 163
Running automake --gnu ...
backend/Makefile.am:89: warning: automake does not support conditional definition of RENDER_SOURCES in libgnashbackend_la_SOURCES
backend/Makefile.am:89: warning: automake does not support conditional definition of RENDER_SOURCES in libgnashbackend_la_SOURCES
backend/Makefile.am:49: invalid unused variable name: `AM_LDFLAGS'
backend/Makefile.am:80: invalid unused variable name: `RENDER_SOURCES'
doc/C/Makefile.am:98: INSTALL_DATA_HOOK was already defined in condition TRUE, which implies condition GHELP_TRUE

INSTALL_DATA_HOOK (User, where = 98) +=
{
TRUE =>
}
doc/C/Makefile.am:99: UNINSTALL_HOOK was already defined in condition TRUE, which implies condition GHELP_TRUE
UNINSTALL_HOOK (User, where = 99) +=
{
TRUE =>
}
doc/C/Makefile.am:98: INSTALL_DATA_HOOK was already defined in condition TRUE, which implies condition ENABLE_TEXI_TRUE

INSTALL_DATA_HOOK (User, where = 98) +=
{
TRUE =>
GHELP_TRUE => omf install-data-omf-hook
}
doc/C/Makefile.am:99: UNINSTALL_HOOK was already defined in condition TRUE, which implies condition ENABLE_TEXI_TRUE
UNINSTALL_HOOK (User, where = 99) +=
{
TRUE =>
GHELP_TRUE => uninstall-omf-hook
}
gui/Makefile.am:138: invalid unused variable name: `AM_LDFLAGS'
libamf/Makefile.am:54: invalid unused variable name: `AM_LDFLAGS'
plugin/klash/Makefile.am:90: invalid unused variable name: `AM_LDFLAGS'
testsuite/actionscript.all/Makefile.am:94: EXTRA_DIST was already defined in condition TRUE, which implies condition ENABLE_MING_TRUE

EXTRA_DIST (User, where = 94) +=
{
TRUE => $(GENERATED:.swf=.as)
}
testsuite/libbase/Makefile.am:65: invalid unused variable name: `AM_LDFLAGS'
utilities/Makefile.am:46: invalid unused variable name: `AM_LDFLAGS'
Running autoconf ...
Can't locate object method "path" via package "Autom4te::Request" (perhaps you forgot to load "Autom4te::Request"?) at /usr/bin/autom4te line 81.

Timo Lindfors <lindi>
Mon 10 Jul 2006 08:37:47 PM UTC, comment #6:

gnash seems to build with automake 1.6.3 but I can't test if the produced binary actually works until tomorrow.

Timo Lindfors <lindi>
Mon 10 Jul 2006 06:32:47 PM UTC, comment #5:

Excellent, we just need to get actually required version now.
Beside errors, does gnash build with 1.6 ?
BTW, you could try 1.5 manually:
ftp://sources.redhat.com/pub/automake/

Sandro Santilli <strk>
Project MemberIn charge of this item.
Mon 10 Jul 2006 05:57:27 PM UTC, comment #4:

I must admit I don't know much about automake. However, I noticed that
http://www.gnu.org/software/automake/manual/html_mono/automake.html#API%20versioning

seems to suggest for example

"AM_INIT_AUTOMAKE(1.6.1) dnl Require Automake 1.6.1 or better."

Unfortunately it doesn't say much about automatically selecting the right version if multiple versions are available.

I can't test 1.5 since it doesn't seem to be in debian sarge anymore but I tested with 1.6 and got the following output from autogen.sh:

processing .
Running aclocal -I macros ...
Running autoheader...
Running automake --gnu ...
doc/xmldocs.make:98: INSTALL_DATA_HOOK was already defined in condition TRUE, which implies condition GHELP_TRUE

INSTALL_DATA_HOOK (User, where = doc/xmldocs.make:98) +=
{
TRUE =>
}
doc/xmldocs.make:99: UNINSTALL_HOOK was already defined in condition TRUE, which implies condition GHELP_TRUE
UNINSTALL_HOOK (User, where = doc/xmldocs.make:99) +=
{
TRUE =>
}
doc/xmldocs.make:98: INSTALL_DATA_HOOK was already defined in condition TRUE, which implies condition ENABLE_TEXI_TRUE

INSTALL_DATA_HOOK (User, where = doc/xmldocs.make:98) +=
{
TRUE =>
GHELP_TRUE => omf install-data-omf-hook
}
doc/xmldocs.make:99: UNINSTALL_HOOK was already defined in condition TRUE, which implies condition ENABLE_TEXI_TRUE
UNINSTALL_HOOK (User, where = doc/xmldocs.make:99) +=
{
TRUE =>
GHELP_TRUE => uninstall-omf-hook
}
testsuite/actionscript.all/Makefile.am:94: EXTRA_DIST was already defined in condition TRUE, which implies condition ENABLE_MING_TRUE

EXTRA_DIST (User, where = testsuite/actionscript.all/Makefile.am:94) +=
{
TRUE => $(GENERATED:.swf=.as)
}
Running autoconf ...

Timo Lindfors <lindi>
Mon 10 Jul 2006 04:41:05 PM UTC, comment #3:

If anyone knows about a standard (or quick) way to add the
check I'd be glad to add it.
About callin 1.9 directly it doesn't seems right, as a newer
version would be nice to be run.
Finally, are we sure 1.9 is the first working version for us ?
I'd try with 1.5 and up if possible.

Sandro Santilli <strk>
Project MemberIn charge of this item.
Mon 10 Jul 2006 03:52:51 PM UTC, comment #2:

Thanks for the quick reply. Seems I had automake1.9 installed but /etc/alternatives/automake still pointed to automake1.4. Can you please add some check for automake version to autogen.sh?

Also, could gnash also optionally try to call "automake-1.9" directly?

Timo Lindfors <lindi>
Mon 10 Jul 2006 01:06:17 PM UTC, comment #1:

Note first error of automake:

automake: server/Makefile.am: not supported: source file `swf/ASHandlers.cpp' is in subdirectory

I think you need a more recent automake executable.
We should encode the requirement somewhere...

Sandro Santilli <strk>
Project MemberIn charge of this item.
Mon 10 Jul 2006 10:29:33 AM UTC, original submission:

Steps to reproduce:
1) cvs -z3 -d:pserver:anonymous@cvs.savannah.gnu.org:/sources/gnash co gnash
2) cd gnash; ./autogen.sh
3) ./configure
4) make

Expected results:
4) gnash should build and produce backend/gnash.

Actual results (see also attached build log):
4) Build fails with the following messages:
g++ -g -O2 -ansi -Wall -o .libs/gnash gnash.o /usr/lib/libjpeg.so -lpng /usr/lib/libogg.so -L/usr/lib /usr/lib/libxml2.so -lm /usr/lib/libSDL.so /usr/lib/libgtkglext-x11-1.0.so /usr/lib/libgdkglext-x11-1.0.so /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libpango-1.0.so /usr/lib/libatk-1.0.so /usr/lib/libglib-2.0.so -L/usr/X11R6/lib ./.libs/libgnashbackend.so ../server/.libs/libgnashserver.so ../server/.libs/libgnashasobjs.so ../libgeometry/.libs/libgnashgeo.so ../libbase/.libs/libgnashbase.so /usr/lib/libSDL_mixer.so -L/usr/share/qt3/lib -lGLU -lGL -lXmu -lSM -lICE -lz -lrt -laudio -lXt -lXext -lvga -lncurses -lslang -lX11 -ldl -lpthread -Wl,--rpath -Wl,/usr/local/lib
../server/.libs/libgnashserver.so: undefined reference to `gnash::SWF::SWFHandlers::execute(gnash::SWF::action_type, gnash::ActionExec&) const'
../server/.libs/libgnashserver.so: undefined reference to `gnash::SWF::tag_loaders::jpeg_tables_loader(gnash::stream, gnash::SWF::tag_type, gnash::movie_definition)'
../server/.libs/libgnashserver.so: undefined reference to `gnash::SWF::tag_loaders::define_edit_text_loader(gnash::stream, gnash::SWF::tag_type, gnash::movie_definition)'
../server/.libs/libgnashserver.so: undefined reference to `gnash::SWF::tag_loaders::button_sound_loader(gnash::stream, gnash::SWF::tag_type, gnash::movie_definition)'
...

More info:
I'm building gnash this time on a debian sarge system on x86.

Timo Lindfors <lindi>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #10325:  gnash-build-2006-07-10.log added by lindi (165KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 5 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Mon 10 Jul 2006 11:02:32 PM UTCstrkStatusReady For Test=>Fixed
  Open/ClosedOpen=>Closed
Mon 10 Jul 2006 01:06:17 PM UTCstrkStatusNone=>Ready For Test
  Assigned toNone=>strk
Mon 10 Jul 2006 10:29:33 AM UTClindiAttached File-=>Added gnash-build-2006-07-10.log, #10325

Back to the top


Powered by Savane 3.1-cleanup1