Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jan 2007 22:33:27 GMT
From:      Dave Morgan<morgad@eclipse.co.uk>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/108323: graphics/gnash does not compile
Message-ID:  <200701242233.l0OMXRNV061103@www.freebsd.org>
Resent-Message-ID: <200701242240.l0OMeJQ1008316@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         108323
>Category:       ports
>Synopsis:       graphics/gnash does not compile
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 24 22:40:18 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Dave Morgan
>Release:        6.1-RELEASE
>Organization:
>Environment:
FreeBSD laptop.local 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May  7 04:32:43 UTC 2006     root@opus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
I am using the current ports collection (via portsnap fetch update) and gnash 0.7.1 will not compile 

I have Googled for 

/usr/local/include/SDL11/SDL_rwops.h:102:1: warning: this is the location of the previous definition

and got to

http://www.mail-archive.com/gnash@gnu.org/msg00988.html

which leads to

http://www.mail-archive.com/gnash@gnu.org/msg00989.html

summary '0.7.1 is not supported anymore, get 0.7.2 instead...'
>How-To-Repeat:
laptop# cd /usr/ports/graphics/gnash/
laptop# make install
===>  Building for gnash-0.7.1_1
gmake  all-recursive
gmake[1]: Entering directory `/usr/ports/graphics/gnash/work/gnash-0.7.1'
Making all in libbase
gmake[2]: Entering directory `/usr/ports/graphics/gnash/work/gnash-0.7.1/libbase'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/usr/ports/graphics/gnash/work/gnash-0.7.1/libbase'
Making all in libgeometry
gmake[2]: Entering directory `/usr/ports/graphics/gnash/work/gnash-0.7.1/libgeometry'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/usr/ports/graphics/gnash/work/gnash-0.7.1/libgeometry'
Making all in server
gmake[2]: Entering directory `/usr/ports/graphics/gnash/work/gnash-0.7.1/server'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/usr/ports/graphics/gnash/work/gnash-0.7.1/server'
Making all in backend
gmake[2]: Entering directory `/usr/ports/graphics/gnash/work/gnash-0.7.1/backend'
if /bin/sh ../libtool --mode=compile --tag=CXX c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../server -I../libbase -I../backend -I../libgeometry -I/usr/include -I/usr/local/include/SDL11 -I/usr/local/include/SDL -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/cairo -I/usr/local/include/atk-1.0     -I/usr/local/include  -DQT_THREAD_SUPPORT  -D_THREAD_SAFE   -O2 -fno-strict-aliasing -pipe -Wall -MT sound_handler_sdl.lo -MD -MP -MF ".deps/sound_handler_sdl.Tpo" -c -o sound_handler_sdl.lo sound_handler_sdl.cpp; \
then mv -f ".deps/sound_handler_sdl.Tpo" ".deps/sound_handler_sdl.Plo"; else rm -f ".deps/sound_handler_sdl.Tpo"; exit 1; fi
 c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../server -I../libbase -I../backend -I../libgeometry -I/usr/include -I/usr/local/include/SDL11 -I/usr/local/include/SDL -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/cairo -I/usr/local/include/atk-1.0 -I/usr/local/include -DQT_THREAD_SUPPORT -D_THREAD_SAFE -O2 -fno-strict-aliasing -pipe -Wall -MT sound_handler_sdl.lo -MD -MP -MF .deps/sound_handler_sdl.Tpo -c sound_handler_sdl.cpp  -fPIC -DPIC -o .libs/sound_handler_sdl.o
In file included from /usr/local/include/SDL/SDL_stdinc.h:28,
                 from /usr/local/include/SDL/SDL_types.h:24,
                 from /usr/local/include/SDL/SDL_mixer.h:28,
                 from sound_handler_sdl.cpp:15:
/usr/local/include/SDL/SDL_config.h:48:1: warning: "SDL_HAS_64BIT_TYPE" redefined
In file included from /usr/local/include/SDL11/SDL.h:34,
                 from ../libbase/tu_types.h:48,
                 from ../libbase/utility.h:15,
                 from ../libbase/container.h:72,
                 from ../server/Object.h:45,
                 from ../server/gnash.h:54,
                 from sound_handler_sdl.cpp:13:
/usr/local/include/SDL11/SDL_types.h:61:1: warning: this is the location of the previous definition
In file included from /usr/local/include/SDL/SDL_stdinc.h:28,
                 from /usr/local/include/SDL/SDL_types.h:24,
                 from /usr/local/include/SDL/SDL_mixer.h:28,
                 from sound_handler_sdl.cpp:15:
/usr/local/include/SDL/SDL_config.h:51:1: warning: "SDL_BYTEORDER" redefined
In file included from /usr/local/include/SDL11/SDL_audio.h:39,
                 from /usr/local/include/SDL11/SDL.h:39,
                 from ../libbase/tu_types.h:48,
                 from ../libbase/utility.h:15,
                 from ../libbase/container.h:72,
                 from ../server/Object.h:45,
                 from ../server/gnash.h:54,
                 from sound_handler_sdl.cpp:13:
/usr/local/include/SDL11/SDL_byteorder.h:50:1: warning: this is the location of the previous definition
In file included from /usr/local/include/SDL/SDL_types.h:24,
                 from /usr/local/include/SDL/SDL_mixer.h:28,
                 from sound_handler_sdl.cpp:15:
/usr/local/include/SDL/SDL_stdinc.h:77:1: warning: "SDL_TABLESIZE" redefined
In file included from /usr/local/include/SDL11/SDL.h:34,
                 from ../libbase/tu_types.h:48,
                 from ../libbase/utility.h:15,
                 from ../libbase/container.h:72,
                 from ../server/Object.h:45,
                 from ../server/gnash.h:54,
                 from sound_handler_sdl.cpp:13:
/usr/local/include/SDL11/SDL_types.h:34:1: warning: this is the location of the previous definition
In file included from /usr/local/include/SDL/SDL_types.h:24,
                 from /usr/local/include/SDL/SDL_mixer.h:28,
                 from sound_handler_sdl.cpp:15:
/usr/local/include/SDL/SDL_stdinc.h:80: error: multiple definition of `enum SDL_bool'
/usr/local/include/SDL11/SDL_types.h:37: error: previous definition here
/usr/local/include/SDL/SDL_stdinc.h:81: error: conflicting declaration 'SDL_FALSE'
/usr/local/include/SDL11/SDL_types.h:38: error: 'SDL_FALSE' has a previous declaration as `SDL_bool SDL_FALSE'
/usr/local/include/SDL/SDL_stdinc.h:81: error: declaration of `SDL_FALSE'
/usr/local/include/SDL11/SDL_types.h:38: error: conflicts with previous declaration `SDL_bool SDL_FALSE'
/usr/local/include/SDL/SDL_stdinc.h:83: error: conflicting declaration 'SDL_TRUE'
/usr/local/include/SDL11/SDL_types.h:40: error: 'SDL_TRUE' has a previous declaration as `SDL_bool SDL_TRUE'
/usr/local/include/SDL/SDL_stdinc.h:83: error: declaration of `SDL_TRUE'
/usr/local/include/SDL11/SDL_types.h:40: error: conflicts with previous declaration `SDL_bool SDL_TRUE'
/usr/local/include/SDL/SDL_stdinc.h:128: error: conflicting declaration 'DUMMY_ENUM_VALUE'
/usr/local/include/SDL11/SDL_types.h:111: error: 'DUMMY_ENUM_VALUE' has a previous declaration as `SDL_DUMMY_ENUM DUMMY_ENUM_VALUE'
/usr/local/include/SDL/SDL_stdinc.h:128: error: declaration of `DUMMY_ENUM_VALUE'
/usr/local/include/SDL11/SDL_types.h:111: error: conflicts with previous declaration `SDL_DUMMY_ENUM DUMMY_ENUM_VALUE'
/usr/local/include/SDL/SDL_stdinc.h:128: error: conflicting declaration 'typedef enum SDL_DUMMY_ENUM SDL_DUMMY_ENUM'
/usr/local/include/SDL11/SDL_types.h:111: error: 'SDL_DUMMY_ENUM' has a previous declaration as `typedef enum SDL_DUMMY_ENUM SDL_DUMMY_ENUM'
/usr/local/include/SDL/SDL_stdinc.h:128: error: declaration of `typedef enum SDL_DUMMY_ENUM SDL_DUMMY_ENUM'
/usr/local/include/SDL11/SDL_types.h:111: error: conflicts with previous declaration `typedef enum SDL_DUMMY_ENUM SDL_DUMMY_ENUM'
/usr/local/include/SDL/SDL_stdinc.h:128: error: declaration of `typedef enum SDL_DUMMY_ENUM SDL_DUMMY_ENUM'
/usr/local/include/SDL11/SDL_types.h:111: error: conflicts with previous declaration `typedef enum SDL_DUMMY_ENUM SDL_DUMMY_ENUM'
In file included from /usr/local/include/SDL/SDL_mixer.h:29,
                 from sound_handler_sdl.cpp:15:
/usr/local/include/SDL/SDL_rwops.h:41: error: redefinition of `struct SDL_RWops'
/usr/local/include/SDL11/SDL_rwops.h:47: error: previous definition of `struct SDL_RWops'
/usr/local/include/SDL/SDL_rwops.h:87: error: ISO C++ forbids declaration of `SDL_RWops' with no type
/usr/local/include/SDL/SDL_rwops.h:87: error: conflicting declaration 'typedef int SDL_RWops'
/usr/local/include/SDL11/SDL_rwops.h:85: error: 'SDL_RWops' has a previous declaration as `typedef struct SDL_RWops SDL_RWops'
/usr/local/include/SDL/SDL_rwops.h:87: error: declaration of `typedef int SDL_RWops'
/usr/local/include/SDL11/SDL_rwops.h:85: error: conflicts with previous declaration `typedef struct SDL_RWops SDL_RWops'
/usr/local/include/SDL/SDL_rwops.h:87: error: declaration of `typedef int SDL_RWops'
/usr/local/include/SDL11/SDL_rwops.h:85: error: conflicts with previous declaration `typedef struct SDL_RWops SDL_RWops'
In file included from /usr/local/include/SDL/SDL_mixer.h:29,
                 from sound_handler_sdl.cpp:15:
/usr/local/include/SDL/SDL_rwops.h:110:1: warning: "SDL_RWtell" redefined
In file included from /usr/local/include/SDL11/SDL.h:37,
                 from ../libbase/tu_types.h:48,
                 from ../libbase/utility.h:15,
                 from ../libbase/container.h:72,
                 from ../server/Object.h:45,
                 from ../server/gnash.h:54,
                 from sound_handler_sdl.cpp:13:
/usr/local/include/SDL11/SDL_rwops.h:102:1: warning: this is the location of the previous definition
gmake[2]: *** [sound_handler_sdl.lo] Error 1
gmake[2]: Leaving directory `/usr/ports/graphics/gnash/work/gnash-0.7.1/backend'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/graphics/gnash/work/gnash-0.7.1'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/graphics/gnash.
laptop#

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200701242233.l0OMXRNV061103>