bugGnash - The GNU Flash player - Bugs: bug #15465, Autoconf fails on FC4 x86_64

 
 

bug #15465: Autoconf fails on FC4 x86_64

Submitted by:  None
Submitted on:  Tue 17 Jan 2006 04:27:11 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Release: NoneStatus: Works For Me
Privacy: PublicAssigned to: Rob Savoye <rsavoye>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Wed 25 Jan 2006 03:46:14 AM UTC, comment #3:

Rob,

By the way, I'm using gcc version 4.0.2 20051125.

Stuart

Anonymous
Wed 25 Jan 2006 03:33:30 AM UTC, comment #2:

Rob,

Neither the README nor INSTALL file says anything about
running the autogen.sh script - only about running autoconf.
I am/was too naive to realize that autogen.sh was what I
needed. I'm running FC4 x86_64.

Having run autgen.sh, it seems to me that the Makefiles
created are (I think) deficient in that most of the libraries
referenced are of a 32-bit persuasion. I hand-edited all
the makefiles to add -L/usr/lib64 in front of the
associated -l* flags. (All except the X_PRE_LIBS line.)

This got me past the incompatible library errors, but now
I'm stuck at:

g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../libbase -I../libgeometry -I../server -I./mozilla-sdk -I/usr/include/libxml2 -I/usr/include/mozilla-1.7.12/java -I/usr/include/mozilla-1.7.12/plugin -I/usr/include/mozilla-1.7.12 -I/usr/include/mozilla-1.7.12/nspr -I/usr/include/SDL -D_REENTRANT -I/usr/include/SDL -I/usr/X11R6/include -Wall -DPLUGIN_TRACE -DXP_UNIX -DHAVE_64BIT_OS=1 -DMOZILLA_VERSION=1.7.12 -DD_INO=d_ino -DSTDC_HEADERS=1 -DHAVE_ST_BLKSIZE=1 -DHAVE_SIGINFO_T=1 -DHAVE_INT16_T=1 -DHAVE_INT32_T=1 -DHAVE_INT64_T=1 -DHAVE_UINT=1 -DHAVE_UNAME_DOMAINNAME_FIELD=1 -DHAVE_VISIBILITY_ATTRIBUTE=1 -DHAVE_DIRENT_H=1 -DHAVE_GETOPT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OGGING=1 -DHAVE___CXA_DEMANGLE=1 -DMOZ_DEFAULT_MOZILLA_FIVE_HOME=/usr/lib64/mozilla-1.7.12 -DMOZ_USER_DIR=.mozilla -DMOZ_XUL=1 -DMOZ_PROFILESHARING=1 -DMOZ_PROFILELOCKING=1 -DMOZ_DLL_SUFFIX=.so -DXP_UNIX=1 -DUNIX_ASYNC_DNS=1 -DJS_THREADSAFE=1 -DNS_PRINT_PREVIEW=1 -DNS_PRINTING=1 -DMOZ_ACCESSIBILITY_ATK=1 -DMOZILLA_LOCALE_VERSION=1.7 -DMOZILLA_REGION_VERSION=1.7 -DMOZILLA_SKIN_VERSION=1.5 -I.. -I. -I../libbase -I../libgeometry -I../server -I./mozilla-sdk -I/usr/include/libxml2 -I/usr/include/mozilla-1.7.12/java -I/usr/include/mozilla-1.7.12/plugin -I/usr/include/mozilla-1.7.12 -I/usr/include/mozilla-1.7.12/nspr -I/usr/include/SDL -D_REENTRANT -I/usr/include/SDL -I/usr/X11R6/include -g -O2 -MT plugin.lo -MD -MP -MF .deps/plugin.Tpo -c plugin.cpp -fPIC -DPIC -o .libs/plugin.o
./mozilla-sdk/pluginbase.h:35: warning: 'class nsPluginInstanceBase' has virtual functions but non-virtual destructor
../server/gnash.h:273: warning: 'struct gnash::movie_definition::import_visitor' has virtual functions but non-virtual destructor
../libbase/tu_types.h:61: error: conflicting declaration 'typedef Uint64 uint64'/usr/include/mozilla-1.7.12/nspr/obsolete/protypes.h:105: error: 'uint64' has a previous declaration as 'typedef PRUint64 uint64'
../libbase/tu_types.h:63: error: conflicting declaration 'typedef Sint64 int64'
/usr/include/mozilla-1.7.12/nspr/obsolete/protypes.h:142: error: 'int64' has a previous declaration as 'typedef PRInt64 int64'
../server/action.h:192: warning: 'struct gnash::as_property_interface' has virtual functions but non-virtual destructor
plugin.h: In constructor 'nsPluginInstance::nsPluginInstance(NPP_t*)':
plugin.h:88: warning: 'nsPluginInstance::mWindow' will be initialized after
plugin.h:84: warning: '_WidgetRec* nsPluginInstance::mXtwidget'
plugin.cpp:151: warning: when initialized here
plugin.cpp: In member function 'virtual NPError nsPluginInstance::WriteStatus(char*) const':
plugin.cpp:412: warning: control reaches end of non-void function
plugin.cpp: In member function 'virtual NPError nsPluginInstance::DestroyStream(NPStream*, NPError)':
plugin.cpp:471: warning: control reaches end of non-void function
plugin.cpp: In member function 'virtual Sint32 nsPluginInstance::Write(NPStream, Sint32, Sint32, void)':
plugin.cpp:501: warning: control reaches end of non-void function
plugin.cpp: At global scope:
plugin.cpp:76: warning: 'void log_callback(bool, const char*)' defined but not used
make[3]: *** [plugin.lo] Error 1
make[3]: Leaving directory `/home/work/gnash/plugin'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/work/gnash/plugin'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/work/gnash'
make: *** [all] Error 2
[srd@gecko /home/work/gnash]
$

Thanks for your help and your great work creating gnash!

Stuart

Anonymous
Wed 18 Jan 2006 06:15:00 PM UTC, comment #1:

It looks like you need to run the autogen.sh script, which runs aclocal -I macros. It also looks like you don't have automake installed on your system, which is where the other macros come from.

Rob Savoye <rsavoye>
Project AdministratorIn charge of this item.
Tue 17 Jan 2006 04:27:11 AM UTC, original submission:

Using the following CVS (1/16/2006) on FC4 x86_64:

cvs -z3 -d:pserver:anonymous@cvs.sv.gnu.org:/sources/gnash co gnash

autoconf complains about configure.ac as follows:

configure.ac:22: error: possibly undefined macro: AM_CONFIG_HEADER
If this token and others are legitimate, please use
m4_pattern_allow.
See the Autoconf documentation.
configure.ac:27: error: possibly undefined macro: AM_INIT_AUTOMAKE
configure.ac:28: error: possibly undefined macro: AM_MAINTAINER_MODE
configure.ac:52: error: possibly undefined macro: AM_PATH_LIBXML2
configure.ac:54: error: possibly undefined macro: AM_CONDITIONAL
configure.ac:129: error: possibly undefined macro: AC_DOCBOOK_STYLES
configure.ac:146: error: possibly undefined macro: AC_PATH_FIREFOX
configure.ac:151: error: possibly undefined macro: AM_COMPILER_LIB
configure.ac:153: error: possibly undefined macro: AC_PROG_LIBTOOL
configure.ac:155: error: possibly undefined macro: AM_PATH_ZLIB
configure.ac:156: error: possibly undefined macro: AM_PATH_JPEG
configure.ac:157: error: possibly undefined macro: AM_PATH_PNG
configure.ac:171: error: possibly undefined macro: AM_PATH_SDL
configure.ac:172: error: possibly undefined macro: AM_PATH_SDL_MIXER
configure.ac:173: error: possibly undefined macro: AM_PATH_OPENGL

Subsequently/obviously, ./configure also fails:

./configure: line 1325: syntax error near unexpected token `config.h'
./configure: line 1325: `AM_CONFIG_HEADER(config.h)'

Looking forward to gnash working on x86_64 since flash doesn't!
Thanks for your work!

Stuart DeGraaf

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

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 4 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Thu 26 Jan 2006 04:49:53 PM UTCrsavoyeStatusNeed Info=>Works For Me
  Open/ClosedOpen=>Closed
Wed 18 Jan 2006 06:15:00 PM UTCrsavoyeStatusNone=>Need Info
  Assigned toNone=>rsavoye

Back to the top


Powered by Savane 3.1-cleanup1