aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: mingw compilation of CVS no go  (Read 3403 times)

realcruncher

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 46
mingw compilation of CVS no go
« on: July 09, 2006, 02:37:55 AM »

Hi,

i only want to use the amulegui and used the following configuration:

./configure --disable-monolithic --disable-ed2k --enable-amule-gui --disable-debug --enable-final --disable-profile --enable-optimize

Wxwidgets is the current snapshot (named 2.7.0).

after running make this is the result:

Code: [Select]
[...]
g++  -DNOMINMAX -DUSE_EMBEDDED_CRYPTO -W -Wall -Wshadow -Wundef -O2  -DUSE_WX_EXTENSIONS   -o amulegui.exe  amulegui-amule-remote-gui.o amulegui-amule-gui.o amulegui-amuleDlg.o amulegui-AddFriend.o amulegui-ChatSelector.o amulegui-ClientDetailDialog.o amulegui-FileDetailDialog.o amulegui-KadDlg.o amulegui-OScopeCtrl.o amulegui-PartFileConvert.o amulegui-PrefsUnifiedDlg.o amulegui-SearchDlg.o amulegui-ServerWnd.o amulegui-SharedFilesWnd.o amulegui-StatisticsDlg.o amulegui-SearchListCtrl.o amulegui-DownloadListCtrl.o amulegui-ClientListCtrl.o amulegui-FriendListCtrl.o amulegui-ServerListCtrl.o amulegui-SharedFilesCtrl.o amulegui-MuleTrayIcon.o amulegui-TransferWnd.o amulegui-ClientCredits.o amulegui-ECSpecialMuleTags.o amulegui-KnownFile.o amulegui-GetTickCount.o amulegui-GuiEvents.o amulegui-Logger.o amulegui-PartFile.o amulegui-Preferences.o amulegui-Proxy.o amulegui-Server.o amulegui-Statistics.o amulegui-StatTree.o amulegui-SHAHashSet.o amulegui-UserEvents.o amulegui-OtherFunctions.o -L. -lmuleappcommon -Llibs/common -Llibs/ec -lmulecommon -lec   -lbfd -liberty  -L. -lmuleappgui  -L/usr/local/lib  -mthreads  -Wl,--subsystem,windows -mwindows /usr/local/lib/libwx_mswu_adv-2.7.a /usr/local/lib/libwx_mswu_core-2.7.a /usr/local/lib/libwx_baseu_net-2.7.a /usr/local/lib/libwx_baseu-2.7.a -lwxregexu-2.7 -lwxexpat-2.7 -lwxtiff-2.7 -lwxjpeg-2.7 -lwxpng-2.7 -lz -lrpcrt4 -loleaut32 -lole32 -luuid -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32  amulerc.o -lz
amulegui-DownloadListCtrl.o(.rdata$_ZTV17CDownloadListCtrl[vtable for CDownloadListCtrl]+0x8):DownloadListCtrl.cpp: undefined reference to `wxObject::GetClassInfoW() const'
collect2: ld returned 1 exit status
make[3]: *** [amulegui.exe] Error 1
Logged

Onkelvent

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 19
Re: mingw compilation of CVS no go
« Reply #1 on: July 09, 2006, 05:49:24 PM »

I have it just compiling. Besides, I had no problems. I am of use wxwidgets 2.6.3. It functions with Win XP and SuSE 10.0.

Win XP
Code: [Select]
$ ./configure --with-zlib=/home/sven/aMule/zlibdll/ --disable-debug --enable-optimize --enable-static --enable-amule-gui --disable-ed2k && make
SuSE 10.0
Code: [Select]
$ ./configure --disable-debug --enable-optimize --enable-amule-gui && make
Onkelvent
Logged
aMule-CVS for Win32 01.08.2006
here   or ed2k://|file|aMule_Win32_CVS_20060801_Onkelvent.zip|6050576|FF9A204510123A06C34ACB572CB7F549|/

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: mingw compilation of CVS no go
« Reply #2 on: July 09, 2006, 11:06:39 PM »

Btw, realcruncher, where did you get that '--enable-final' switch from?
Logged
concordia cum veritate

Gerd78

  • Hero Member
  • *****
  • Karma: 9
  • Offline Offline
  • Posts: 681
Re: mingw compilation of CVS no go
« Reply #3 on: July 10, 2006, 12:09:41 AM »

--enable-final is used by various KDE apps, I think realcruncher copied it from there:

http://lists.kde.org/?l=kde-devel&m=92722836009368&w=2

aMule's autoconf script will just ignore it.
Logged

realcruncher

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 46
Re: mingw compilation of CVS no go
« Reply #4 on: July 10, 2006, 09:05:15 AM »

i am downloading the oncle version now :)
I still don't know why it doesn't compile in my msys environment. What did you install so that the precompiler doesn't create a file with wxObject::GetClassInfoW() const which the linker can't find ?
The enable-final switch was used sometimes and i didn't remove it when it maybe became obsolet.
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: mingw compilation of CVS no go
« Reply #5 on: July 10, 2006, 11:36:51 AM »

It may be a wxCVS problem. I can confirm, that with wxMSW 2.6.3 aMule compiles fine.
Logged
concordia cum veritate