Hi.
Amule steigt beim Compilieren mit folgendem Fehler aus:
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -D__SYSTRAY_DISABLED__ -I/usr/lib/wx/inc
lude/gtk2u-2.5 -I/usr/include/wx-2.5 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OF
FSET_BITS=64 -D_LARGE_FILES -DWX_PRECOMP -DNO_GCC_PRAGMA -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/in
clude/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib
-2.0/include -D__GTK2__ -O2 -pipe -march=athlon-xp -DUSE_EMBEDDED_CRYPTO -
O2 -MT amule-UInt128.o -MD -MP -MF ".deps/amule-UInt128.Tpo" -c -o amule-UInt12
8.o `test -f 'kademlia/utils/UInt128.cpp' || echo './'`kademlia/utils/UInt128.cp
p; \
then mv -f ".deps/amule-UInt128.Tpo" ".deps/amule-UInt128.Po"; else rm -f ".deps
/amule-UInt128.Tpo"; exit 1; fi
kademlia/utils/UInt128.cpp:132:2: warning: #warning Whats this?
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -D__SYSTRAY_DISABLED__ -I/usr/lib/wx/inc
lude/gtk2u-2.5 -I/usr/include/wx-2.5 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OF
FSET_BITS=64 -D_LARGE_FILES -DWX_PRECOMP -DNO_GCC_PRAGMA -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/in
clude/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib
-2.0/include -D__GTK2__ -O2 -pipe -march=athlon-xp -O2 -MT amule-gsocket-2
.5.o -MD -MP -MF ".deps/amule-gsocket-2.5.Tpo" -c -o amule-gsocket-2.5.o `test -
f 'gsocket-2.5.c' || echo './'`gsocket-2.5.c; \
then mv -f ".deps/amule-gsocket-2.5.Tpo" ".deps/amule-gsocket-2.5.Po"; else rm -
f ".deps/amule-gsocket-2.5.Tpo"; exit 1; fi
In file included from /usr/include/wx-2.5/wx/unix/gsockunx.h:19,
from gsocket-2.5.c:168:
/usr/include/wx-2.5/wx/gsocket.h:39: error: parse error before "GSocket"
/usr/include/wx-2.5/wx/gsocket.h:39: warning: data definition has no type or sto
rage class
/usr/include/wx-2.5/wx/gsocket.h:92: error: parse error before '*' token
/usr/include/wx-2.5/wx/gsocket.h:100: error: parse error before "GSocketGUIFunct
ionsTable"
...
Das Problem besteht darin, dass er versucht, amule-gsocket mit gcc statt g++ zu übersetzen. Das schlägt fehl, da der includierte Header wx/gsocket.h C++ enthält. Soweit ich das sehe, liegt hier ein Fehler im Makefile.in vor. Kann irgendwer was zu dem Problem sagen?
Danke und Gruß,
Jens