Re: libSDL headers
On Wed, Nov 21, 2007 at 03:53:20PM +0200, Antti Harri wrote: > On Wed, 21 Nov 2007, Antoine Jacoutot wrote: > > >Sorry I misunderstood, I though you were having a problem related to SDL. > > Oh you mean bzflag has SDL as dependency and it's okay for it to fail > in the configure stage? > > No offense, but did you even look at the config.log, or > the provided typescript? > > >There have been a lot of changes in audio recently, make sure you have > >very recent system and ports. > > How recent? I'm running latest snapshot base (just updated > from nov 17 to newest, ftp timestamp nov 20) and packages (they were up to > date already).. CVS updated the ports tree also. looks like alloca() is being defined before SDL/SDL_stdinc.h is being included. AFAICS, alloca() is defined in stdlib.h, but only if __BSD_VISIBLE != 0. __BSD_VISIBLE is defined in /usr/include/cdefs.h. sorry, that's all I can figure out right now. -- [EMAIL PROTECTED] SDF Public Access UNIX System - http://sdf.lonestar.org
Re: libSDL headers
On Wed, Nov 21, 2007 at 02:25:38PM +0100, Giovanni Bechis wrote: > On Wed, Nov 21, 2007 at 01:36:56PM +0100, Antoine Jacoutot wrote: > > I leave the audio people answer on this one, maybe just a header problem, > > maybe no. > > > > c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include > > -I/usr/X11R6/include -I/usr/X11R6/include -O2 -pipe -O0 -MT LinuxMedia.lo > > -MD -MP -MF .deps/LinuxMedia.Tpo -c LinuxMedia.cxx -fPIC -DPIC -o > > .libs/LinuxMedia.o > > LinuxMedia.cxx:26:27: sys/soundcard.h: No such file or directory > > > Shouldn't it be soundcard.h instead of sys/soundcard.h ? yes, but it should be using SDL for audio output instead of it's own audio code. -- [EMAIL PROTECTED] SDF Public Access UNIX System - http://sdf.lonestar.org
Re: libSDL headers
On Wed, 21 Nov 2007, Antoine Jacoutot wrote: Sorry I misunderstood, I though you were having a problem related to SDL. Oh you mean bzflag has SDL as dependency and it's okay for it to fail in the configure stage? No offense, but did you even look at the config.log, or the provided typescript? There have been a lot of changes in audio recently, make sure you have very recent system and ports. How recent? I'm running latest snapshot base (just updated from nov 17 to newest, ftp timestamp nov 20) and packages (they were up to date already).. CVS updated the ports tree also. -- Antti Harri
Re: libSDL headers
On Wed, Nov 21, 2007 at 01:36:56PM +0100, Antoine Jacoutot wrote: > I leave the audio people answer on this one, maybe just a header problem, > maybe no. > > c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include > -I/usr/X11R6/include -I/usr/X11R6/include -O2 -pipe -O0 -MT LinuxMedia.lo > -MD -MP -MF .deps/LinuxMedia.Tpo -c LinuxMedia.cxx -fPIC -DPIC -o > .libs/LinuxMedia.o > LinuxMedia.cxx:26:27: sys/soundcard.h: No such file or directory > Shouldn't it be soundcard.h instead of sys/soundcard.h ? Giovanni
Re: libSDL headers
On Wed, 21 Nov 2007, Antti Harri wrote: Sure: http://users.openbsd.fi/iku/bzflag/ Sorry I misunderstood, I though you were having a problem related to SDL. There have been a lot of changes in audio recently, make sure you have very recent system and ports. I leave the audio people answer on this one, maybe just a header problem, maybe no. c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I/usr/X11R6/include -I/usr/X11R6/include -O2 -pipe -O0 -MT LinuxMedia.lo -MD -MP -MF .deps/LinuxMedia.Tpo -c LinuxMedia.cxx -fPIC -DPIC -o .libs/LinuxMedia.o LinuxMedia.cxx:26:27: sys/soundcard.h: No such file or directory LinuxMedia.cxx: In member function `bool LinuxMedia::openAudioHardware()': LinuxMedia.cxx:151: error: `AFMT_S16_LE' undeclared (first use this function) LinuxMedia.cxx:151: error: (Each undeclared identifier is reported only once for each function it appears in.) -- Antoine
Re: libSDL headers
On Wed, 21 Nov 2007, Antoine Jacoutot wrote: That is strange, I cannot reproduce here. My problems usually are :-) Can you send me a transcript from buildling games/bzflag please. Sure: http://users.openbsd.fi/iku/bzflag/ -- Antti Harri
Re: libSDL headers
On Wed, 21 Nov 2007, Antti Harri wrote: XMoto, Neverball and now that I tested Lincity-NG and games/bzflag too. That is strange, I cannot reproduce here. Can you send me a transcript from buildling games/bzflag please. -- Antoine
Re: libSDL headers
On Tue, 20 Nov 2007, Antoine Jacoutot wrote: And which port(s) would this be? XMoto, Neverball and now that I tested Lincity-NG and games/bzflag too. What could be wrong? I've re-installed (-r -F installed) all the sdl-* ports so at least they should be correctly installed. As source I'm using: ftp://ftp.se.openbsd.org/pub/OpenBSD/snapshots/packages/i386 -- Antti Harri
Re: libSDL headers
On Tue, 20 Nov 2007, Antti Harri wrote: compiling ports that used to work now give me this: checking for SDL - version >= 1.0.0... checking for sdl-config... /usr/local/bin/sdl-config no And which port(s) would this be? -- Antoine