Hallo Jannis! Jannis Achstetter wrote: Compiliert auf meiner Desktop-Kiste (Gentoo Linux; x86) wunderbar, habe > dort aber leider kein GPS zum testen (Bluetooth), auf meinem > Core2Duo-Laptop (Gentoo Linux; x86_64) kompiliert das leider nich ganz, > denke liegt daran, dass ich ein 64-bit-OS laufen habe. Hier das, was mir > make ausspuckt (nachdem ich da auch die cxrgb.hpp umbenannt hatte): > > [EMAIL PROTECTED] ~/osm/NaviPOWM-0.1.0/Qt/KDevelop $ make > g++ -c -pipe -g -Wall -D_REENTRANT -Wall -W -DQT_GUI_LIB -DQT_CORE_LIB > -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. > -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore > -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4 > -Isrc -I../../common/src -I../src -I. -I. -o CXSerial.o src/CXSerial.cpp > In file included from ../../common/src/CXStringASCII.hpp:26, > from src/CXSerial.hpp:27, > from src/CXSerial.cpp:23: > ../src/TargetIncludes.hpp:34: Fehler: in Konflikt stehende Deklaration > »typedef unsigned int size_t« > /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.2/include/stddef.h:214: Fehler: > »size_t« hat eine vorherige Deklaration als »typedef long unsigned int > size_t« > make: *** [CXSerial.o] Fehler 1 > > Mit "-m32" in den CFLAGS kann er es übersetzen aber logischerweise nich > gegen mein 64bit-Qt-4.3.2 linken :( >
Sobald in TargetIncludes.hpp die Zeilen 33 bis 35 auskommentiert sind läuft die Sache rund. (hier ebenfalls unter 64Bit-gentoo) Grüße, Roman _______________________________________________ Talk-de mailing list [email protected] http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk-de

