Hi,
This is probably a little off topic, but apparently when trying to compile
Starfighter, one of the headers includes SDL_endian.h. However it does the
following,
g++ -DLINUX -DPACKLOCATION=\"/usr/share/parallelrealities/starfighter.pak\"
-Wall -g -O3 -c code/Starfighter.cpp
g++ -DLINUX -DPACKLOCATION=\"/usr/share/parallelrealities/starfighter.pak\"
-Wall -g -O3 -c code/title.cpp
g++ -DLINUX -DPACKLOCATION=\"/usr/share/parallelrealities/starfighter.pak\"
-Wall -g -O3 -c code/unpack.cpp
In file included from code/unpack.h:8,
from code/unpack.cpp:1:
/usr/lib/gcc-lib/i386-slackware-linux/3.2.2/include/SDL/SDL_endian.h:56:23:
SDL_types.h: No such file or directory
/usr/lib/gcc-lib/i386-slackware-linux/3.2.2/include/SDL/SDL_endian.h:57:23:
SDL_rwops.h: No such file or directory
/usr/lib/gcc-lib/i386-slackware-linux/3.2.2/include/SDL/SDL_endian.h:58:27:
SDL_byteorder.h: No such file or directory
/usr/lib/gcc-lib/i386-slackware-linux/3.2.2/include/SDL/SDL_endian.h:60:24:
begin_code.h: No such file or directory
/usr/lib/gcc-lib/i386-slackware-linux/3.2.2/include/SDL/SDL_endian.h:156:24:
close_code.h: No such file or directory
make: *** [unpack.o] Error 1
Which is odd because I would have thought that pretty much ever include for
SDL would require begin_code.h
Any ideas?
Cheers,
Steve 
Sweeney, Steven (FNB) wrote:
Hi,
This is probably a little off topic, but apparently when trying to compile
Starfighter, one of the headers includes SDL_endian.h. However it does the
following,
g++ -DLINUX -DPACKLOCATION=\"/usr/share/parallelrealities/starfighter.pak\"
-Wall -g -O3 -c code/Starfighter.cpp
g++ -DLINUX -DPACKLOCATION=\"/usr/share/parallelrealities/starfighter.pak\"
-Wall -g -O3 -c code/title.cpp
g++ -DLINUX -DPACKLOCATION=\"/usr/share/parallelrealities/starfighter.pak\"
-Wall -g -O3 -c code/unpack.cpp
In file included from code/unpack.h:8,
from code/unpack.cpp:1:
/usr/lib/gcc-lib/i386-slackware-linux/3.2.2/include/SDL/SDL_endian.h:56:23:
SDL_types.h: No such file or directory
/usr/lib/gcc-lib/i386-slackware-linux/3.2.2/include/SDL/SDL_endian.h:57:23:
SDL_rwops.h: No such file or directory
/usr/lib/gcc-lib/i386-slackware-linux/3.2.2/include/SDL/SDL_endian.h:58:27:
SDL_byteorder.h: No such file or directory
/usr/lib/gcc-lib/i386-slackware-linux/3.2.2/include/SDL/SDL_endian.h:60:24:
begin_code.h: No such file or directory
/usr/lib/gcc-lib/i386-slackware-linux/3.2.2/include/SDL/SDL_endian.h:156:24:
close_code.h: No such file or directory
make: *** [unpack.o] Error 1
Which is odd because I would have thought that pretty much ever include for
SDL would require begin_code.h
Any ideas?
I’m not an expert, but this looks like either some of include files are
missing or the compiler cannot find them.
Check whether you have sdl-config, and what it outputs.
Check makefile and see if sdl-config --cflags
it used at all.
HTH–
Milan Babuskov
http://fbexport.sourceforge.net