From: Kai P. <ka...@pe...> - 2006-09-14 04:13:14
|
I'm having an issue compiling the program. I've downloaded the source from = CVS=20 and tried to compile. I get - first off all - an error with SDL_mixer. I'v= e=20 installed this package for my system (SUSE 10.1) and the -devel files. I ev= en=20 then downloaded the source and added that folder to my path. kai@sith:~/projects/tuxmath/tuxmath/trunk> locate SDL_mixer.h /home/kai/projects/sdl/SDL_mixer-1.2.7/SDL_mixer.h yet when I compile, I get the following barrage of error messages... kai@sith:~/projects/tuxmath/tuxmath/trunk> make BUILDING setup.o mkdir -p obj cc -Wall -g -I/usr/include/SDL -D_REENTRANT=20 =2DDDATA_PREFIX=3D\"/usr/local/share/tuxmath/\" -DDEBUG=20 =2DDVERSION=3D\"tuxmath-0.93\" -DSOUND src/setup.c -c -o obj/setup.o src/setup.c:36:23: error: SDL_mixer.h: No such file or directory src/setup.c:39:23: error: SDL_image.h: No such file or directory In file included from src/setup.c:42: src/tuxmath.h:115: error: expected =E2=80=98=3D=E2=80=99, =E2=80=98,=E2=80= =99, =E2=80=98;=E2=80=99, =E2=80=98asm=E2=80=99 or =E2=80=98__attribute__= =E2=80=99=20 before =E2=80=98*=E2=80=99 token src/tuxmath.h:116: error: expected =E2=80=98=3D=E2=80=99, =E2=80=98,=E2=80= =99, =E2=80=98;=E2=80=99, =E2=80=98asm=E2=80=99 or =E2=80=98__attribute__= =E2=80=99=20 before =E2=80=98*=E2=80=99 token src/setup.c:56: error: expected =E2=80=98=3D=E2=80=99, =E2=80=98,=E2=80=99,= =E2=80=98;=E2=80=99, =E2=80=98asm=E2=80=99 or =E2=80=98__attribute__=E2=80= =99 before=20 =E2=80=98*=E2=80=99 token src/setup.c:57: error: expected =E2=80=98=3D=E2=80=99, =E2=80=98,=E2=80=99,= =E2=80=98;=E2=80=99, =E2=80=98asm=E2=80=99 or =E2=80=98__attribute__=E2=80= =99 before=20 =E2=80=98*=E2=80=99 token src/setup.c: In function =E2=80=98initialize_SDL=E2=80=99: src/setup.c:406: warning: implicit declaration of function =E2=80=98Mix_Ope= nAudio=E2=80=99 src/setup.c: In function =E2=80=98seticon=E2=80=99: src/setup.c:575: warning: implicit declaration of function =E2=80=98IMG_Loa= d=E2=80=99 src/setup.c:575: warning: assignment makes pointer from integer without a c= ast make: *** [obj/setup.o] Error 1 Thinking the SDL_mixer issue is part of the problem, I'll compile with=20 nosound. No dice... the make portion goes okay, but the make install does not: sith:/home/kai/projects/tuxmath/tuxmath/trunk # make install COPYING BINARY TO /usr/local/bin mkdir -p /usr/local/bin mkdir -p /usr/local/share/tuxmath/ strip tuxmath strip: 'tuxmath': No such file cp tuxmath /usr/local/bin cp: cannot stat `tuxmath': No such file or directory make: *** [install] Error 1 Ideas? =2D-=20 kai ponte www.perfectreign.com || www.4thedadz.com |