You are not logged in.

#1 2016-07-16 19:40:01

Megameneer
Member
Registered: 2013-11-05
Posts: 34

Can't compile XRacer

Hello everybody,

Lately, I am quite interested in playing old Linux games. I have stumbled upon XRacer (https://web.archive.org/web/20090805062 … are/xracer), which hasn't been developed for 16 years and hence the bit rot got in this code. When I wanted to compile it, I stumbled upon an error when I ran

make

:

dennis@Catalyst ~/Downloads/xracer-0.96.9 % make
make all-recursive
make[1]: Map '/home/dennis/Downloads/xracer-0.96.9' wordt binnengegaan
Making all in include
make[2]: Map '/home/dennis/Downloads/xracer-0.96.9/include' wordt binnengegaan
make[2]: Er hoeft niets gedaan te worden voor 'all'.
make[2]: Map '/home/dennis/Downloads/xracer-0.96.9/include' wordt verlaten
Making all in src
make[2]: Map '/home/dennis/Downloads/xracer-0.96.9/src' wordt binnengegaan
Making all in mpeg
make[3]: Map '/home/dennis/Downloads/xracer-0.96.9/src/mpeg' wordt binnengegaan
gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I../../include   -O3 -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wcast-align -Wwrite-strings -c display.c
gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I../../include   -O3 -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wcast-align -Wwrite-strings -c getbits.c
gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I../../include   -O3 -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wcast-align -Wwrite-strings -c getblk.c
gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I../../include   -O3 -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wcast-align -Wwrite-strings -c gethdr.c
gethdr.c: In functie ‘sequence_header’:
gethdr.c:140:7: let op: variable ‘pos’ set but not used [-Wunused-but-set-variable]
   int pos;
       ^~~
gethdr.c: In functie ‘group_of_pictures_header’:
gethdr.c:216:7: let op: variable ‘pos’ set but not used [-Wunused-but-set-variable]
   int pos;
       ^~~
gethdr.c: In functie ‘picture_header’:
gethdr.c:262:7: let op: variable ‘Extra_Information_Byte_Count’ set but not used [-Wunused-but-set-variable]
   int Extra_Information_Byte_Count;
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
gethdr.c:261:7: let op: variable ‘pos’ set but not used [-Wunused-but-set-variable]
   int pos;
       ^~~
gethdr.c: In functie ‘_mpeg2slice_header’:
gethdr.c:329:7: let op: variable ‘extra_information_slice’ set but not used [-Wunused-but-set-variable]
   int extra_information_slice = 0;
       ^~~~~~~~~~~~~~~~~~~~~~~
gethdr.c:328:7: let op: variable ‘slice_picture_id’ set but not used [-Wunused-but-set-variable]
   int slice_picture_id = 0;
       ^~~~~~~~~~~~~~~~
gethdr.c:327:7: let op: variable ‘slice_picture_id_enable’ set but not used [-Wunused-but-set-variable]
   int slice_picture_id_enable = 0;
       ^~~~~~~~~~~~~~~~~~~~~~~
gethdr.c:326:7: let op: variable ‘pos’ set but not used [-Wunused-but-set-variable]
   int pos;
       ^~~
gethdr.c: In functie ‘sequence_display_extension’:
gethdr.c:558:7: let op: variable ‘pos’ set but not used [-Wunused-but-set-variable]
   int pos;
       ^~~
gethdr.c: In functie ‘quant_matrix_extension’:
gethdr.c:609:7: let op: variable ‘pos’ set but not used [-Wunused-but-set-variable]
   int pos;
       ^~~
gethdr.c: In functie ‘sequence_scalable_extension’:
gethdr.c:671:7: let op: variable ‘pos’ set but not used [-Wunused-but-set-variable]
   int pos;
       ^~~
gethdr.c: In functie ‘picture_display_extension’:
gethdr.c:735:7: let op: variable ‘pos’ set but not used [-Wunused-but-set-variable]
   int pos;
       ^~~
gethdr.c: In functie ‘picture_coding_extension’:
gethdr.c:810:7: let op: variable ‘pos’ set but not used [-Wunused-but-set-variable]
   int pos;
       ^~~
gethdr.c: In functie ‘picture_spatial_scalable_extension’:
gethdr.c:886:7: let op: variable ‘pos’ set but not used [-Wunused-but-set-variable]
   int pos;
       ^~~
gethdr.c: In functie ‘_mpeg2marker_bit’:
gethdr.c:966:7: let op: variable ‘marker’ set but not used [-Wunused-but-set-variable]
   int marker;
       ^~~~~~
gethdr.c: In functie ‘copyright_extension’:
gethdr.c:994:7: let op: variable ‘reserved_data’ set but not used [-Wunused-but-set-variable]
   int reserved_data;
       ^~~~~~~~~~~~~
gethdr.c:993:7: let op: variable ‘pos’ set but not used [-Wunused-but-set-variable]
   int pos;
       ^~~
gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I../../include   -O3 -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wcast-align -Wwrite-strings -c getpic.c
gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I../../include   -O3 -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wcast-align -Wwrite-strings -c getvlc.c
gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I../../include   -O3 -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wcast-align -Wwrite-strings -c idct.c
gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I../../include   -O3 -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wcast-align -Wwrite-strings -c idctref.c
gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I../../include   -O3 -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wcast-align -Wwrite-strings -c motion.c
gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I../../include   -O3 -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wcast-align -Wwrite-strings -c mpeg2dec.c
mpeg2dec.c:215:12: let op: ‘Decode_Bitstream’ defined but not used [-Wunused-function]
 static int Decode_Bitstream(struct mpeg2obj *m)
            ^~~~~~~~~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I../../include   -O3 -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wcast-align -Wwrite-strings -c recon.c
gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I../../include   -O3 -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wcast-align -Wwrite-strings -c spatscal.c
spatscal.c: In functie ‘Read_Lower_Layer_Component_Framewise’:
spatscal.c:102:17: let op: impliciete declaratie van functie ‘exit’ [-Wimplicit-function-declaration]
   if (fd==NULL) exit(-1);
                 ^~~~
spatscal.c:102:17: let op: onverenigbare impliciete declaratie van ingebouwde functie ‘exit’
spatscal.c:102:17: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
spatscal.c: In functie ‘Read_Lower_Layer_Component_Fieldwise’:
spatscal.c:130:17: let op: onverenigbare impliciete declaratie van ingebouwde functie ‘exit’
   if (fd==NULL) exit(-1);
                 ^~~~
spatscal.c:130:17: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
spatscal.c:140:19: let op: onverenigbare impliciete declaratie van ingebouwde functie ‘exit’
     if (fd==NULL) exit(-1);
                   ^~~~
spatscal.c:140:19: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I../../include   -O3 -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wcast-align -Wwrite-strings -c store.c
store.c: In functie ‘_mpeg2Write_Frame’:
store.c:158:8: let op: impliciete declaratie van functie ‘memcpy’ [-Wimplicit-function-declaration]
        memcpy (p, row_start, row_size);
        ^~~~~~
store.c:158:8: let op: onverenigbare impliciete declaratie van ingebouwde functie ‘memcpy’
store.c:158:8: note: include ‘<string.h>’ or provide a declaration of ‘memcpy’
store.c:172:4: let op: impliciete declaratie van functie ‘memset’ [-Wimplicit-function-declaration]
    memset (p, 0, row_size);
    ^~~~~~
store.c:172:4: let op: onverenigbare impliciete declaratie van ingebouwde functie ‘memset’
store.c:172:4: note: include ‘<string.h>’ or provide a declaration of ‘memset’
store.c:231:8: let op: onverenigbare impliciete declaratie van ingebouwde functie ‘memcpy’
        memcpy (p, row_start, row_size);
        ^~~~~~
store.c:231:8: note: include ‘<string.h>’ or provide a declaration of ‘memcpy’
store.c:245:4: let op: onverenigbare impliciete declaratie van ingebouwde functie ‘memset’
    memset (p, 0, row_size);
    ^~~~~~
store.c:245:4: note: include ‘<string.h>’ or provide a declaration of ‘memset’
gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I../../include   -O3 -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wcast-align -Wwrite-strings -c subspic.c
subspic.c: In functie ‘_mpeg2Substitute_Frame_Buffer’:
subspic.c:70:14: let op: variable ‘previous_anchor_bitstream_framenum’ set but not used [-Wunused-but-set-variable]
   static int previous_anchor_bitstream_framenum;
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
subspic.c:68:14: let op: variable ‘previous_bitstream_framenum’ set but not used [-Wunused-but-set-variable]
   static int previous_bitstream_framenum;
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~
subspic.c: In functie ‘Read_Component’:
subspic.c:270:48: let op: comparison of constant ‘0’ with boolean expression is always false [-Wbool-compare]
   if(!(Infile=open(Filename,O_RDONLY|O_BINARY))<0)
                                                ^
subspic.c:270:48: let op: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I../../include   -O3 -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wcast-align -Wwrite-strings -c systems.c
gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I../../include   -O3 -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wcast-align -Wwrite-strings -c verify.c
rm -f libmpeg.a
ar cru libmpeg.a display.o getbits.o getblk.o gethdr.o getpic.o getvlc.o idct.o idctref.o motion.o mpeg2dec.o recon.o spatscal.o store.o subspic.o systems.o verify.o 
ar: `u' modifier ignored since `D' is the default (see `U')
ranlib libmpeg.a
make[3]: Map '/home/dennis/Downloads/xracer-0.96.9/src/mpeg' wordt verlaten
cp arch_posix.c arch.c
gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../include   -O3 -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wcast-align -Wwrite-strings -DXRACER_HOME=\"/usr/local/share/xracer\" -DHAVE_PPMTOGIF=1 -DHAVE_PPMQUANT=1 -DPPMTOGIF=\"\" -DPPMQUANT=\"\" -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/share/locale\" -I../intl -c arch.c
arch.c: In functie ‘xrArchCreateSharedMemory’:
arch.c:109:3: let op: impliciete declaratie van functie ‘memset’ [-Wimplicit-function-declaration]
   memset (shm, 0, size);
   ^~~~~~
arch.c:109:3: let op: onverenigbare impliciete declaratie van ingebouwde functie ‘memset’
arch.c:109:3: note: include ‘<string.h>’ or provide a declaration of ‘memset’
arch.c: In functie ‘xrArchSetCallbackOnChildTerminationSignal’:
arch.c:127:3: let op: onverenigbare impliciete declaratie van ingebouwde functie ‘memset’
   memset (&sa, 0, sizeof sa);
   ^~~~~~
arch.c:127:3: note: include ‘<string.h>’ or provide a declaration of ‘memset’
arch.c: In functie ‘xrArchSetCallbackOnUserSignal’:
arch.c:145:3: let op: onverenigbare impliciete declaratie van ingebouwde functie ‘memset’
   memset (&sa, 0, sizeof sa);
   ^~~~~~
arch.c:145:3: note: include ‘<string.h>’ or provide a declaration of ‘memset’
gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../include   -O3 -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wcast-align -Wwrite-strings -DXRACER_HOME=\"/usr/local/share/xracer\" -DHAVE_PPMTOGIF=1 -DHAVE_PPMQUANT=1 -DPPMTOGIF=\"\" -DPPMQUANT=\"\" -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/share/locale\" -I../intl -c config_menu.c
gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../include   -O3 -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wcast-align -Wwrite-strings -DXRACER_HOME=\"/usr/local/share/xracer\" -DHAVE_PPMTOGIF=1 -DHAVE_PPMQUANT=1 -DPPMTOGIF=\"\" -DPPMQUANT=\"\" -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/share/locale\" -I../intl -c craft.c
gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../include   -O3 -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wcast-align -Wwrite-strings -DXRACER_HOME=\"/usr/local/share/xracer\" -DHAVE_PPMTOGIF=1 -DHAVE_PPMQUANT=1 -DPPMTOGIF=\"\" -DPPMQUANT=\"\" -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/share/locale\" -I../intl -c file_browser.c
gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../include   -O3 -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wcast-align -Wwrite-strings -DXRACER_HOME=\"/usr/local/share/xracer\" -DHAVE_PPMTOGIF=1 -DHAVE_PPMQUANT=1 -DPPMTOGIF=\"\" -DPPMQUANT=\"\" -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/share/locale\" -I../intl -c game.c
game.c: In functie ‘init_game_controls’:
game.c:102:3: let op: impliciete declaratie van functie ‘memset’ [-Wimplicit-function-declaration]
   memset (&game_controls, 0, sizeof game_controls);
   ^~~~~~
game.c:102:3: let op: onverenigbare impliciete declaratie van ingebouwde functie ‘memset’
game.c:102:3: note: include ‘<string.h>’ or provide a declaration of ‘memset’
gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../include   -O3 -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wcast-align -Wwrite-strings -DXRACER_HOME=\"/usr/local/share/xracer\" -DHAVE_PPMTOGIF=1 -DHAVE_PPMQUANT=1 -DPPMTOGIF=\"\" -DPPMQUANT=\"\" -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/share/locale\" -I../intl -c intro.c
cp joystick_linux.c joystick.c
gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../include   -O3 -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wcast-align -Wwrite-strings -DXRACER_HOME=\"/usr/local/share/xracer\" -DHAVE_PPMTOGIF=1 -DHAVE_PPMQUANT=1 -DPPMTOGIF=\"\" -DPPMQUANT=\"\" -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/share/locale\" -I../intl -c joystick.c
gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../include   -O3 -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wcast-align -Wwrite-strings -DXRACER_HOME=\"/usr/local/share/xracer\" -DHAVE_PPMTOGIF=1 -DHAVE_PPMQUANT=1 -DPPMTOGIF=\"\" -DPPMQUANT=\"\" -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/share/locale\" -I../intl -c jpeg.c
jpeg.c: In functie ‘xrJPEGReadFile’:
jpeg.c:175:5: let op: impliciete declaratie van functie ‘memcpy’ [-Wimplicit-function-declaration]
     memcpy (image_buffer+cinfo.image_width *
     ^~~~~~
jpeg.c:175:5: let op: onverenigbare impliciete declaratie van ingebouwde functie ‘memcpy’
jpeg.c:175:5: note: include ‘<string.h>’ or provide a declaration of ‘memcpy’
gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../include   -O3 -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wcast-align -Wwrite-strings -DXRACER_HOME=\"/usr/local/share/xracer\" -DHAVE_PPMTOGIF=1 -DHAVE_PPMQUANT=1 -DPPMTOGIF=\"\" -DPPMQUANT=\"\" -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/share/locale\" -I../intl -c kb_config_menu.c
gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../include   -O3 -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wcast-align -Wwrite-strings -DXRACER_HOME=\"/usr/local/share/xracer\" -DHAVE_PPMTOGIF=1 -DHAVE_PPMQUANT=1 -DPPMTOGIF=\"\" -DPPMQUANT=\"\" -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/share/locale\" -I../intl -c lcd.c
gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../include   -O3 -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wcast-align -Wwrite-strings -DXRACER_HOME=\"/usr/local/share/xracer\" -DHAVE_PPMTOGIF=1 -DHAVE_PPMQUANT=1 -DPPMTOGIF=\"\" -DPPMQUANT=\"\" -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/share/locale\" -I../intl -c load_track.c
gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../include   -O3 -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wcast-align -Wwrite-strings -DXRACER_HOME=\"/usr/local/share/xracer\" -DHAVE_PPMTOGIF=1 -DHAVE_PPMQUANT=1 -DPPMTOGIF=\"\" -DPPMQUANT=\"\" -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/share/locale\" -I../intl -c log.c
gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../include   -O3 -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wcast-align -Wwrite-strings -DXRACER_HOME=\"/usr/local/share/xracer\" -DHAVE_PPMTOGIF=1 -DHAVE_PPMQUANT=1 -DPPMTOGIF=\"\" -DPPMQUANT=\"\" -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/share/locale\" -I../intl -c main.c
main.c: In functie ‘program_initialization’:
main.c:291:11: let op: passing argument 1 of ‘putenv’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
   putenv ("FX_GLIDE_NO_SPLASH=1");
           ^~~~~~~~~~~~~~~~~~~~~~
In file included from main.c:23:0:
/usr/include/stdlib.h:578:12: note: expected ‘char *’ but argument is of type ‘const char *’
 extern int putenv (char *__string) __THROW __nonnull ((1));
            ^~~~~~
main.c:305:29: let op: passing argument 1 of ‘putenv’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
   if (xrFullScreen) putenv ("MESA_GLX_FX=fullscreen");
                             ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from main.c:23:0:
/usr/include/stdlib.h:578:12: note: expected ‘char *’ but argument is of type ‘const char *’
 extern int putenv (char *__string) __THROW __nonnull ((1));
            ^~~~~~
gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../include   -O3 -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wcast-align -Wwrite-strings -DXRACER_HOME=\"/usr/local/share/xracer\" -DHAVE_PPMTOGIF=1 -DHAVE_PPMQUANT=1 -DPPMTOGIF=\"\" -DPPMQUANT=\"\" -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/share/locale\" -I../intl -c math.c
math.c: In functie ‘xrIdentityMatrix’:
math.c:38:3: let op: impliciete declaratie van functie ‘memcpy’ [-Wimplicit-function-declaration]
   memcpy (m, xrI, sizeof (GLfloat) * 16);
   ^~~~~~
math.c:38:3: let op: onverenigbare impliciete declaratie van ingebouwde functie ‘memcpy’
math.c:38:3: note: include ‘<string.h>’ or provide a declaration of ‘memcpy’
gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../include   -O3 -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wcast-align -Wwrite-strings -DXRACER_HOME=\"/usr/local/share/xracer\" -DHAVE_PPMTOGIF=1 -DHAVE_PPMQUANT=1 -DPPMTOGIF=\"\" -DPPMQUANT=\"\" -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/share/locale\" -I../intl -c menu.c
gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../include   -O3 -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wcast-align -Wwrite-strings -DXRACER_HOME=\"/usr/local/share/xracer\" -DHAVE_PPMTOGIF=1 -DHAVE_PPMQUANT=1 -DPPMTOGIF=\"\" -DPPMQUANT=\"\" -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/share/locale\" -I../intl -c mode.c
gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../include   -O3 -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wcast-align -Wwrite-strings -DXRACER_HOME=\"/usr/local/share/xracer\" -DHAVE_PPMTOGIF=1 -DHAVE_PPMQUANT=1 -DPPMTOGIF=\"\" -DPPMQUANT=\"\" -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/share/locale\" -I../intl -c panel.c
gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../include   -O3 -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wcast-align -Wwrite-strings -DXRACER_HOME=\"/usr/local/share/xracer\" -DHAVE_PPMTOGIF=1 -DHAVE_PPMQUANT=1 -DPPMTOGIF=\"\" -DPPMQUANT=\"\" -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/share/locale\" -I../intl -c player.c
player.c: In functie ‘xrPlayerStartGame’:
player.c:119:3: let op: impliciete declaratie van functie ‘memcpy’ [-Wimplicit-function-declaration]
   memcpy (xrPilot.old_posn, xrPilot.posn, sizeof xrPilot.posn);
   ^~~~~~
player.c:119:3: let op: onverenigbare impliciete declaratie van ingebouwde functie ‘memcpy’
player.c:119:3: note: include ‘<string.h>’ or provide a declaration of ‘memcpy’
player.c: In functie ‘pilot_update’:
player.c:606:3: let op: onverenigbare impliciete declaratie van ingebouwde functie ‘memcpy’
   memcpy (player->old_posn, player->posn, sizeof player->posn);
   ^~~~~~
player.c:606:3: note: include ‘<string.h>’ or provide a declaration of ‘memcpy’
player.c: In functie ‘init_player_struct’:
player.c:844:3: let op: impliciete declaratie van functie ‘memset’ [-Wimplicit-function-declaration]
   memset (player, 0, sizeof *player);
   ^~~~~~
player.c:844:3: let op: onverenigbare impliciete declaratie van ingebouwde functie ‘memset’
player.c:844:3: note: include ‘<string.h>’ or provide a declaration of ‘memset’
gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../include   -O3 -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wcast-align -Wwrite-strings -DXRACER_HOME=\"/usr/local/share/xracer\" -DHAVE_PPMTOGIF=1 -DHAVE_PPMQUANT=1 -DPPMTOGIF=\"\" -DPPMQUANT=\"\" -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/share/locale\" -I../intl -c powerup.c
gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../include   -O3 -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wcast-align -Wwrite-strings -DXRACER_HOME=\"/usr/local/share/xracer\" -DHAVE_PPMTOGIF=1 -DHAVE_PPMQUANT=1 -DPPMTOGIF=\"\" -DPPMQUANT=\"\" -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/share/locale\" -I../intl -c quit_menu.c
gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../include   -O3 -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wcast-align -Wwrite-strings -DXRACER_HOME=\"/usr/local/share/xracer\" -DHAVE_PPMTOGIF=1 -DHAVE_PPMQUANT=1 -DPPMTOGIF=\"\" -DPPMQUANT=\"\" -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/share/locale\" -I../intl -c screenshot.c
gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../include   -O3 -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wcast-align -Wwrite-strings -DXRACER_HOME=\"/usr/local/share/xracer\" -DHAVE_PPMTOGIF=1 -DHAVE_PPMQUANT=1 -DPPMTOGIF=\"\" -DPPMQUANT=\"\" -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/share/locale\" -I../intl -c sound.c
gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../include   -O3 -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wcast-align -Wwrite-strings -DXRACER_HOME=\"/usr/local/share/xracer\" -DHAVE_PPMTOGIF=1 -DHAVE_PPMQUANT=1 -DPPMTOGIF=\"\" -DPPMQUANT=\"\" -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/share/locale\" -I../intl -c sound-process.c
gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../include   -O3 -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wcast-align -Wwrite-strings -DXRACER_HOME=\"/usr/local/share/xracer\" -DHAVE_PPMTOGIF=1 -DHAVE_PPMQUANT=1 -DPPMTOGIF=\"\" -DPPMQUANT=\"\" -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/share/locale\" -I../intl -c start_menu.c
gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../include   -O3 -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wcast-align -Wwrite-strings -DXRACER_HOME=\"/usr/local/share/xracer\" -DHAVE_PPMTOGIF=1 -DHAVE_PPMQUANT=1 -DPPMTOGIF=\"\" -DPPMQUANT=\"\" -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/share/locale\" -I../intl -c text.c
text.c: In functie ‘begin_font’:
text.c:336:27: let op: argument to ‘sizeof’ in ‘memset’ call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess]
   memset (font, 0, sizeof font);
                           ^~~~
gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../include   -O3 -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wcast-align -Wwrite-strings -DXRACER_HOME=\"/usr/local/share/xracer\" -DHAVE_PPMTOGIF=1 -DHAVE_PPMQUANT=1 -DPPMTOGIF=\"\" -DPPMQUANT=\"\" -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/share/locale\" -I../intl -c texture.c
gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../include   -O3 -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wcast-align -Wwrite-strings -DXRACER_HOME=\"/usr/local/share/xracer\" -DHAVE_PPMTOGIF=1 -DHAVE_PPMQUANT=1 -DPPMTOGIF=\"\" -DPPMQUANT=\"\" -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/share/locale\" -I../intl -c track.c
gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../include   -O3 -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wcast-align -Wwrite-strings -DXRACER_HOME=\"/usr/local/share/xracer\" -DHAVE_PPMTOGIF=1 -DHAVE_PPMQUANT=1 -DPPMTOGIF=\"\" -DPPMQUANT=\"\" -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/share/locale\" -I../intl -c utils.c
utils.c: In functie ‘xstrdup’:
utils.c:63:25: let op: impliciete declaratie van functie ‘strlen’ [-Wimplicit-function-declaration]
   r = (char *) xmalloc (strlen(p) + 1);
                         ^~~~~~
utils.c:63:25: let op: onverenigbare impliciete declaratie van ingebouwde functie ‘strlen’
utils.c:63:25: note: include ‘<string.h>’ or provide a declaration of ‘strlen’
utils.c:65:3: let op: impliciete declaratie van functie ‘strcpy’ [-Wimplicit-function-declaration]
   strcpy(r,p);
   ^~~~~~
utils.c:65:3: let op: onverenigbare impliciete declaratie van ingebouwde functie ‘strcpy’
utils.c:65:3: note: include ‘<string.h>’ or provide a declaration of ‘strcpy’
gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../include   -O3 -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wcast-align -Wwrite-strings -DXRACER_HOME=\"/usr/local/share/xracer\" -DHAVE_PPMTOGIF=1 -DHAVE_PPMQUANT=1 -DPPMTOGIF=\"\" -DPPMQUANT=\"\" -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/share/locale\" -I../intl -c video.c
video.c: In functie ‘xrVideoInit’:
video.c:57:21: let op: pointer targets in passing argument 2 of ‘glGenTextures’ differ in signedness [-Wpointer-sign]
   glGenTextures (1, &tex);
                     ^
In file included from /usr/include/GL/glu.h:38:0,
                 from video.c:25:
/usr/include/GL/gl.h:1307:23: note: expected ‘GLuint * {aka unsigned int *}’ but argument is of type ‘int *’
 GLAPI void GLAPIENTRY glGenTextures( GLsizei n, GLuint *textures );
                       ^~~~~~~~~~~~~
video.c: In functie ‘xrVideoLoadFile’:
video.c:119:3: let op: impliciete declaratie van functie ‘memset’ [-Wimplicit-function-declaration]
   memset (buffer, 0, size);
   ^~~~~~
video.c:119:3: let op: onverenigbare impliciete declaratie van ingebouwde functie ‘memset’
video.c:119:3: note: include ‘<string.h>’ or provide a declaration of ‘memset’
cp ws_x11.c ws.c
gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../include   -O3 -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wcast-align -Wwrite-strings -DXRACER_HOME=\"/usr/local/share/xracer\" -DHAVE_PPMTOGIF=1 -DHAVE_PPMQUANT=1 -DPPMTOGIF=\"\" -DPPMQUANT=\"\" -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/share/locale\" -I../intl -c ws.c
/bin/sh ../libtool --mode=link gcc  -O3 -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wcast-align -Wwrite-strings -DXRACER_HOME=\"/usr/local/share/xracer\" -DHAVE_PPMTOGIF=1 -DHAVE_PPMQUANT=1 -DPPMTOGIF=\"\" -DPPMQUANT=\"\" -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/share/locale\" -I../intl  -Wl,-export-dynamic -o xracer  arch.o config_menu.o craft.o file_browser.o game.o intro.o joystick.o jpeg.o kb_config_menu.o lcd.o load_track.o log.o main.o math.o menu.o mode.o panel.o player.o powerup.o quit_menu.o screenshot.o sound.o sound-process.o start_menu.o text.o texture.o track.o utils.o video.o ws.o mpeg/libmpeg.a -ljpeg -lglut -lGLU -lGL  -lSM -lICE -lm  -ldl  -lXmu -lXi -lXext -lX11 
gcc -O3 -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wcast-align -Wwrite-strings -DXRACER_HOME=\"/usr/local/share/xracer\" -DHAVE_PPMTOGIF=1 -DHAVE_PPMQUANT=1 -DPPMTOGIF=\"\" -DPPMQUANT=\"\" -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/share/locale\" -I../intl -Wl,-export-dynamic -o xracer arch.o config_menu.o craft.o file_browser.o game.o intro.o joystick.o jpeg.o kb_config_menu.o lcd.o load_track.o log.o main.o math.o menu.o mode.o panel.o player.o powerup.o quit_menu.o screenshot.o sound.o sound-process.o start_menu.o text.o texture.o track.o utils.o video.o ws.o mpeg/libmpeg.a -ljpeg -lglut -lGLU -lGL -lSM -lICE -lm -ldl -lXmu -lXi -lXext -lX11
game.o: In function `xrCraftDisplay':
game.c:(.text+0x9c0): multiple definition of `xrCraftDisplay'
craft.o:craft.c:(.text+0x0): first defined here
load_track.o: In function `xrCraftDisplay':
load_track.c:(.text+0x720): multiple definition of `xrCraftDisplay'
craft.o:craft.c:(.text+0x0): first defined here
load_track.o: In function `xrPlayerHasExternalShield':
load_track.c:(.text+0x730): multiple definition of `xrPlayerHasExternalShield'
game.o:game.c:(.text+0x9d0): first defined here
load_track.o: In function `xrPlayerHasAutoPilot':
load_track.c:(.text+0x740): multiple definition of `xrPlayerHasAutoPilot'
game.o:game.c:(.text+0x9e0): first defined here
load_track.o: In function `xrPlayerGetPosition':
load_track.c:(.text+0x750): multiple definition of `xrPlayerGetPosition'
game.o:game.c:(.text+0x9f0): first defined here
load_track.o: In function `xrPlayerGetSegment':
load_track.c:(.text+0x760): multiple definition of `xrPlayerGetSegment'
game.o:game.c:(.text+0xa00): first defined here
load_track.o: In function `xrPlayerGetCameraEye':
load_track.c:(.text+0x770): multiple definition of `xrPlayerGetCameraEye'
game.o:game.c:(.text+0xa10): first defined here
load_track.o: In function `xrPlayerGetCameraCentre':
load_track.c:(.text+0x790): multiple definition of `xrPlayerGetCameraCentre'
game.o:game.c:(.text+0xa30): first defined here
load_track.o: In function `xrPlayerGetCameraUp':
load_track.c:(.text+0x7b0): multiple definition of `xrPlayerGetCameraUp'
game.o:game.c:(.text+0xa50): first defined here
load_track.o: In function `xrPlayerGetSpeed':
load_track.c:(.text+0x7c0): multiple definition of `xrPlayerGetSpeed'
game.o:game.c:(.text+0xa60): first defined here
load_track.o: In function `xrPlayerGetPowerup':
load_track.c:(.text+0x800): multiple definition of `xrPlayerGetPowerup'
game.o:game.c:(.text+0xaa0): first defined here
load_track.o: In function `xrPlayerGetCurrentLap':
load_track.c:(.text+0x810): multiple definition of `xrPlayerGetCurrentLap'
game.o:game.c:(.text+0xab0): first defined here
load_track.o: In function `xrPlayerGetCurrentLapTime':
load_track.c:(.text+0x820): multiple definition of `xrPlayerGetCurrentLapTime'
game.o:game.c:(.text+0xac0): first defined here
load_track.o: In function `xrPlayerGetLapTime':
load_track.c:(.text+0x840): multiple definition of `xrPlayerGetLapTime'
game.o:game.c:(.text+0xae0): first defined here
main.o: In function `xrCraftDisplay':
main.c:(.text+0x80): multiple definition of `xrCraftDisplay'
craft.o:craft.c:(.text+0x0): first defined here
main.o: In function `xrPlayerHasExternalShield':
main.c:(.text+0x90): multiple definition of `xrPlayerHasExternalShield'
game.o:game.c:(.text+0x9d0): first defined here
main.o: In function `xrPlayerHasAutoPilot':
main.c:(.text+0xa0): multiple definition of `xrPlayerHasAutoPilot'
game.o:game.c:(.text+0x9e0): first defined here
main.o: In function `xrPlayerGetPosition':
main.c:(.text+0xb0): multiple definition of `xrPlayerGetPosition'
game.o:game.c:(.text+0x9f0): first defined here
main.o: In function `xrPlayerGetSegment':
main.c:(.text+0xc0): multiple definition of `xrPlayerGetSegment'
game.o:game.c:(.text+0xa00): first defined here
main.o: In function `xrPlayerGetCameraEye':
main.c:(.text+0xd0): multiple definition of `xrPlayerGetCameraEye'
game.o:game.c:(.text+0xa10): first defined here
main.o: In function `xrPlayerGetCameraCentre':
main.c:(.text+0xf0): multiple definition of `xrPlayerGetCameraCentre'
game.o:game.c:(.text+0xa30): first defined here
main.o: In function `xrPlayerGetCameraUp':
main.c:(.text+0x110): multiple definition of `xrPlayerGetCameraUp'
game.o:game.c:(.text+0xa50): first defined here
main.o: In function `xrPlayerGetSpeed':
main.c:(.text+0x120): multiple definition of `xrPlayerGetSpeed'
game.o:game.c:(.text+0xa60): first defined here
main.o: In function `xrPlayerGetPowerup':
main.c:(.text+0x160): multiple definition of `xrPlayerGetPowerup'
game.o:game.c:(.text+0xaa0): first defined here
main.o: In function `xrPlayerGetCurrentLap':
main.c:(.text+0x170): multiple definition of `xrPlayerGetCurrentLap'
game.o:game.c:(.text+0xab0): first defined here
main.o: In function `xrPlayerGetCurrentLapTime':
main.c:(.text+0x180): multiple definition of `xrPlayerGetCurrentLapTime'
game.o:game.c:(.text+0xac0): first defined here
main.o: In function `xrPlayerGetLapTime':
main.c:(.text+0x1a0): multiple definition of `xrPlayerGetLapTime'
game.o:game.c:(.text+0xae0): first defined here
panel.o: In function `xrCraftDisplay':
panel.c:(.text+0x530): multiple definition of `xrCraftDisplay'
craft.o:craft.c:(.text+0x0): first defined here
panel.o: In function `xrPlayerHasExternalShield':
panel.c:(.text+0x540): multiple definition of `xrPlayerHasExternalShield'
game.o:game.c:(.text+0x9d0): first defined here
panel.o: In function `xrPlayerHasAutoPilot':
panel.c:(.text+0x550): multiple definition of `xrPlayerHasAutoPilot'
game.o:game.c:(.text+0x9e0): first defined here
panel.o: In function `xrPlayerGetPosition':
panel.c:(.text+0x560): multiple definition of `xrPlayerGetPosition'
game.o:game.c:(.text+0x9f0): first defined here
panel.o: In function `xrPlayerGetSegment':
panel.c:(.text+0x570): multiple definition of `xrPlayerGetSegment'
game.o:game.c:(.text+0xa00): first defined here
panel.o: In function `xrPlayerGetCameraEye':
panel.c:(.text+0x580): multiple definition of `xrPlayerGetCameraEye'
game.o:game.c:(.text+0xa10): first defined here
panel.o: In function `xrPlayerGetCameraCentre':
panel.c:(.text+0x5a0): multiple definition of `xrPlayerGetCameraCentre'
game.o:game.c:(.text+0xa30): first defined here
panel.o: In function `xrPlayerGetCameraUp':
panel.c:(.text+0x5c0): multiple definition of `xrPlayerGetCameraUp'
game.o:game.c:(.text+0xa50): first defined here
panel.o: In function `xrPlayerGetSpeed':
panel.c:(.text+0x5d0): multiple definition of `xrPlayerGetSpeed'
game.o:game.c:(.text+0xa60): first defined here
panel.o: In function `xrPlayerGetPowerup':
panel.c:(.text+0x610): multiple definition of `xrPlayerGetPowerup'
game.o:game.c:(.text+0xaa0): first defined here
panel.o: In function `xrPlayerGetCurrentLap':
panel.c:(.text+0x620): multiple definition of `xrPlayerGetCurrentLap'
game.o:game.c:(.text+0xab0): first defined here
panel.o: In function `xrPlayerGetCurrentLapTime':
panel.c:(.text+0x630): multiple definition of `xrPlayerGetCurrentLapTime'
game.o:game.c:(.text+0xac0): first defined here
panel.o: In function `xrPlayerGetLapTime':
panel.c:(.text+0x650): multiple definition of `xrPlayerGetLapTime'
game.o:game.c:(.text+0xae0): first defined here
player.o: In function `xrCraftDisplay':
player.c:(.text+0xdb0): multiple definition of `xrCraftDisplay'
craft.o:craft.c:(.text+0x0): first defined here
player.o: In function `xrPlayerHasExternalShield':
player.c:(.text+0xdc0): multiple definition of `xrPlayerHasExternalShield'
game.o:game.c:(.text+0x9d0): first defined here
player.o: In function `xrPlayerHasAutoPilot':
player.c:(.text+0xdd0): multiple definition of `xrPlayerHasAutoPilot'
game.o:game.c:(.text+0x9e0): first defined here
player.o: In function `xrPlayerGetPosition':
player.c:(.text+0xde0): multiple definition of `xrPlayerGetPosition'
game.o:game.c:(.text+0x9f0): first defined here
player.o: In function `xrPlayerGetSegment':
player.c:(.text+0xdf0): multiple definition of `xrPlayerGetSegment'
game.o:game.c:(.text+0xa00): first defined here
player.o: In function `xrPlayerGetCameraEye':
player.c:(.text+0xe00): multiple definition of `xrPlayerGetCameraEye'
game.o:game.c:(.text+0xa10): first defined here
player.o: In function `xrPlayerGetCameraCentre':
player.c:(.text+0xe20): multiple definition of `xrPlayerGetCameraCentre'
game.o:game.c:(.text+0xa30): first defined here
player.o: In function `xrPlayerGetCameraUp':
player.c:(.text+0xe40): multiple definition of `xrPlayerGetCameraUp'
game.o:game.c:(.text+0xa50): first defined here
player.o: In function `xrPlayerGetSpeed':
player.c:(.text+0xe50): multiple definition of `xrPlayerGetSpeed'
game.o:game.c:(.text+0xa60): first defined here
player.o: In function `xrPlayerGetPowerup':
player.c:(.text+0xe90): multiple definition of `xrPlayerGetPowerup'
game.o:game.c:(.text+0xaa0): first defined here
player.o: In function `xrPlayerGetCurrentLap':
player.c:(.text+0xea0): multiple definition of `xrPlayerGetCurrentLap'
game.o:game.c:(.text+0xab0): first defined here
player.o: In function `xrPlayerGetCurrentLapTime':
player.c:(.text+0xeb0): multiple definition of `xrPlayerGetCurrentLapTime'
game.o:game.c:(.text+0xac0): first defined here
player.o: In function `xrPlayerGetLapTime':
player.c:(.text+0xed0): multiple definition of `xrPlayerGetLapTime'
game.o:game.c:(.text+0xae0): first defined here
powerup.o: In function `xrCraftDisplay':
powerup.c:(.text+0x0): multiple definition of `xrCraftDisplay'
craft.o:craft.c:(.text+0x0): first defined here
powerup.o: In function `xrPlayerHasExternalShield':
powerup.c:(.text+0x10): multiple definition of `xrPlayerHasExternalShield'
game.o:game.c:(.text+0x9d0): first defined here
powerup.o: In function `xrPlayerHasAutoPilot':
powerup.c:(.text+0x20): multiple definition of `xrPlayerHasAutoPilot'
game.o:game.c:(.text+0x9e0): first defined here
powerup.o: In function `xrPlayerGetPosition':
powerup.c:(.text+0x30): multiple definition of `xrPlayerGetPosition'
game.o:game.c:(.text+0x9f0): first defined here
powerup.o: In function `xrPlayerGetSegment':
powerup.c:(.text+0x40): multiple definition of `xrPlayerGetSegment'
game.o:game.c:(.text+0xa00): first defined here
powerup.o: In function `xrPlayerGetCameraEye':
powerup.c:(.text+0x50): multiple definition of `xrPlayerGetCameraEye'
game.o:game.c:(.text+0xa10): first defined here
powerup.o: In function `xrPlayerGetCameraCentre':
powerup.c:(.text+0x70): multiple definition of `xrPlayerGetCameraCentre'
game.o:game.c:(.text+0xa30): first defined here
powerup.o: In function `xrPlayerGetCameraUp':
powerup.c:(.text+0x90): multiple definition of `xrPlayerGetCameraUp'
game.o:game.c:(.text+0xa50): first defined here
powerup.o: In function `xrPlayerGetSpeed':
powerup.c:(.text+0xa0): multiple definition of `xrPlayerGetSpeed'
game.o:game.c:(.text+0xa60): first defined here
powerup.o: In function `xrPlayerGetPowerup':
powerup.c:(.text+0xe0): multiple definition of `xrPlayerGetPowerup'
game.o:game.c:(.text+0xaa0): first defined here
powerup.o: In function `xrPlayerGetCurrentLap':
powerup.c:(.text+0xf0): multiple definition of `xrPlayerGetCurrentLap'
game.o:game.c:(.text+0xab0): first defined here
powerup.o: In function `xrPlayerGetCurrentLapTime':
powerup.c:(.text+0x100): multiple definition of `xrPlayerGetCurrentLapTime'
game.o:game.c:(.text+0xac0): first defined here
powerup.o: In function `xrPlayerGetLapTime':
powerup.c:(.text+0x120): multiple definition of `xrPlayerGetLapTime'
game.o:game.c:(.text+0xae0): first defined here
start_menu.o: In function `xrCraftDisplay':
start_menu.c:(.text+0x2b0): multiple definition of `xrCraftDisplay'
craft.o:craft.c:(.text+0x0): first defined here
track.o: In function `xrCraftDisplay':
track.c:(.text+0x0): multiple definition of `xrCraftDisplay'
craft.o:craft.c:(.text+0x0): first defined here
track.o: In function `xrPlayerHasExternalShield':
track.c:(.text+0x10): multiple definition of `xrPlayerHasExternalShield'
game.o:game.c:(.text+0x9d0): first defined here
track.o: In function `xrPlayerHasAutoPilot':
track.c:(.text+0x20): multiple definition of `xrPlayerHasAutoPilot'
game.o:game.c:(.text+0x9e0): first defined here
track.o: In function `xrPlayerGetPosition':
track.c:(.text+0x30): multiple definition of `xrPlayerGetPosition'
game.o:game.c:(.text+0x9f0): first defined here
track.o: In function `xrPlayerGetSegment':
track.c:(.text+0x40): multiple definition of `xrPlayerGetSegment'
game.o:game.c:(.text+0xa00): first defined here
track.o: In function `xrPlayerGetCameraEye':
track.c:(.text+0x50): multiple definition of `xrPlayerGetCameraEye'
game.o:game.c:(.text+0xa10): first defined here
track.o: In function `xrPlayerGetCameraCentre':
track.c:(.text+0x70): multiple definition of `xrPlayerGetCameraCentre'
game.o:game.c:(.text+0xa30): first defined here
track.o: In function `xrPlayerGetCameraUp':
track.c:(.text+0x90): multiple definition of `xrPlayerGetCameraUp'
game.o:game.c:(.text+0xa50): first defined here
track.o: In function `xrPlayerGetSpeed':
track.c:(.text+0xa0): multiple definition of `xrPlayerGetSpeed'
game.o:game.c:(.text+0xa60): first defined here
track.o: In function `xrPlayerGetPowerup':
track.c:(.text+0xe0): multiple definition of `xrPlayerGetPowerup'
game.o:game.c:(.text+0xaa0): first defined here
track.o: In function `xrPlayerGetCurrentLap':
track.c:(.text+0xf0): multiple definition of `xrPlayerGetCurrentLap'
game.o:game.c:(.text+0xab0): first defined here
track.o: In function `xrPlayerGetCurrentLapTime':
track.c:(.text+0x100): multiple definition of `xrPlayerGetCurrentLapTime'
game.o:game.c:(.text+0xac0): first defined here
track.o: In function `xrPlayerGetLapTime':
track.c:(.text+0x120): multiple definition of `xrPlayerGetLapTime'
game.o:game.c:(.text+0xae0): first defined here
ws.o: In function `xrWsWarpPointer':
ws.c:(.text+0x24): undefined reference to `__glutCurrentWindow'
ws.c:(.text+0x37): undefined reference to `__glutDisplay'
ws.o: In function `xrWsGrabPointer':
ws.c:(.text+0x54): undefined reference to `__glutCurrentWindow'
ws.c:(.text+0x6b): undefined reference to `__glutDisplay'
ws.o: In function `xrWsFlushEventQueue':
ws.c:(.text+0xa7): undefined reference to `__glutDisplay'
ws.o: In function `xrWsFixWindowClass':
ws.c:(.text+0xc4): undefined reference to `__glutCurrentWindow'
ws.c:(.text+0xe3): undefined reference to `__glutDisplay'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:295: xracer] Fout 1
make[2]: Map '/home/dennis/Downloads/xracer-0.96.9/src' wordt verlaten
make[1]: *** [Makefile:217: all-recursive] Fout 1
make[1]: Map '/home/dennis/Downloads/xracer-0.96.9' wordt verlaten
make: *** [Makefile:327: all-recursive-am] Fout 2
make  19,42s user 1,55s system 94% cpu 22,288 total
2 dennis@Catalyst ~/Downloads/xracer-0.96.9 %                                                                             :(

Is this the right place for this topic? If so, could you please help me out with compiling this?

Cheers,

Dennis

Last edited by jasonwryan (2016-07-16 19:41:37)

Offline

#2 2016-07-16 19:41:53

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Can't compile XRacer

Moving to AUR Issues...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB