aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: 20050225  (Read 4877 times)

Frankk

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 142
    • http://frankk.no-ip.com
20050225
« 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
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: 20050225
« Reply #1 on: February 25, 2005, 02:21:06 PM »

Yay, I broke it for wx 2.4.x

Just add #include "StringFunctions.h"
Logged

Frankk

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 142
    • http://frankk.no-ip.com
Re: 20050225
« Reply #2 on: February 25, 2005, 02:28:58 PM »

Finished compilation now.
Thanks.
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: 20050225
« Reply #3 on: February 25, 2005, 02:29:53 PM »

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!
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: 20050225
« Reply #4 on: February 25, 2005, 03:39:21 PM »

He already did, phoenix.
Logged

feralertx

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 101
Re: 20050225
« Reply #5 on: February 25, 2005, 03:43:28 PM »

Quote
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.
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: 20050225
« Reply #6 on: February 26, 2005, 02:25:12 AM »

Er, sorry, I forgot to reload the page. :)
Logged