aMule Forum
English => Compilation problems => Topic started by: Frankk on February 25, 2005, 12:44:27 PM
-
I can't compile today CVS, here is the output:
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/wx/include/gtk-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -DUSE_EMBEDDED_CRYPTO -W -Wall -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0 -MT amule-SysTray.o -MD -MP -MF ".deps/amule-SysTray.Tpo" \
-c -o amule-SysTray.o `test -f 'SysTray.cpp' || echo './'`SysTray.cpp; \
then mv -f ".deps/amule-SysTray.Tpo" ".deps/amule-SysTray.Po"; \
else rm -f ".deps/amule-SysTray.Tpo"; exit 1; \
fi
SysTray.cpp: In function `gboolean tray_menu(GtkWidget*, GdkEventButton*, void*)':
SysTray.cpp:162: error: `unicode2char' undeclared (first use this function)
SysTray.cpp:162: error: (Each undeclared identifier is reported only once for each function it appears in.)
SysTray.cpp: In constructor `CSysTray::CSysTray(wxWindow*, DesktopMode, const wxString&)':
SysTray.cpp:535: error: `unicode2char' undeclared (first use this function)
SysTray.cpp: In member function `void CSysTray::SetTrayToolTip(const wxString&)':
SysTray.cpp:609: error: `unicode2char' undeclared (first use this function)
make[4]: *** [amule-SysTray.o] Error 1
make[4]: Leaving directory `/home/frankk/amule-related/amule-cvs/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/frankk/amule-related/amule-cvs/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/frankk/amule-related/amule-cvs/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/frankk/amule-related/amule-cvs'
make: *** [all] Error 2
Bye,
Frankk
-
Yay, I broke it for wx 2.4.x
Just add #include "StringFunctions.h"
-
Finished compilation now.
Thanks.
-
Frankk,
Fixed on cvs. Try this patch please to confirm that is fixed.
To apply, do:
$ cd (dir where you untarred amule)
$ patch -p0 < /path/to/patch/systray.patch
Cheers!
-
He already did, phoenix.
-
Try this patch please to confirm that is fixed.
Hi Phoenix, had the same problem as described above with todays cvs, ive applied your patch and now its working fine.
Thanks for all your help.
-
Er, sorry, I forgot to reload the page. :)