Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
d1x and kernel 2.6, is it possible?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
Admiral LSD
Guru
Guru


Joined: 27 Jun 2003
Posts: 522
Location: Northam, W.A., Australia

PostPosted: Tue Mar 16, 2004 4:09 am    Post subject: d1x and kernel 2.6, is it possible? Reply with quote

I went to play d1x (a version of Descent 1 for Linux) a few days ago only to find that it would play fine for a few minutes and then lag/stutter like mad making it unplayable. Thinking it might be the fact it was compiled against older libraries/kernel I went to recompile it only to be face with this after what looked like a successful make dep:

Code:
genom d1x # make
make -C arch
make[1]: Entering directory `/usr/src/d1x/arch'
make -C linux
make[2]: Entering directory `/usr/src/d1x/arch/linux'
make -C ggi
make[3]: Entering directory `/usr/src/d1x/arch/linux/ggi'
gcc -g -c -Wall -O3  -funsigned-char -I../../../include -DNDEBUG -fomit-frame-pointer -DNMONO -DNETWORK -DRELEASE  -DD1XMAJOR=\"1\" -DD1XMINOR=\"43\" -DSUPPORTS_NET_IP -DGLX_VIDEO -I../../../arch/ogl/include -DOGL -I../../../arch/linux/include -D__LINUX__ -DGII_XWIN -D_REENTRANT -DHAVE_NETIPX_IPX_H -D__GGI__ -I../../../arch/linux/ggi/include -DGII_INPUT -I../../../main  -o init.o init.c
In file included from init.c:4:
../../../arch/linux/ggi/include/event.h:10:28: ggi/input/xwin.h: No such file or directory
In file included from init.c:4:
../../../arch/linux/ggi/include/event.h:11: error: syntax error before '*' tokenmake[3]: *** [init.o] Error 1
make[3]: Leaving directory `/usr/src/d1x/arch/linux/ggi'
make[2]: *** [ggi] Error 2
make[2]: Leaving directory `/usr/src/d1x/arch/linux'
make[1]: *** [linux] Error 2
make[1]: Leaving directory `/usr/src/d1x/arch'
make: *** [arch] Error 2


The section of the code it's choking on is here:

Code:
// Event header file
 
#ifndef _EVENT_H
#define _EVENT_H
 
int event_init();
void event_poll();
 
#ifdef GII_XWIN
#include <ggi/input/xwin.h>
void init_gii_xwin(Display *disp,Window win);
#endif
 
#endif


Can anyone see what might be wrong? It's not all that important I get this running but I'd kind of like to play it again simply for nostalgia's sake.
_________________
Wasurenaide...
...watashi ga iru koto o.
Itsudatte soba ni iru yo.

Registered Linux user #319839
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum