aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: compiling with wxwidgets2.6.0  (Read 2736 times)

Mig21

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 57
  • Just another guy.
compiling with wxwidgets2.6.0
« on: April 22, 2005, 12:13:01 AM »

hi

wx 2.6 came out and of course i installed it without thinking too much :)

now i can't recompile amule.

make output:
Code: [Select]
packets.cpp:180:26: warning: #warning Phoenix - why??? Check this info and clean!
packets.cpp:391:18: warning: #warning we need to add the new tag types before 2.0.0
if g++ -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/lib/wx/include/gtk-ansi-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1   -DwxUSE_GUI=0 -DAMULE_DAEMON  -DUSE_EMBEDDED_CRYPTO -W -Wall -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0 -O2 -pg -MT amuled-PartFile.o -MD -MP -MF ".deps/amuled-PartFile.Tpo" -c -o amuled-PartFile.o `test -f 'PartFile.cpp' || echo './'`PartFile.cpp; \
then mv -f ".deps/amuled-PartFile.Tpo" ".deps/amuled-PartFile.Po"; else rm -f ".deps/amuled-PartFile.Tpo"; exit 1; fi
PartFile.cpp:376:18: warning: #warning Code for full file alloc - should be done on thread.
PartFile.cpp:388:10: warning: #warning getsizeonly is ignored because we do not import yet
PartFile.cpp:525:50: warning: #warning needs setfiletype string
PartFile.cpp:2916:26: warning: #warning We should use the IDHybrid here... but is not implemented yet
if g++ -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/lib/wx/include/gtk-ansi-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1   -DwxUSE_GUI=0 -DAMULE_DAEMON  -DUSE_EMBEDDED_CRYPTO -W -Wall -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0 -O2 -pg -MT amuled-Preferences.o -MD -MP -MF ".deps/amuled-Preferences.Tpo" -c -o amuled-Preferences.o `test -f 'Preferences.cpp' || echo './'`Preferences.cpp; \
then mv -f ".deps/amuled-Preferences.Tpo" ".deps/amuled-Preferences.Po"; else rm -f ".deps/amuled-Preferences.Tpo"; exit 1; fi
Preferences.cpp: In constructor `CPreferences::CPreferences()':
Preferences.cpp:573: error: `wxGetLocalTimeMillis' undeclared (first use this function)
Preferences.cpp:573: error: (Each undeclared identifier is reported only once for each function it appears in.)
make[4]: *** [amuled-Preferences.o] Error 1

wx files:
Code: [Select]
$ ls -l /usr/bin/wx*
lrwxrwxrwx  1 root root    39 2005-04-21 18:04 /usr/bin/wx-config -> /usr/lib/wx/config/gtk-ansi-release-2.6*
lrwxrwxrwx  1 root root     8 2005-04-21 18:04 /usr/bin/wxrc -> wxrc-2.6*
-rwxr-xr-x  1 root root 80943 2005-04-21 18:04 /usr/bin/wxrc-2.6*
$ ls -l /usr/local/bin/wx*
/usr/bin/ls: /usr/local/bin/wx*: No such file or directory

i tried reinstalling wx 3 times, one of them following the instructions on amule wiki, always the same problem.

the mule sources were always clean, freshly extracted

i also have trouble recompiling another wx app (xchm) and i get a similar error in that some (non-wx) reerence is not defined.

i was really looking forward to the new wx, because it supports text selection and i don't want to use a beta.

oh also when i removed wx2.4 make complained about /usr/share/locale being non-empty so i removed it. was that a big oops?

hope it's not an amule problem

thanks && cheers
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: compiling with wxwidgets2.6.0
« Reply #1 on: April 22, 2005, 12:53:12 AM »

Check today's tarball, I fixed that.
Logged

Mig21

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 57
  • Just another guy.
Re: compiling with wxwidgets2.6.0
« Reply #2 on: April 22, 2005, 01:37:07 AM »

nice, works great
Logged