Complete.Org: Mailing Lists: Archives: freeciv-dev: May 2003:
[Freeciv-Dev] Re: (PR#4195) new SDL on solaris issues
Home

[Freeciv-Dev] Re: (PR#4195) new SDL on solaris issues

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: rt-guest@xxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#4195) new SDL on solaris issues
From: "Raimar Falke" <rf13@xxxxxxxxxxxxxxxxx>
Date: Thu, 8 May 2003 13:27:01 -0700
Reply-to: rt@xxxxxxxxxxxxxx

On Thu, May 08, 2003 at 07:16:23AM -0700, Guest wrote:
> 
> There are a few new issues in the SDL code introduced last night.  This
> is Solaris specific, since I haven't been able to test on any other
> platform.
> 
> 1. There is no "setenv" library call on Solaris.  This is used in
> freeciv/client/gui-sdl/gui_main.c.
> 
> 2. When linking, XMoveWindow isn't resolved.  I think it's in -lX11, but
> that isn't passed to the final client link line.
> 
> 3. There is no "FT_OPEN_STREAM" defined in the Solaris freetype header.
>  There is however a "ft_open_stream".  This is in SDL_ttf.c.

Same here:
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I./.. -I./../include -I../../common 
-I../../common/aicore -I../../intl -I./../agents -I/usr/include/SDL 
-D_REENTRANT -I/usr/include/freetype2  -Wall -Wpointer-arith -Wcast-align 
-Wmissing-prototypes -Wmissing-declarations -Werror -Wstrict-prototypes 
-Wnested-externs  -g -O2 -Wall -Wpointer-arith -Wcast-align 
-Wmissing-prototypes -Wmissing-declarations -I/usr/include/SDL -D_REENTRANT -c 
SDL_ttf.c
In file included from graphics.h:28,
                 from SDL_ttf.c:50:
gui_mem.h:28:1: "FREE" redefined
In file included from /usr/include/freetype2/freetype/internal/ftobjs.h:33,
                 from SDL_ttf.c:45:
/usr/include/freetype2/freetype/internal/ftmemory.h:259:1: this is the location 
of the previous definition
In file included from graphics.h:28,
                 from SDL_ttf.c:50:
gui_mem.h:39:1: "REALLOC" redefined
In file included from /usr/include/freetype2/freetype/internal/ftobjs.h:33,
                 from SDL_ttf.c:45:
/usr/include/freetype2/freetype/internal/ftmemory.h:247:1: this is the location 
of the previous definition
SDL_ttf.c: In function `TTF_OpenFontIndexRW':
SDL_ttf.c:281: `FT_OPEN_STREAM' undeclared (first use in this function)
SDL_ttf.c:281: (Each undeclared identifier is reported only once
SDL_ttf.c:281: for each function it appears in.)
make[3]: *** [SDL_ttf.o] Error 1

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "I was dead ... but I'm better now."
    -- Capitain Sheridan in Babylon 5




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