Re: [TuxKart-devel] TuxKart Won't Compile On PPC
Status: Alpha
Brought to you by:
sjbaker
From: Ingo R. <gr...@gm...> - 2004-08-14 15:30:26
|
jo...@bv... writes: > I am trying 'make' tuxkart, > Mandrake on a PowerBook, > this is what it says: > > g++ -DPACKAGE=\"tuxkart\" -DVERSION=\"0.4.0\" -DHAVE_LIBGL=1 > -DSTDC_HEADERS=1 -DHAVE_GL_GL_H=1 -DLINUX_JOYSTICK_IS_PRESENT=1 > -DTUXKART_DATADIR=\"/chez/joel/share/games/tuxkart\" -I. -I. > -I/usr/local/include -g -O2 -O6 -Wall -c -o gfx.o `test -f gfx.cxx || > echo './'`gfx.cxx > gfx.cxx:7:20: sys/io.h: No such file or directory > gfx.cxx:8:81: sys/perm.h: No such file or directory > > glibc is properly installed and ./configure worked > without error. Apparently, this file is supposed > to not exist on ppc. > > What should I do to get it working? Hide the includes: #include <sys/io.h> #include <sys/perm.h> in gfx.h behind '#ifndef UL_LINUX ... #endif' and see if it works then, if it does, just send us a patch which you can get by "cvs diff -u". -- WWW: http://pingus.seul.org/~grumbel/ JabberID: gr...@ja... ICQ: 59461927 |