aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: latest cvs (2004.11.14) doesn't compile  (Read 1841 times)

fctk

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 32
latest cvs (2004.11.14) doesn't compile
« on: November 14, 2004, 06:17:18 PM »

Code: [Select]
make[3]: Entering directory `/home/fctk/amule-related/amule-cvs/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I..      -I/usr/lib/wx/include/gtk2-ansi-release-2.5 -I/usr/include/wx-2.5 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES   -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -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/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -D__GTK2__   -DUSE_EMBEDDED_CRYPTO -W -Wall -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0   -MT amule-ServerListCtrl.o -MD -MP -MF ".deps/amule-ServerListCtrl.Tpo" \
  -c -o amule-ServerListCtrl.o `test -f 'ServerListCtrl.cpp' || echo './'`ServerListCtrl.cpp; \
then mv -f ".deps/amule-ServerListCtrl.Tpo" ".deps/amule-ServerListCtrl.Po"; \
else rm -f ".deps/amule-ServerListCtrl.Tpo"; exit 1; \
fi
ServerListCtrl.cpp: In static member function `static int CServerListCtrl::SortProc(long int, long int, long int)':
ServerListCtrl.cpp:591: error: `CmpAny' undeclared (first use this function)
ServerListCtrl.cpp:591: error: (Each undeclared identifier is reported only once for each function it appears in.)
ServerListCtrl.cpp:593: error: duplicate case value
ServerListCtrl.cpp:577: error: previously used here
make[3]: *** [amule-ServerListCtrl.o] Error 1
make[3]: Leaving directory `/home/fctk/amule-related/amule-cvs/src'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/fctk/amule-related/amule-cvs/src'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/home/fctk/amule-related/amule-cvs/src'
make: *** [install-recursive] Error 1
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: latest cvs (2004.11.14) doesn't compile
« Reply #1 on: November 14, 2004, 06:20:35 PM »

In ServerListCtrl.cpp line 591 replace the call to CmpAny with otherfunctions::CmpAny

Then it should compile. Or wait for tomorrow's CVS tarball.
Logged
concordia cum veritate