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, 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, 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 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
libSDL headers
Hi, 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 *** Could not run SDL test program, checking why... *** The test program failed to compile or link. See the file config.log for the *** exact error that occured. This usually means SDL was incorrectly installed *** or that you have moved SDL since it was installed. In the latter case, you *** may want to edit the sdl-config script: /usr/local/bin/sdl-config configure: error: SDL required *** Error code 1 config.log: configure:5811: cc -o conftest -lm -lGL -pthread -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -I/usr/local/include -I/usr/local/include/libpng -L/usr/X11R6/lib -L/usr/local/lib conftest.c -lGLU -lbz2 -lpng -ljpeg -lz -lsqlite3 -L/usr/local/lib -lSDL -pthread -L/usr/X11R6/lib 5 /usr/local/include/SDL/SDL_stdinc.h, line 184: redeclaration of alloca From another one: In file included from /usr/local/include/SDL/SDL_stdinc.h:137, from /usr/local/include/SDL/SDL_main.h:26, from /usr/local/include/SDL/SDL.h:28, from share/image.c:15: /usr/local/include/SDL/begin_code.h:94:8: warning: extra tokens at end of #endif directive The system is latest snapshot and i386. sdl-1.2.12p0-suncross-platform multimedia library sdl-gfx-2.0.13p1primitives drawing/other support functions for SDL sdl-image-1.2.4p3 SDL image library sdl-mixer-1.2.6p6 SDL multi-channel audio mixer library sdl-ttf-2.0.8p3 SDL TrueType fonts library -- 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
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