Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2003:
[Freeciv-Dev] Re: (PR#6201) 1.14: SDL mixer compilation problem
Home

[Freeciv-Dev] Re: (PR#6201) 1.14: SDL mixer compilation problem

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: rt-guest@xxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#6201) 1.14: SDL mixer compilation problem
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 20 Oct 2003 09:56:07 -0700
Reply-to: rt@xxxxxxxxxxxxxx

Guest wrote:
> [jdorje - Fri Sep 19 15:24:27 2003]:
> 
> 
>>Do you have the same problem with the CVS snapshots?
>>
>>ftp://ftp.freeciv.org/freeciv/latest/
>>
>>jason
> 
> 
> Sorry I havn't replied before, but I'm not familiar with this RT system.
> I have just tried it again with CVS-Oct-12, and I have the exact same
> problem. The ./configure script says everything is fine (in particular,
> it finds SDL_mixer.h), but 'make' (which is gmake) fails to compile it.
> The error I get is the following:
> 
> --- (cut and past) ---
> 
> make[3]: Entering directory `/freeciv-cvs-Oct-12/client'
> source='audio_esd.c' object='audio_esd.o' libtool=no \
> depfile='.deps/audio_esd.Po' tmpdepfile='.deps/audio_esd.TPo' \
> depmode=gcc3 /bin/sh ../depcomp \
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./include -I../common
> -I../common/aicore -I../intl -I./agents   -I/site/include
> -I/site/include/SDL -D_REENTRANT    -g -O2 -Wall -Wpointer-arith
> -Wcast-align -Wmissing-prototypes -Wmissing-declarations -c `test -f
> 'audio_esd.c' || echo './'`audio_esd.c
> source='audio_sdl.c' object='audio_sdl.o' libtool=no \
> depfile='.deps/audio_sdl.Po' tmpdepfile='.deps/audio_sdl.TPo' \
> depmode=gcc3 /bin/sh ../depcomp \
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./include -I../common
> -I../common/aicore -I../intl -I./agents   -I/site/include
> -I/site/include/SDL -D_REENTRANT    -g -O2 -Wall -Wpointer-arith
> -Wcast-align -Wmissing-prototypes -Wmissing-declarations -c `test -f
> 'audio_sdl.c' || echo './'`audio_sdl.c

What does "sdl-config --cflags" give you?

Looks like this'll have -I/site/include/SDL in it somewhere, meaning 
that /site/include/SDL is where sdl.h and other files are supposed to 
reside.  If they're in /usr/include/SDL instead, then you'd have a 
problem.  The question would be why sdl-config thought they were in the 
wrong place.

This looks like a bug in your SDL installation to me.

jason




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