PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : * fehler beim kompillieren



Atomara
18.10.03, 16:26
hi@all wenn ich gIN64 kompillieren will kommt folgende fehlermeldung:

Atomara-debian:/home/atomara/apps/swapwindows/glN64-0.4.1-rc2# make
g++ -I. -D__LINUX__ -DX86_ASM `sdl-config --cflags` `gtk-config --cflags gtk gthread` `glib-config --cflags` -fPIC -finline-functions -funroll-loops -ffast-math -mcpu=`uname -m` -O2 -c -o Combiner.o Combiner.cpp
/bin/sh: line 1: sdl-config: command not found
In file included from Combiner.cpp:6:
OpenGL.h:13:18: SDL.h: No such file or directory
In file included from OpenGL.h:16,
from Combiner.cpp:6:
glATI.h:419:1: warning: "GL_MODELVIEW1_ARB" redefined
In file included from /usr/include/GL/gl.h:2245,
from OpenGL.h:11,
from Combiner.cpp:6:
/usr/include/GL/glext.h:241:1: warning: this is the location of the previous definition
In file included from Combiner.cpp:6:
OpenGL.h:38: error: syntax error before `*' token
Combiner.cpp: In function `void Combiner_SelectCombine(long long unsigned int)
':
Combiner.cpp:351: error: integer constant is too large for "long" type
make: *** [Combiner.o] Error 1
Atomara-debian:/home/atomara/apps/swapwindows/glN64-0.4.1-rc2#


der fehler ist offensichtlich
es liegt am stern im source allerdings kann ich den ja nicht wegmachen sonst würde ja was im source fehlen

also wer kann mir helfen und sagen was ich zu tun habe ?

elevator
18.10.03, 16:32
Ich würde erstmal dafür sorgen das die "command not found" und "No such file or directory" Fehler verschwinden. Danach nochmal versuchen. Sieht so aus als ob dir das Paket SDL-devel fehlt.

Gruß elevator

Atomara
18.10.03, 17:27
das ist vorhanden


aber dann kommt das



atomara@Atomara-debian:~/apps/swapwindows/glN64-0.4.1-rc2$ make
g++ -I. -D__LINUX__ -DX86_ASM `sdl-config --cflags` `gtk-config --cflags gtk gthread` `glib-config --cflags` -fPIC -finline-functions -funroll-loops -ffast-math -mcpu=`uname -m` -O2 -c -o 2xSAI.o 2xSAI.cpp
g++ -I. -D__LINUX__ -DX86_ASM `sdl-config --cflags` `gtk-config --cflags gtk gthread` `glib-config --cflags` -fPIC -finline-functions -funroll-loops -ffast-math -mcpu=`uname -m` -O2 -c -o CRC.o CRC.cpp
g++ -I. -D__LINUX__ -DX86_ASM `sdl-config --cflags` `gtk-config --cflags gtk gthread` `glib-config --cflags` -fPIC -finline-functions -funroll-loops -ffast-math -mcpu=`uname -m` -O2 -c -o Combiner.o Combiner.cpp
In file included from OpenGL.h:16,
from Combiner.cpp:6:
glATI.h:419:1: warning: "GL_MODELVIEW1_ARB" redefined
In file included from /usr/include/GL/gl.h:2245,
from OpenGL.h:11,
from Combiner.cpp:6:
/usr/include/GL/glext.h:241:1: warning: this is the location of the previous definition
Combiner.cpp: In function `void Combiner_SelectCombine(long long unsigned int)
':
Combiner.cpp:351: error: integer constant is too large for "long" type
make: *** [Combiner.o] Error 1