bugGnash - The GNU Flash player - Bugs: bug #15537, gnash fails to compile on 64bit...

 
 

bug #15537: gnash fails to compile on 64bit RHEL4

Submitted by:  None
Submitted on:  Thu 26 Jan 2006 01:30:26 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Release: NoneStatus: Fixed
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.

 

Fri 27 Jan 2006 02:37:07 PM UTC, comment #5:

The linker problem is a different issue, and I have a patch in development that'll fix this for the AMD64. I had to go back to using shared libraries as that platform doesn't support linking with staric libraries to produce a shared library.

Rob Savoye <rsavoye>
Project AdministratorIn charge of this item.
Fri 27 Jan 2006 08:30:06 AM UTC, comment #4:

Rob,

the declaration problem is fixed, but the following problem
remains:

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_H=1 -DHAVE_SYS_BITYPES_H=1 -DHAVE_MEMORY_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GNU_LIBC_VERSION_H=1 -DHAVE_NL_TYPES_H=1 -DHAVE_MALLOC_H=1 -DHAVE_X11_XKBLIB_H=1 -DHAVE_SYS_STATVFS_H=1 -DHAVE_SYS_STATFS_H=1-DHAVE_MMINTRIN_H=1 -DHAVE_SYS_CDEFS_H=1 -DHAVE_LIBM=1 -DHAVE_LIBDL=1 -DFUNCPROTO=15 -DHAVE_XSHM=1 -D_REENTRANT=1 -DHAVE_RANDOM=1 -DHAVE_STRERROR=1 -DHAVE_LCHOWN=1 -DHAVE_FCHMOD=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMMOVE=1 -DHAVE_RINT=1 -DHAVE_FLOCKFILE=1 -DHAVE_LOCALTIME_R=1 -DHAVE_STRTOK_R=1 -DHAVE_RES_NINIT=1 -DHAVE_GNU_GET_LIBC_VERSION=1 -DHAVE_LANGINFO_CODESET=1 -DVA_COPY=va_copy -DHAVE_VA_COPY=1 -DHAVE_VA_LIST_AS_ARRAY=1 -DHAVE_I18N_LC_MESSAGES=1 -DMOZ_DEFAULT_TOOLKIT=gtk2 -DMOZ_WIDGET_GTK2=1 -DMOZ_ENABLE_XREMOTE=1 -DMOZ_X11=1 -DMOZ_APP_NAME=mozilla -DMOZ_ENABLE_XFT=1 -DMOZ_ENABLE_COREXFONTS=1 -DMOZ_EXTRA_X11CONVERTERS=1 -DOJI=1 -DMOZ_ENABLE_XINERAMA=1 -DIBMBIDI=1 -DMOZ_VIEW_SOURCE=1 -DACCESSIBILITY=1 -DMOZ_XPINSTALL=1 -DMOZ_JSLOADER=1 -DHAVE_GSSAPI_GSSAPI_H=1 -DHAVE_GSSAPI_GSSAPI_GENERIC_H=1 -DHAVE_GSS_C_NT_HOSTBASED_SERVICE=1 -DMOZ_MATHML=1 -DMOZ_LOGGING=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 ogl_sdl.lo -MD -MP -MF .deps/ogl_sdl.Tpo -c ogl_sdl.cpp -o ogl_sdl.o >/dev/null 2>&1
/bin/sh ../libtool --mode=link --tag=CXX g++ -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 -L/usr/lib64/mozilla-1.7.12 -L/usr/X11R6/lib64 -lX11 -lXi -lXmu -L/usr/lib64 -lSDL -lpthread -lSDL_mixer -L/usr/X11R6/lib -lGL -lGLU -lxml2 -lpthread -lz -lm -ljpeg -lpng -logg -lvorbis -lm -o libgnash.la -rpath /usr/lib64/mozilla-1.7.12/plugins -module -avoid-version -no-undefined plugin.lo player.lo ogl_sdl.lo -L/usr/lib64/mozilla-1.7.12 -L/usr/X11R6/lib64 -lX11 -lXi -lXmu -L/usr/lib64 -lSDL -lpthread -lSDL_mixer -L/usr/X11R6/lib -lGL -lGLU -lxml2 -lpthread -lz -lm -ljpeg -lpng -logg -lvorbis -lm mozilla-sdk/libmozsdk.a ../backend/libgbackend.a ../server/libserver.a ../libgeometry/libgeometry.a ../libbase/libbase.a -lGLU

      • Warning: Linking the shared library libgnash.la against the
      • static library mozilla-sdk/libmozsdk.a is not portable!
      • Warning: Linking the shared library libgnash.la against the
      • static library ../backend/libgbackend.a is not portable!
      • Warning: Linking the shared library libgnash.la against the
      • static library ../server/libserver.a is not portable!
      • Warning: Linking the shared library libgnash.la against the
      • static library ../libgeometry/libgeometry.a is not portable!
      • Warning: Linking the shared library libgnash.la against the
      • static library ../libbase/libbase.a is not portable!

g++ -shared -nostdlib /usr/lib/gcc/x86_64-redhat-linux/3.4.4/../../../../lib64/crti.o /usr/lib/gcc/x86_64-redhat-linux/3.4.4/crtbeginS.o .libs/plugin.o .libs/player.o .libs/ogl_sdl.o -L/usr/lib64/mozilla-1.7.12 -L/usr/X11R6/lib64 -L/usr/lib64 -L/usr/X11R6/lib -lX11 -lXi -lXmu /usr/lib64/libSDL.so -lSDL_mixer-lGL /usr/lib64/libxml2.so -lpthread -lz /usr/lib64/libjpeg.so -lpng -logg -lvorbis mozilla-sdk/libmozsdk.a ../backend/libgbackend.a ../server/libserver.a ../libgeometry/libgeometry.a ../libbase/libbase.a -lGLU -L/usr/lib/gcc/x86_64-redhat-linux/3.4.4 -L/usr/lib/gcc/x86_64-redhat-linux/3.4.4/../../../../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/3.4.4/../../.. -L/lib/../lib64 -L/usr/lib/../lib64 -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-redhat-linux/3.4.4/crtendS.o /usr/lib/gcc/x86_64-redhat-linux/3.4.4/../../../.sed when making a shared object; recompile with -fPIC
mozilla-sdk/libmozsdk.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[3]: *** [libgnash.la] Error 1
make[3]: Leaving directory `/hardmnt/bartok0/ssi/software/gnash/plugin'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/hardmnt/bartok0/ssi/software/gnash/plugin'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/hardmnt/bartok0/ssi/software/gnash'
make: *** [all] Error 2

rpm -qa | grep mozilla
mozilla-nspr-1.7.12-1.4.1
mozilla-nss-devel-1.7.12-1.4.1
mozilla-dom-inspector-1.7.12-1.4.1
mozilla-nss-1.7.12-1.4.1
mozilla-nspr-devel-1.7.12-1.4.1
mozilla-js-debugger-1.7.12-1.4.1
mozilla-1.7.12-1.4.1
mozilla-chat-1.7.12-1.4.1
mozilla-nspr-1.7.12-1.4.1
mozilla-devel-1.7.12-1.4.1
mozilla-nss-1.7.12-1.4.1
mozilla-mail-1.7.12-1.4.1

cat /etc/issue
Red Hat Enterprise Linux WS release 4 (Nahant Update 2)
Kernel \r on an \m

uname -a
Linux bartok 2.6.9-22.0.1.ELsmp #1 SMP Tue Oct 18 18:39:02 EDT 2005 x86_64 x86_64 x86_64 GNU/Linux

Maybe you can have a look again?

Thanks

Markus

Markus Neteler <neteler>
Fri 27 Jan 2006 06:27:00 AM UTC, comment #3:

I got access to a AMD64-linux system, and just checked in a fix for this problem.

Rob Savoye <rsavoye>
Project AdministratorIn charge of this item.
Thu 26 Jan 2006 10:09:15 PM UTC, comment #2:

Rob,

the problem remains the same. Somwhere the file
/usr/include/mozilla-1.7.12/nspr/obsolete/protypes.h
is included which already defines the 64bit types.
Since protypes.h is in an obsolete/ directory, it
should probably not be included?

One of these includes somehow fetches the file:
./plugin/mozilla-sdk/np_entry.cpp:#include "npplat.h"
./plugin/mozilla-sdk/np_entry.cpp:#include "pluginbase.h"
./plugin/mozilla-sdk/npn_gate.cpp:#include "npplat.h"
./plugin/mozilla-sdk/npp_gate.cpp:#include "pluginbase.h"
./plugin/mozilla-sdk/npplat.h:#include "npapi.h"
./plugin/mozilla-sdk/npplat.h:#include "npupp.h"
./plugin/mozilla-sdk/npplat.h:#include "windows.h"
./plugin/mozilla-sdk/npplat.h:#include <stdio.h>
./plugin/mozilla-sdk/npplat.h:#include <Processes.h>
./plugin/mozilla-sdk/npplat.h:#include <Gestalt.h>
./plugin/mozilla-sdk/npplat.h:#include <CodeFragments.h>
./plugin/mozilla-sdk/npplat.h:#include <Timer.h>
./plugin/mozilla-sdk/npplat.h:#include <Resources.h>
./plugin/mozilla-sdk/npplat.h:#include <ToolUtils.h>
./plugin/mozilla-sdk/npplat.h:#include "jri.h"
./plugin/mozilla-sdk/pluginbase.h:#include "npplat.h"

I tried an #ifndef PROTYPES_H around the 64bt types,
then it compiles but fails later with other ugly errors:

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_H=1 -DHAVE_SYS_BITYPES_H=1 -DHAVE_MEMORY_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GNU_LIBC_VERSION_H=1 -DHAVE_NL_TYPES_H=1 -DHAVE_MALLOC_H=1 -DHAVE_X11_XKBLIB_H=1 -DHAVE_SYS_STATVFS_H=1 -DHAVE_SYS_STATFS_H=1 -DHAVE_MMINTRIN_H=1 -DHAVE_SYS_CDEFS_H=1 -DHAVE_LIBM=1 -DHAVE_LIBDL=1 -DFUNCPROTO=15 -DHAVE_XSHM=1 -D_REENTRANT=1 -DHAVE_RANDOM=1 -DHAVE_STRERROR=1 -DHAVE_LCHOWN=1 -DHAVE_FCHMOD=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMMOVE=1 -DHAVE_RINT=1 -DHAVE_FLOCKFILE=1 -DHAVE_LOCALTIME_R=1 -DHAVE_STRTOK_R=1 -DHAVE_RES_NINIT=1 -DHAVE_GNU_GET_LIBC_VERSION=1 -DHAVE_LANGINFO_CODESET=1 -DVA_COPY=va_copy -DHAVE_VA_COPY=1 -DHAVE_VA_LIST_AS_ARRAY=1 -DHAVE_I18N_LC_MESSAGES=1 -DMOZ_DEFAULT_TOOLKIT=gtk2 -DMOZ_WIDGET_GTK2=1 -DMOZ_ENABLE_XREMOTE=1 -DMOZ_X11=1 -DMOZ_APP_NAME=mozilla -DMOZ_ENABLE_XFT=1 -DMOZ_ENABLE_COREXFONTS=1 -DMOZ_EXTRA_X11CONVERTERS=1 -DOJI=1 -DMOZ_ENABLE_XINERAMA=1 -DIBMBIDI=1 -DMOZ_VIEW_SOURCE=1 -DACCESSIBILITY=1 -DMOZ_XPINSTALL=1 -DMOZ_JSLOADER=1 -DHAVE_GSSAPI_GSSAPI_H=1 -DHAVE_GSSAPI_GSSAPI_GENERIC_H=1 -DHAVE_GSS_C_NT_HOSTBASED_SERVICE=1 -DMOZ_MATHML=1 -DMOZ_LOGGING=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 ogl_sdl.lo -MD -MP -MF .deps/ogl_sdl.Tpo -c ogl_sdl.cpp -o ogl_sdl.o >/dev/null 2>&1
/bin/sh ../libtool --mode=link --tag=CXX g++ -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 -L/usr/lib64/mozilla-1.7.12 -L/usr/X11R6/lib64 -lX11 -lXi -lXmu -L/usr/lib64 -lSDL -lpthread -lSDL_mixer -L/usr/X11R6/lib -lGL -lGLU -lxml2 -lpthread -lz -lm -ljpeg -lpng -logg -lvorbis -lm -o libgnash.la -rpath /usr/lib64/mozilla-1.7.12/plugins -module -avoid-version -no-undefined plugin.lo player.lo ogl_sdl.lo -L/usr/lib64/mozilla-1.7.12 -L/usr/X11R6/lib64 -lX11 -lXi -lXmu -L/usr/lib64 -lSDL -lpthread -lSDL_mixer -L/usr/X11R6/lib -lGL -lGLU -lxml2 -lpthread -lz -lm -ljpeg -lpng -logg -lvorbis -lm mozilla-sdk/libmozsdk.a ../backend/libgbackend.a ../server/libserver.a ../libgeometry/libgeometry.a ../libbase/libbase.a -lGLU

      • Warning: Linking the shared library libgnash.la against the
      • static library mozilla-sdk/libmozsdk.a is not portable!
      • Warning: Linking the shared library libgnash.la against the
      • static library ../backend/libgbackend.a is not portable!
      • Warning: Linking the shared library libgnash.la against the
      • static library ../server/libserver.a is not portable!
      • Warning: Linking the shared library libgnash.la against the
      • static library ../libgeometry/libgeometry.a is not portable!
      • Warning: Linking the shared library libgnash.la against the
      • static library ../libbase/libbase.a is not portable!

g++ -shared -nostdlib /usr/lib/gcc/x86_64-redhat-linux/3.4.4/../../../../lib64/crti.o /usr/lib/gcc/x86_64-redhat-linux/3.4.4/crtbeginS.o .libs/plugin.o .libs/player.o .libs/ogl_sdl.o -L/usr/lib64/mozilla-1.7.12 -L/usr/X11R6/lib64 -L/usr/lib64 -L/usr/X11R6/lib -lX11 -lXi -lXmu /usr/lib64/libSDL.so -lSDL_mixer -lGL /usr/lib64/libxml2.so -lpthread -lz /usr/lib64/libjpeg.so -lpng -logg -lvorbis mozilla-sdk/libmozsdk.a ../backend/libgbackend.a ../server/libserver.a ../libgeometry/libgeometry.a ../libbase/libbase.a -lGLU -L/usr/lib/gcc/x86_64-redhat-linux/3.4.4 -L/usr/lib/gcc/x86_64-redhat-linux/3.4.4/../../../../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/3.4.4/../../.. -L/lib/../lib64 -L/usr/lib/../lib64 -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-redhat-linux/3.4.4/crtendS.o /usr/lib/gcc/x86_64-redhat-linux/3.4.4/../../../../lib64/crtn.o -Wl,-soname -Wl,libgnash.so -o .libs/libgnash.so
/usr/bin/ld: mozilla-sdk/libmozsdk.a(np_entry.o): relocation R_X86_64_32S against `NPP_New' can not be used when making a shared object; recompile with -fPIC
mozilla-sdk/libmozsdk.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[3]: *** [libgnash.la] Error 1
make[3]: Leaving directory `/hardmnt/bartok0/ssi/software/gnash/plugin'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/hardmnt/bartok0/ssi/software/gnash/plugin'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/hardmnt/bartok0/ssi/software/gnash'
make: *** [all] Error 2

Sorry for no better news,

Markus

Markus Neteler <neteler>
Thu 26 Jan 2006 05:11:22 PM UTC, comment #1:

I just checked in what I hope is a fix for 64 bit systems. Rather than redefining all the 64 type defs in tu_type.h which were conflicting, I made them default to the SDL defined versions instead. This still compiles on a 32 bit GNU/Linux system, please let me know if it works now on your 64 bit GNU/Linux system.

Since I don't own a 64 bit GNU/Linux machine, I can't test this patch.

Rob Savoye <rsavoye>
Project AdministratorIn charge of this item.
Thu 26 Jan 2006 01:30:26 PM UTC, original submission:

Hi,

I tried to compile today's CVS version on Redhat Enterprise 4/64bit.

./autogen.sh ; ./configure
...
Configurable options are:
Intel 810 LOD bias hack disabled (default)
MP3 (libmad) support disabled (default). Use --enable-mp3 to enable
Web server support disabled (default)
Firefox plugin enabled (default)

Configured paths for x86_64-redhat-linux-gnu are:
Docbook styles sheets in /usr/share/sgml/docbook/xsl-stylesheets
XML flags are: -I/usr/include/libxml2
XML libs are: -lxml2 -lpthread -lz -lm
PNG flags are: default include path
PNG libs are: -lpng
JPEG flags are: default include path
JPEG libs are: -ljpeg
OGG flags are: default include path
OGG libs are: -logg
VORBIS flags are: default include path
VORBIS libs are: -lvorbis -lm
Opengl flags are: -I/usr/include
Opengl libs are: -L/usr/X11R6/lib -lGL -lGLU
SDL flags are: -I/usr/include/SDL -D_REENTRANT
SDL libs are: -L/usr/lib64 -lSDL -lpthread
SDL_Mixer flags are: -I/usr/include/SDL
SDL_Mixer libs are: -lSDL_mixer
Firefox flags are: -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
Firefox libs are: -L/usr/lib64/mozilla-1.7.12

Compilation fails at
...
make[3]: Leaving directory `/hardmnt/bartok0/ssi/software/gnash/plugin/mozilla-sdk'
make[3]: Entering directory `/hardmnt/bartok0/ssi/software/gnash/plugin'
if /bin/sh ../libtool --mode=compile --tag=CXX 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_H=1 -DHAVE_SYS_BITYPES_H=1 -DHAVE_MEMORY_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GNU_LIBC_VERSION_H=1 -DHAVE_NL_TYPES_H=1 -DHAVE_MALLOC_H=1 -DHAVE_X11_XKBLIB_H=1 -DHAVE_SYS_STATVFS_H=1 -DHAVE_SYS_STATFS_H=1 -DHAVE_MMINTRIN_H=1 -DHAVE_SYS_CDEFS_H=1 -DHAVE_LIBM=1 -DHAVE_LIBDL=1 -DFUNCPROTO=15 -DHAVE_XSHM=1 -D_REENTRANT=1 -DHAVE_RANDOM=1 -DHAVE_STRERROR=1 -DHAVE_LCHOWN=1 -DHAVE_FCHMOD=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMMOVE=1 -DHAVE_RINT=1 -DHAVE_FLOCKFILE=1 -DHAVE_LOCALTIME_R=1 -DHAVE_STRTOK_R=1 -DHAVE_RES_NINIT=1 -DHAVE_GNU_GET_LIBC_VERSION=1 -DHAVE_LANGINFO_CODESET=1-DVA_COPY=va_copy -DHAVE_VA_COPY=1 -DHAVE_VA_LIST_AS_ARRAY=1 -DHAVE_I18N_LC_MESSAGES=1 -DMOZ_DEFAULT_TOOLKIT="gtk2" -DMOZ_WIDGET_GTK2=1 -DMOZ_ENABLE_XREMOTE=1 -DMOZ_X11=1 -DMOZ_APP_NAME="mozilla" -DMOZ_ENABLE_XFT=1 -DMOZ_ENABLE_COREXFONTS=1 -DMOZ_EXTRA_X11CONVERTERS=1 -DOJI=1 -DMOZ_ENABLE_XINERAMA=1 -DIBMBIDI=1 -DMOZ_VIEW_SOURCE=1 -DACCESSIBILITY=1 -DMOZ_XPINSTALL=1 -DMOZ_JSLOADER=1 -DHAVE_GSSAPI_GSSAPI_H=1 -DHAVE_GSSAPI_GSSAPI_GENERIC_H=1 -DHAVE_GSS_C_NT_HOSTBASED_SERVICE=1 -DMOZ_MATHML=1 -DMOZ_LOGGING=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 -o plugin.lo plugin.cpp; \
then mv -f ".deps/plugin.Tpo" ".deps/plugin.Plo"; else rm -f ".deps/plugin.Tpo"; exit 1; fi
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_H=1 -DHAVE_SYS_BITYPES_H=1 -DHAVE_MEMORY_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GNU_LIBC_VERSION_H=1 -DHAVE_NL_TYPES_H=1 -DHAVE_MALLOC_H=1 -DHAVE_X11_XKBLIB_H=1 -DHAVE_SYS_STATVFS_H=1 -DHAVE_SYS_STATFS_H=1-DHAVE_MMINTRIN_H=1 -DHAVE_SYS_CDEFS_H=1 -DHAVE_LIBM=1 -DHAVE_LIBDL=1 -DFUNCPROTO=15 -DHAVE_XSHM=1 -D_REENTRANT=1 -DHAVE_RANDOM=1 -DHAVE_STRERROR=1 -DHAVE_LCHOWN=1 -DHAVE_FCHMOD=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMMOVE=1 -DHAVE_RINT=1 -DHAVE_FLOCKFILE=1 -DHAVE_LOCALTIME_R=1 -DHAVE_STRTOK_R=1 -DHAVE_RES_NINIT=1 -DHAVE_GNU_GET_LIBC_VERSION=1 -DHAVE_LANGINFO_CODESET=1 -DVA_COPY=va_copy -DHAVE_VA_COPY=1 -DHAVE_VA_LIST_AS_ARRAY=1 -DHAVE_I18N_LC_MESSAGES=1 -DMOZ_DEFAULT_TOOLKIT=gtk2 -DMOZ_WIDGET_GTK2=1 -DMOZ_ENABLE_XREMOTE=1 -DMOZ_X11=1 -DMOZ_APP_NAME=mozilla -DMOZ_ENABLE_XFT=1 -DMOZ_ENABLE_COREXFONTS=1 -DMOZ_EXTRA_X11CONVERTERS=1 -DOJI=1 -DMOZ_ENABLE_XINERAMA=1 -DIBMBIDI=1 -DMOZ_VIEW_SOURCE=1 -DACCESSIBILITY=1 -DMOZ_XPINSTALL=1 -DMOZ_JSLOADER=1 -DHAVE_GSSAPI_GSSAPI_H=1 -DHAVE_GSSAPI_GSSAPI_GENERIC_H=1 -DHAVE_GSS_C_NT_HOSTBASED_SERVICE=1 -DMOZ_MATHML=1 -DMOZ_LOGGING=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
In file included from ../server/types.h:13,
from ../server/action.h:31,
from ../server/xml.h:26,
from ../server/xmlsocket.h:24,
from plugin.cpp:48:
../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:61: error: declaration of `typedef Uint64 uint64'
/usr/include/mozilla-1.7.12/nspr/obsolete/protypes.h:105: error: conflicts with previous declaration `typedef PRUint64 uint64'
../libbase/tu_types.h:61: error: declaration of `typedef Uint64 uint64'
/usr/include/mozilla-1.7.12/nspr/obsolete/protypes.h:105: error: conflicts with previous declaration `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'
../libbase/tu_types.h:63: error: declaration of `typedef Sint64 int64'
/usr/include/mozilla-1.7.12/nspr/obsolete/protypes.h:142: error: conflicts with previous declaration `typedef PRInt64 int64'
../libbase/tu_types.h:63: error: declaration of `typedef Sint64 int64'
/usr/include/mozilla-1.7.12/nspr/obsolete/protypes.h:142: error: conflicts with previous declaration `typedef PRInt64 int64'
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:158: warning: when initialized here
plugin.cpp: At global scope:
plugin.cpp:78: warning: 'void log_callback(bool, const char*)' defined but not used
make[3]: *** [plugin.lo] Error 1
make[3]: Leaving directory `/hardmnt/bartok0/ssi/software/gnash/plugin'

Probably /usr/include/mozilla-1.7.12/nspr/obsolete/protypes.h should not be included?

Markus

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

Date Changed By Updated Field Previous Value => Replaced By
Fri 27 Jan 2006 06:27:00 AM UTCrsavoyeOpen/ClosedOpen=>Closed
Fri 27 Jan 2006 06:26:59 AM UTCrsavoyeStatusReady For Test=>Fixed
Thu 26 Jan 2006 05:11:22 PM UTCrsavoyeStatusNone=>Ready For Test
  Assigned toNone=>rsavoye
Thu 26 Jan 2006 03:04:53 PM UTCnetelerCarbon-Copy-=>Added neteler

Back to the top


Powered by Savane 3.1-cleanup1