aMule Forum

English => Compilation problems => Topic started by: orinoco on March 14, 2006, 01:57:59 PM

Title: [aMule CVS 2006-03-14] Could not compile in Windows XP
Post by: orinoco on March 14, 2006, 01:57:59 PM
This is configure log:

==================================================
  Configure script has finished system check.

  Configured aMule CVS for 'i686-pc-mingw32'.

  aMule enabled options:

  **** aMule Core ****
  Prefix where aMule should be installed?                    /usr/local
  Should aMule be compiled with i18n support?                yes
  Should aMule be compiled in debug mode?                    yes
  Should aMule be compiled with profiling?                   no
  Should aMule be compiled with optimizations?               no
  Should aMule monolithic application be built?              no
  Should aMule daemon version be built?                      no
  Should aMule remote gui be built? (EXPERIMENTAL)           yes
  Crypto++ library/headers style?                            embedded

  **** aMule TextClient ****
  Should aMule Command Line Client be built?                 no

  **** aMule WebServer ****
  Should aMule WebServer be built?                           no

  **** aMule ED2K Links Handler ****
  Should aMule ED2K Links Handler be built?                  no

  **** aMuleLinkCreator ****
  Should aMuleLinkCreator GUI version (alc) be built?        no
  Should aMuleLinkCreator for console (alcc) be built?       no

  **** aMule Statistics ****
  Should C aMule Statistics (CAS) be built?                  no
  Should aMule GUI Statistics (wxCas) be built?              no

  **** General Libraries and Tools ****
  Should ccache support be enabled?                          no
  Libraries aMule will use to build:
                                       wxWidgets             2.7.0
                                       crypto++              embedded
                                       zlib                  1.2.3
==================================================

Error is in make:

==================================================
In file included from SHAHashSet.cpp:36:
PartFile.h:317:3: warning: #warning Kry - Is currently unused and must be fixed
if g++ -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/local/lib/wx/include/msw-unicode-r                                             elease-static-2.7 -I/usr/local/include/wx-2.7 -D__WXMSW__ -mthreads  -I./libs -I                                             libs -DCLIENT_GUI -DEC_REMOTE -DNOMINMAX -DUSE_EMBEDDED_CRYPTO -W -Wall -Wshadow                                              -Wundef -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0 -D_GLIBCXX_DEBUG -D                                             _GLIBCXX_DEBUG_PEDANTIC   -MT amulegui-OtherFunctions.o -MD -MP -MF ".deps/amule                                             gui-OtherFunctions.Tpo" -c -o amulegui-OtherFunctions.o `test -f 'OtherFunctions                                             .cpp' || echo './'`OtherFunctions.cpp; \
then mv -f ".deps/amulegui-OtherFunctions.Tpo" ".deps/amulegui-OtherFunctions.Po                                             "; else rm -f ".deps/amulegui-OtherFunctions.Tpo"; exit 1; fi
windres --include-dir /usr/local/lib/wx/include/msw-unicode-release-static-2.7 -                                             -include-dir /usr/local/include/wx-2.7 --define __WXMSW__  --define __WIN95__ --                                             define __WIN32__ --define __GNUWIN32__ -O COFF -i amule.rc -o "amulerc.o"
g++  -DNOMINMAX -DUSE_EMBEDDED_CRYPTO -W -Wall -Wshadow -Wundef -g -ggdb -fno-in                                             line -D__DEBUG__ -fmessage-length=0 -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC                                                  -o amulegui.exe  amulegui-amule-remote-gui.o amulegui-amule-gui.o amulegui-am                                             uleDlg.o amulegui-AddFriend.o amulegui-ChatSelector.o amulegui-ClientDetailDialo                                             g.o amulegui-FileDetailDialog.o amulegui-KadDlg.o amulegui-OScopeCtrl.o amulegui                                             -PartFileConvert.o amulegui-PrefsUnifiedDlg.o amulegui-SearchDlg.o amulegui-Serv                                             erWnd.o amulegui-SharedFilesWnd.o amulegui-StatisticsDlg.o amulegui-SearchListCt                                             rl.o amulegui-DownloadListCtrl.o amulegui-ClientListCtrl.o amulegui-FriendListCt                                             rl.o amulegui-ServerListCtrl.o amulegui-SharedFilesCtrl.o amulegui-MuleTrayIcon.                                             o amulegui-TransferWnd.o amulegui-ClientCredits.o amulegui-ECSpecialMuleTags.o a                                             mulegui-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-OtherF                                             unctions.o -L. -lmuleappcommon -Llibs/common -Llibs/ec -lmulecommon -lec -lz  -l                                             bfd -liberty  -L. -lmuleappgui  -L/usr/local/lib  -mthreads  -Wl,--subsystem,win                                             dows -mwindows /usr/local/lib/libwx_mswu_adv-2.7.a /usr/local/lib/libwx_mswu_cor                                             e-2.7.a /usr/local/lib/libwx_baseu_net-2.7.a /usr/local/lib/libwx_baseu-2.7.a -l                                             wxregexu-2.7 -lwxexpat-2.7 -lwxtiff-2.7 -lwxjpeg-2.7 -lwxpng-2.7 -lz -lrpcrt4 -l                                             oleaut32 -lole32 -luuid -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl                                             3d32 -ladvapi32 -lwsock32 -lgdi32  amulerc.o
./libmuleappgui.a(libmuleappgui_a-MuleListCtrl.o)(.text+0x140): In function `ZN1                                             3CMuleListCtrlC2EP8wxWindowiRK7wxPointRK6wxSizelRK11wxValidatorRK8wxString':
C:/msys/1.0/home/amule-cvs/src/MuleListCtrl.cpp:83: undefined reference to `wxGe                                             nericImageList::GetImageCount() const'
./libmuleappgui.a(libmuleappgui_a-MuleListCtrl.o)(.text+0x175):C:/msys/1.0/home/                                             amule-cvs/src/MuleListCtrl.cpp:84: undefined reference to `wxGenericImageList::A                                             dd(wxBitmap const&)'
./libmuleappgui.a(libmuleappgui_a-MuleListCtrl.o)(.text+0x1d9):C:/msys/1.0/home/                                             amule-cvs/src/MuleListCtrl.cpp:85: undefined reference to `wxGenericImageList::A                                             dd(wxBitmap const&)'
./libmuleappgui.a(libmuleappgui_a-MuleListCtrl.o)(.text+0x23d):C:/msys/1.0/home/                                             amule-cvs/src/MuleListCtrl.cpp:86: undefined reference to `wxGenericImageList::A                                             dd(wxBitmap const&)'
./libmuleappgui.a(libmuleappgui_a-MuleListCtrl.o)(.text+0x2a1):C:/msys/1.0/home/                                             amule-cvs/src/MuleListCtrl.cpp:87: undefined reference to `wxGenericImageList::A                                             dd(wxBitmap const&)'
./libmuleappgui.a(libmuleappgui_a-MuleListCtrl.o)(.text+0x578): In function `ZN1                                             3CMuleListCtrlC1EP8wxWindowiRK7wxPointRK6wxSizelRK11wxValidatorRK8wxString':
C:/msys/1.0/home/amule-cvs/src/MuleListCtrl.cpp:83: undefined reference to `wxGe                                             nericImageList::GetImageCount() const'
./libmuleappgui.a(libmuleappgui_a-MuleListCtrl.o)(.text+0x5ad):C:/msys/1.0/home/                                             amule-cvs/src/MuleListCtrl.cpp:84: undefined reference to `wxGenericImageList::A                                             dd(wxBitmap const&)'
./libmuleappgui.a(libmuleappgui_a-MuleListCtrl.o)(.text+0x611):C:/msys/1.0/home/                                             amule-cvs/src/MuleListCtrl.cpp:85: undefined reference to `wxGenericImageList::A                                             dd(wxBitmap const&)'
./libmuleappgui.a(libmuleappgui_a-MuleListCtrl.o)(.text+0x675):C:/msys/1.0/home/                                             amule-cvs/src/MuleListCtrl.cpp:86: undefined reference to `wxGenericImageList::A                                             dd(wxBitmap const&)'
./libmuleappgui.a(libmuleappgui_a-MuleListCtrl.o)(.text+0x6d9):C:/msys/1.0/home/                                             amule-cvs/src/MuleListCtrl.cpp:87: undefined reference to `wxGenericImageList::A                                             dd(wxBitmap const&)'
./libmuleappgui.a(libmuleappgui_a-MuleListCtrl.o)(.text+0x41e0): In function `Z4                                             1__static_initialization_and_destruction_0ii':
C:/msys/1.0/home/amule-cvs/src/MuleListCtrl.cpp:73: undefined reference to `wxGe                                             nericImageList::wxGenericImageList(int, int, bool, int)'
./libmuleappgui.a(libmuleappgui_a-MuleListCtrl.o)(.text+0x41fb):C:/msys/1.0/home                                             /amule-cvs/src/MuleListCtrl.cpp:73: undefined reference to `wxGenericImageList::                                             ~wxGenericImageList()'
collect2: ld returned 1 exit status
make[3]: *** [amulegui.exe] Error 1
make[3]: Leaving directory `/home/amule-cvs/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/amule-cvs/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/amule-cvs'
make: *** [all] Error 2

Admin@LAPTOP /home/amule-cvs
==================================================

Full make log attached in attachement.

Please reply when this bug will be fixed in CVS. Thanks!
Title: Re: [aMule CVS 2006-03-14] Could not compile in Windows XP
Post by: thedude0001 on March 14, 2006, 05:49:58 PM
One piece of advice: If an admin closes your post and gives you a warning because you were annoying him about it: Don't open a new thread about the exact same error. The error is known, it will be fixed at some point.

I'll better close this before Kry sees it ^^
Title: Re: [aMule CVS 2006-03-14] Could not compile in Windows XP
Post by: stefanero on March 14, 2006, 05:58:10 PM
closing does not prevent him from seeing it  :]
Title: Re: [aMule CVS 2006-03-14] Could not compile in Windows XP
Post by: Kry on March 14, 2006, 07:40:39 PM
Dude, 2 warnings in 3 days' gotta be a record.