bug-gnukart
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gnukart] make error


From: anoglad
Subject: [Bug-gnukart] make error
Date: Wed, 26 Jan 2011 11:39:41 +0100

Hello,

I couldn't build the game.

./configure
###########

loading cache ./config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) no
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... found
checking for gnutar... (cached) tar
checking for gcc... (cached) gcc
checking whether the C compiler (gcc   ) works... yes
checking whether the C compiler (gcc   ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for ANSI C header files... (cached) yes
checking how to run the C preprocessor... gcc -E
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln -s works... (cached) yes
checking whether make sets ${MAKE}... (cached) no
checking for ranlib... (cached) ranlib
creating ./config.status
creating Makefile
creating src/Makefile
creating src/bin/Makefile
sed: can't read ./src/bin/Makefile.in: No such file or directory
creating src/background/Makefile
creating src/cars/Makefile
creating src/cars/camion/Makefile
creating src/cars/f1_1/Makefile
creating src/cars/Panorama/Makefile
creating src/cars/jeep/Makefile
creating src/music/Makefile
sed: can't read ./src/music/Makefile.in: No such file or directory
creating src/num/Makefile
creating src/road/Makefile
creating src/scene/Makefile
creating src/config.h
src/config.h is unchanged

make
####

Making all in src
make[1]: Entering directory `/home/andi/SpeedX-0.1.3b/src'
make all-recursive
make[2]: Entering directory `/home/andi/SpeedX-0.1.3b/src'
Making all in background
make[3]: Entering directory `/home/andi/SpeedX-0.1.3b/src/background'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/andi/SpeedX-0.1.3b/src/background'
Making all in cars
make[3]: Entering directory `/home/andi/SpeedX-0.1.3b/src/cars'
Making all in Panorama
make[4]: Entering directory `/home/andi/SpeedX-0.1.3b/src/cars/Panorama'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/andi/SpeedX-0.1.3b/src/cars/Panorama'
Making all in camion
make[4]: Entering directory `/home/andi/SpeedX-0.1.3b/src/cars/camion'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/andi/SpeedX-0.1.3b/src/cars/camion'
Making all in f1_1
make[4]: Entering directory `/home/andi/SpeedX-0.1.3b/src/cars/f1_1'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/andi/SpeedX-0.1.3b/src/cars/f1_1'
Making all in jeep
make[4]: Entering directory `/home/andi/SpeedX-0.1.3b/src/cars/jeep'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/andi/SpeedX-0.1.3b/src/cars/jeep'
make[4]: Entering directory `/home/andi/SpeedX-0.1.3b/src/cars'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/andi/SpeedX-0.1.3b/src/cars'
make[3]: Leaving directory `/home/andi/SpeedX-0.1.3b/src/cars'
Making all in num
make[3]: Entering directory `/home/andi/SpeedX-0.1.3b/src/num'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/andi/SpeedX-0.1.3b/src/num'
Making all in road
make[3]: Entering directory `/home/andi/SpeedX-0.1.3b/src/road'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/andi/SpeedX-0.1.3b/src/road'
Making all in scene
make[3]: Entering directory `/home/andi/SpeedX-0.1.3b/src/scene'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/andi/SpeedX-0.1.3b/src/scene'
make[2]: Leaving directory `/home/andi/SpeedX-0.1.3b/src'
gcc -DHAVE_CONFIG_H -I. -I. -I.   -Wall -Wunused -O3 -I/usr/local/include/ 
-I/usr/X11R6/include/ -c course.c
gcc -DHAVE_CONFIG_H -I. -I. -I.   -Wall -Wunused -O3 -I/usr/local/include/ 
-I/usr/X11R6/include/ -c effects.c
effects.c: In function ‘fog’:
effects.c:65: warning: implicit declaration of function ‘memcpy’
effects.c:65: warning: incompatible implicit declaration of built-in function 
‘memcpy’
gcc -DHAVE_CONFIG_H -I. -I. -I.   -Wall -Wunused -O3 -I/usr/local/include/ 
-I/usr/X11R6/include/ -c game.c
In file included from game.c:33:
std.h:54: error: redefinition of ‘struct timeval’
In file included from game.h:32,
                 from game.c:35:
Xh.h:39:22: error: X11/Xlib.h: No such file or directory
Xh.h:41:23: error: X11/Xutil.h: No such file or directory
Xh.h:43:24: error: X11/keysym.h: No such file or directory
Xh.h:45:28: error: X11/cursorfont.h: No such file or directory
Xh.h:67:33: error: X11/extensions/XShm.h: No such file or directory
In file included from game.c:35:
game.h:65: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ 
token
game.h:67: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘win’
game.h:69: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘win2’
game.h:71: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ 
token
game.h:73: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gc’
In file included from game.c:39:
read_image.h:38:17: error: png.h: No such file or directory
read_image.h:40:18: error: zlib.h: No such file or directory
game.c: In function ‘refresh’:
game.c:176: warning: implicit declaration of function ‘memcpy’
game.c:176: warning: incompatible implicit declaration of built-in function 
‘memcpy’
game.c:234: warning: incompatible implicit declaration of built-in function 
‘memcpy’
game.c:261: warning: incompatible implicit declaration of built-in function 
‘memcpy’
game.c:294: warning: incompatible implicit declaration of built-in function 
‘memcpy’
game.c:329: warning: incompatible implicit declaration of built-in function 
‘memcpy’
game.c:366: warning: incompatible implicit declaration of built-in function 
‘memcpy’
game.c: At top level:
game.c:416: error: expected ‘)’ before ‘*’ token
game.c:485: error: expected ‘)’ before ‘w’
game.c:510: error: expected ‘)’ before ‘w’
make[1]: *** [game.o] Error 1
make[1]: Leaving directory `/home/andi/SpeedX-0.1.3b/src'
make: *** [all-recursive] Error 1

general system infos
####################

gcc --version
=============

Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.3.2-1.1' 
--with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs 
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared 
--with-system-zlib --libexecdir=/usr/lib --without-included-gettext 
--enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.3 
--program-suffix=-4.3 --enable-clocale=gnu --enable-libstdcxx-debug 
--enable-objc-gc --enable-mpfr --enable-targets=all --enable-cld 
--enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu 
--target=i486-linux-gnu
Thread model: posix
gcc version 4.3.2 (Debian 4.3.2-1.1)

I'm not a programmer. If some information is missing, please, tell me.

Thanks.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]