gnash-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-dev] Compilation error


From: Li Haitao
Subject: [Gnash-dev] Compilation error
Date: Sat, 13 May 2006 01:06:21 +0800
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

Hi all, 

I made a fresh cvs check out and got this compilation error:

(Linux version 2.6.15-21-386 (gcc version 4.0.3 (Ubuntu 4.0.3-1ubuntu5)) 

-----------------------
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make sets $(MAKE)... (cached) yes
checking for pkg-config... yes
checking for kde-config... not found
configure: kde-config not found
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for style of include used by make... GNU
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking if C++ programs can be compiled... yes
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for strlcat... no
checking if strlcat needs custom prototype... yes - in libkdefakes
checking for strlcpy... no
checking if strlcpy needs custom prototype... yes - in libkdefakes
checking for main in -lutil... yes
checking for main in -lcompat... no
checking for crypt in -lcrypt... yes
checking for socklen_t... yes
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for inet_ntoa... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for sys/types.h... (cached) yes
checking for stdint.h... (cached) yes
checking sys/bitypes.h usability... yes
checking sys/bitypes.h presence... yes
checking for sys/bitypes.h... yes
checking for poll in -lpoll... no
checking Carbon/Carbon.h usability... no
checking Carbon/Carbon.h presence... no
checking for Carbon/Carbon.h... no
checking CoreAudio/CoreAudio.h usability... no
checking CoreAudio/CoreAudio.h presence... no
checking for CoreAudio/CoreAudio.h... no
checking if res_init needs -lresolv... yes
checking for res_init... yes
checking if res_init needs custom prototype... no
checking for killpg in -lucb... no
checking for int... yes
checking size of int... 4
checking for short... yes
checking size of short... 2
checking for long... yes
checking size of long... 4
checking for char *... yes
checking size of char *... 4
checking for dlopen in -ldl... yes
checking for shl_unload in -ldld... no
checking for size_t... yes
checking size of size_t... 4
checking for unsigned long... yes
checking size of unsigned long... 4
checking sizeof size_t == sizeof unsigned long... yes
checking crt_externs.h usability... no
checking crt_externs.h presence... no
checking for crt_externs.h... no
checking for _NSGetEnviron... no
checking for vsnprintf... yes
checking for snprintf... yes
not using lib directory suffix
checking for X... libraries /usr/X11R6/lib, headers .
checking for IceConnectionNumber in -lICE... yes
checking for libXext... yes
checking for pthread_create in -lpthread... yes
checking for extra includes... 
checking for zlib header... /usr/include
checking for zlib library... /usr/lib
checking for libpng... -lpng -lz -lm
checking for libjpeg6b... no
checking for libjpeg... -ljpeg
checking for perl... /usr/bin/perl
checking for Qt... configure: Qt (headers and libraries) not found.
no
checking if Qt needs -ljpeg... yes
checking for rpath... yes
checking for KDE... configure: no KDE headers installed.
configure: no KDE libraries installed.
configure: I can't find the KDE designer plugins.
will be installed in /usr/local
checking for KDE paths... defaults
checking for xml2-config... /usr/bin/xml2-config
checking for libxml2... yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking for a BSD-compatible install... /usr/bin/install -c -p
checking for library file name specifics... no
checking for mallinfo... yes
checking for X... libraries /usr/X11R6/lib, headers .
checking for gethostbyname... yes
checking for connect... (cached) yes
checking for remove... (cached) yes
checking for shmat... (cached) yes
checking for IceConnectionNumber in -lICE... (cached) yes
checking dejagnu.h usability... no
checking dejagnu.h presence... no
checking for dejagnu.h... no
checking for XmuCvtStringToOrientation in -lXmu... yes
checking for XInput_find_display in -lXi... yes
checking for XDisableAccessControl in -lX11... yes
checking for shm_unlink in -lrt... yes
checking for shm_open... yes
checking for strcasecmp... yes
checking for stricmp... no
checking for vsnprintf... (cached) yes
checking for finite... yes
checking for isfinite... no
checking for sysconf... yes
checking for shmget... yes
checking for shmat... (cached) yes
checking for mmap... yes
checking for gettimeofday... yes
checking winsock.h usability... no
checking winsock.h presence... no
checking for winsock.h... no
checking for socket... yes
checking for CreateFileMappingA... no
checking how to run the C++ preprocessor... g++ -E
checking ext/hash_map usability... yes
checking ext/hash_map presence... yes
checking for ext/hash_map... yes
(cached) checking for zlib header... /usr/include
checking for zlib library... (cached) checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking for jpeg_mem_init in -ljpeg... yes
checking for png.h header in specified directory... no
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking for png_check_sig in -lpng... yes
checking for ming-config... no
checking for doxygen... /usr/bin/doxygen
checking ogg.h usability... no
checking ogg.h presence... no
checking for ogg.h... no
checking for libogg header... checking for ogg_sync_init in -logg... yes
checking for the SDL Version... checking for SDL header... /usr/include/SDL
checking for sdl library... checking for SDL_Init in -lSDL... yes
checking for SDL_mixer header... /usr/include/SDL
checking for sdl_mixer library... checking for Mix_Linked_Version in 
-lSDL_mixer... yes
checking for Mix_Linked_Version in -lSDL_mixer-1.2... no
checking for SDL_mixer library... checking for the Gstreamer Version... none
checking gst/gst.h usability... no
checking gst/gst.h presence... no
checking for gst/gst.h... no
checking for libgstreamer header... checking GL/gl.h usability... yes
checking GL/gl.h presence... yes
checking for GL/gl.h... yes
checking for glBegin in -lGL... yes
checking for the Gtk GL Extensions Version... none
checking gtk/gtkgl.h usability... no
checking gtk/gtkgl.h presence... no
checking for gtk/gtkgl.h... no
checking for libglext header... checking for the Gtk Version... checking 
gtk/gtk.h usability... no
checking gtk/gtk.h presence... no
checking for gtk/gtk.h... no
checking for libgtk2 header... yes
checking for gtk_init in -lgtk-x11-2.0... yes
checking for fltk.h header in specified directory... no
checking fltk/FL_API.h usability... no
checking fltk/FL_API.h presence... no
checking for fltk/FL_API.h... no
checking for libfltk header... checking for fl_xmap in -lfltk... no
checking for libfltk library... checking for xft.h header in specified 
directory... no
checking Xft/Xft.h usability... no
checking Xft/Xft.h presence... no
checking for Xft/Xft.h... no
checking for libxft header... checking for XftGlyphRender in -lXft... yes
checking cairo/cairo.h usability... no
checking cairo/cairo.h presence... no
checking for cairo/cairo.h... no
checking for Cairo header... yes
checking for cairo_status in -lcairo... yes
checking for the Glib Version... 2.0
checking glib.h usability... no
checking glib.h presence... no
checking for glib.h... no
checking for libglib header... yes
checking for g_io_channel_init in -lglib-2.0... yes
checking for the Pango Version... 1.0
checking pango/pango.h usability... no
checking pango/pango.h presence... no
checking for pango/pango.h... no
checking for libpango header... yes
checking for pango_engine_shape_class_init in -lpango-1.0... no
checking for libpango library... checking for the Atk Version... 1.0
checking atk/atkgl.h usability... no
checking atk/atkgl.h presence... no
checking for atk/atkgl.h... no
checking for libatk header... yes
checking for atk_focus_tracker_init in -latk-1.0... yes
checking for pthread.h... no
checking for libpthread header... yes
checking for pthread_kill in -lpthread... yes
checking for a sed that does not truncate output... /bin/sed
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libbase/Makefile
config.status: creating libgeometry/Makefile
config.status: creating server/Makefile
config.status: creating libamf/Makefile
config.status: creating backend/Makefile
config.status: creating utilities/Makefile
config.status: creating doc/Makefile
config.status: creating doc/C/Makefile
config.status: creating doc/Doxyfile
config.status: creating testsuite/Makefile
config.status: creating testsuite/actionscript.all/Makefile
config.status: creating testsuite/misc-ming.all/Makefile
config.status: creating plugin/Makefile
config.status: creating plugin/klash/Makefile
config.status: creating gui/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands

Configurable options are:
        Intel 810 LOD bias hack disabled (default). Use --enable-i810-lod-bias 
to enable.
        MP3 (libmad) support disabled (default). Use --enable-mp3 to enable
        POSIX Threads support enabled (default)
        Web server support disabled (default)
        DMalloc support disabled (default). Use --enable-dmalloc to enable.
        XML and XMLSocket enabled (default). Use --disable-xml to disable.
        Firefox plugin enabled (default). Use --disable-plugin to disable.
        Konqueror plugin disabled (default). Use --enable-klash to enable.
        GNOME help disabled (default). Use --enable-ghelp to enable.
        Unit testing support enabled (default)
        Renderer engine: opengl
        GUI: gtk

Configured paths for i686-pc-linux-gnu are:
        DocBook document processing disabled (default)
        XML flags are: -I/usr/include/libxml2
        XML libs are: -L/usr/lib -lxml2 -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
        Opengl flags are: default include path
        Opengl libs are: -lGL -lGLU
        Gtk2 flags are: -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
        Gtk2 libs are: -lgtk-x11-2.0 -lgdk-x11-2.0
        Pango flags are: -I/usr/include/pango-1.0
        Pango libs are: -lpango-1.0
        Glib flags are: -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
        Glib libs are: -lglib-2.0
        Atk flags are: -I/usr/include/atk-1.0
        Atk libs are: -latk-1.0
        Xft flags are: -I/usr/include/X11
        Xft libs are: -lXft
        SDL flags are: -I/usr/include/SDL
        SDL libs are: -lSDL
        SDL_Mixer flags are: -I/usr/include/SDL
        SDL_Mixer libs are: -lSDL_mixer
        Plugin will be installed in /home/haitao/.mozilla/plugins
        POSIX Threads flags are: -I/usr/include
        POSIX Threads lib is: -lpthread


--------------------------
Making all in backend
make[2]: Entering directory `/home/haitao/src/gnash/backend'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../server -I../libbase 
-I../backend -I../libgeometry -I/usr/include -I/usr/include/SDL 
-I/usr/include/SDL -I/usr/include/libxml2   -I/usr/include/gtk-2.0 
-I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include -I/usr/include/cairo -I/usr/include/atk-1.0       
-DQT_THREAD_SUPPORT  -D_REENTRANT  -g -O2     -ansi     -Wall      -MT gnash.o 
-MD -MP -MF ".deps/gnash.Tpo" -c -o gnash.o gnash.cpp; \
        then mv -f ".deps/gnash.Tpo" ".deps/gnash.Po"; else rm -f 
".deps/gnash.Tpo"; exit 1; fi
gnash.cpp:102: error: ‘movie_state_e’ does not name a type
gnash.cpp: In function ‘int main(int, char**)’:
gnash.cpp:199: error: ‘GdkGLConfigMode’ was not declared in this scope
gnash.cpp:199: error: expected `;' before ‘glcmode’
gnash.cpp:206: error: ‘gtk_gl_init’ was not declared in this scope
gnash.cpp:207: error: ‘gdk_gl_query_version’ was not declared in this scope
gnash.cpp:210: error: ‘glcmode’ was not declared in this scope
gnash.cpp:210: error: ‘GDK_GL_MODE_RGB’ was not declared in this scope
gnash.cpp:211: error: ‘GDK_GL_MODE_DEPTH’ was not declared in this scope
gnash.cpp:212: error: ‘GDK_GL_MODE_DOUBLE’ was not declared in this scope
gnash.cpp:213: error: ‘glconfig’ was not declared in this scope
gnash.cpp:213: error: ‘gdk_gl_config_new_by_mode’ was not declared in this scope
gnash.cpp:499: error: ‘delete_event’ was not declared in this scope
gnash.cpp:501: error: ‘key_press_event’ was not declared in this scope
gnash.cpp:512: error: ‘GDK_GL_RGBA_TYPE’ was not declared in this scope
gnash.cpp:512: error: ‘gtk_widget_set_gl_capability’ was not declared in this 
scope
gnash.cpp:513: error: ‘realize_event’ was not declared in this scope
gnash.cpp:515: error: ‘configure_event’ was not declared in this scope
gnash.cpp:517: error: ‘expose_event’ was not declared in this scope
gnash.cpp:519: error: ‘unrealize_event’ was not declared in this scope
gnash.cpp:529: error: ‘popup_handler’ was not declared in this scope
gnash.cpp:534: error: ‘add_menuitems’ was not declared in this scope
gnash.cpp:537: error: ‘button_press_event’ was not declared in this scope
gnash.cpp:539: error: ‘button_release_event’ was not declared in this scope
gnash.cpp:541: error: ‘motion_notify_event’ was not declared in this scope
gnash.cpp:808: error: ‘movie_menu_state’ was not declared in this scope
gnash.cpp:809: error: ‘PLAY_MOVIE’ was not declared in this scope
gnash.cpp:813: error: ‘RESTART_MOVIE’ was not declared in this scope
gnash.cpp:816: error: ‘STOP_MOVIE’ was not declared in this scope
gnash.cpp:819: error: ‘PAUSE_MOVIE’ was not declared in this scope
gnash.cpp:827: error: ‘STEP_BACKWARD’ was not declared in this scope
gnash.cpp:831: error: ‘STEP_FORWARD’ was not declared in this scope
gnash.cpp:835: error: ‘JUMP_BACKWARD’ was not declared in this scope
gnash.cpp:839: error: ‘JUMP_FORWARD’ was not declared in this scope
gnash.cpp:844: error: ‘QUIT_MOVIE’ was not declared in this scope
gnash.cpp:850: error: ‘movie_menu_state’ was not declared in this scope
gnash.cpp:850: error: ‘IDLE_MOVIE’ was not declared in this scope
gnash.cpp:862: error: ‘glcontext’ was not declared in this scope
gnash.cpp:862: error: ‘gtk_widget_get_gl_context’ was not declared in this scope
gnash.cpp:863: error: ‘GdkGLDrawable’ was not declared in this scope
gnash.cpp:863: error: ‘gldrawable’ was not declared in this scope
gnash.cpp:863: error: ‘gtk_widget_get_gl_drawable’ was not declared in this 
scope
gnash.cpp:864: error: ‘gdk_gl_drawable_gl_begin’ was not declared in this scope
gnash.cpp:883: error: ‘gdk_gl_drawable_is_double_buffered’ was not declared in 
this scope
gnash.cpp:884: error: ‘gdk_gl_drawable_swap_buffers’ was not declared in this 
scope
gnash.cpp:889: error: ‘gdk_gl_drawable_gl_end’ was not declared in this scope
gnash.cpp: At global scope:
gnash.cpp:94: warning: ‘s_antialiased’ defined but not used
make[2]: *** [gnash.o] Error 1
make[2]: Leaving directory `/home/haitao/src/gnash/backend'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/haitao/src/gnash'
make: *** [all] Error 2

Thanks and regards,

Haitao




reply via email to

[Prev in Thread] Current Thread [Next in Thread]