aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Make error  (Read 2728 times)

JRM

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 25
Make error
« on: July 21, 2004, 07:46:45 PM »

Code: [Select]
[...]
PrefsUnifiedDlg.h:77: error: ISO C++ forbids declaration of `wxButton' with no type
PrefsUnifiedDlg.h:77: error: expected `;' before '*' token
PrefsUnifiedDlg.h: In member function `int PrefsUnifiedDlg::GetColorIndex()':
PrefsUnifiedDlg.h:68: error: invalid use of undefined type `struct wxChoice'
PrefsUnifiedDlg.h:42: error: forward declaration of `struct wxChoice'
ListenSocket.cpp:89:4: warning: #warning check closing method to change order and get rid of this
ListenSocket.cpp:720:8: warning: #warning Here should be the IDHybrid, but we don't use it yet and I'm afraid it will break a lot ;)
ListenSocket.cpp:726:7: warning: #warning Here should be the IDHybrid, but we don't use it yet and I'm afraid it will break a lot ;)
ListenSocket.cpp:773:6: warning: #warning TODO: CHECK MESSAGE FILTERING!
ListenSocket.cpp:1051:7: warning: #warning We need a new ProcessSharedFileList that can handle dirs. ___UNICODE___
make[4]: *** [amule-ListenSocket.o] Erreur 1
make[4]: Leaving directory `/home/jrm/aMule-2.0.0rc5/src'
make[3]: *** [all-recursive] Erreur 1
make[3]: Leaving directory `/home/jrm/aMule-2.0.0rc5/src'
make[2]: *** [all] Erreur 2
make[2]: Leaving directory `/home/jrm/aMule-2.0.0rc5/src'
make[1]: *** [all-recursive] Erreur 1
make[1]: Leaving directory `/home/jrm/aMule-2.0.0rc5'
make: *** [all] Erreur 2

I'm using these packages from ThePolish :
libwxgtk-common_2.5_1-2.5.1-4mdk.i586.rpm
libwxgtk-common_2.5_1-devel-2.5.1-4mdk.i586.rpm
libwxgtk-gtk1_2.5_1-2.5.1-4mdk.i586.rpm
libwxgtk-gtk1_2.5_1-devel-2.5.1-4mdk.i586.rpm
libcryptopp5-5.1-2mdk.i586.rpm
libcryptopp5-devel-5.1-2mdk.i586.rpm
Logged

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: Make error
« Reply #1 on: July 21, 2004, 07:54:09 PM »

Are you following any of the howtos at aMule's wiki?
http://wiki.amule.org
Logged

JRM

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 25
Re: Make error
« Reply #2 on: July 22, 2004, 12:57:58 PM »

I read them all

I've installed on my mandrake box all the RPMs coming from ThePolish's website (thx to him by the way) so I've all the needed libs. I want to build aMulefrom sources to make use of gtk2 with wxGTK-2.5.1, which is supported by rc5 if I'm not mistaken.

I've done ./configure --disable-debug --enable-optimize && make and get this error.
Logged

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: Make error
« Reply #3 on: July 22, 2004, 01:04:33 PM »

I'd suggest you to compile on your own also wxWidgets and crypto++ and them compile aMule. I can't help you on the Polish's packages because I've never used them.
If you wish to compile self-compile wx and crypto++ too and then aMule, follow this howto:
http://www.amule.org/wiki/index.php/Compilation_Installation
Anyway, you can wait for The Polish to tell yuo about those packages.
Greetings!
Logged

thepolish

  • Hero Member
  • *****
  • Karma: 2
  • Offline Offline
  • Posts: 896
Re: Make error
« Reply #4 on: July 22, 2004, 04:25:30 PM »

Hi,
 I m trying to reproduce it:

Code: [Select]
[root@localhost i586]# rpm -ivh libwxgtk-common_2.5_1-2.5.1-4mdk.i586.rpm
Préparation...              ########################################### [100%]
   1:libwxgtk-common_2.5_1   ########################################### [100%]
[root@localhost i586]#  rpm -ivh libwxgtk-common_2.5_1-devel-2.5.1-4mdk.i586.rpm libwxgtk-gtk1_2.5_1-2.5.1-4mdk.i586.rpm libwxgtk-gtk1_2.5_1-devel-2.5.1-4mdk.i586.rpm
Préparation...              ########################################### [100%]
   1:libwxgtk-gtk1_2.5_1    ########################################### [ 33%]
   2:libwxgtk-common_2.5_1-d########################################### [ 67%]
   3:libwxgtk-gtk1_2.5_1-dev########################################### [100%]

Code: [Select]

./configure --disable-debug --enable-optimize

blabla

Which libraries should aMule use?
wxWidgets          2.5.1
GTK                1.2.10

Code: [Select]
make

blabla

List.o amule-SearchListCtrl.o amule-server.o amule-ServerList.o amule-ServerListCtrl.o amule-ServerSocket.o amule-ServerWnd.o amule-SharedFileList.o amule-SharedFilesCtrl.o amule-SharedFilesWnd.o amule-sockets.o amule-StatisticsDlg.o amule-TransferWnd.o amule-UDPSocket.o amule-UploadClient.o amule-UploadListCtrl.o amule-UploadQueue.o amule-amule.o amule-amuleDlg.o  amule-gsocket-2.5.o amule-eggtrayicon.o amule-SysTray.o amule-gtk2-funcs.o amule-gtkplugxembed.o   -pthread -lwx_gtk_html-2.5 -lwx_gtk_dbgrid-2.5 -lwx_gtk_adv-2.5 -lwx_gtk_core-2.5 -lwx_base_odbc-2.5 -lwx_base_xml-2.5 -lwx_base_net-2.5 -lwx_base-2.5 -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -lz -L/usr/lib -lcurl -lz -lssl -lcrypto -ldl -lssl -lcrypto -ldl -lcryptopp
make[4]: Leaving directory `/home/fox/rpm/SOURCES/aMule-2.0.0rc5/src'
make[3]: Leaving directory `/home/fox/rpm/SOURCES/aMule-2.0.0rc5/src'
make[2]: Leaving directory `/home/fox/rpm/SOURCES/aMule-2.0.0rc5/src'
make[2]: Entering directory `/home/fox/rpm/SOURCES/aMule-2.0.0rc5'
make[2]: Rien à faire pour « all-am ».
make[2]: Leaving directory `/home/fox/rpm/SOURCES/aMule-2.0.0rc5'
make[1]: Leaving directory `/home/fox/rpm/SOURCES/aMule-2.0.0rc5'
bash-2.05b$

NO ERRORS !!! :)

Thats not a rpm problem, it looks like a compiler problem. What compiler do u use ? i hope NOT gcc 3.4 :)

mine is the standard from mdk 10.0 and no prob

Code: [Select]
bash-2.05b$ g++ --version
g++ (GCC) 3.3.2 (Mandrake Linux 10.0 3.3.2-6mdk)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

ThePolish
Logged
Only after the last tree has been cut down
Only after the last river has been poisoned
Only after the last fish has been caught
Only then you will find out that money cannot be eaten
(Cree Prophecy)

JRM

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 25
Re: Make error
« Reply #5 on: July 22, 2004, 11:07:28 PM »

I've tried with gcc3.4.1and 3.5 (cooker), I've not seen any warning about that in the readme/knownbugs txt or the wiki

gcc 3.4.1 will be used to build the next mdk 10.1 so you'll also have this problem sooner or later :P
« Last Edit: July 22, 2004, 11:12:32 PM by JRM »
Logged

thepolish

  • Hero Member
  • *****
  • Karma: 2
  • Offline Offline
  • Posts: 896
Re: Make error
« Reply #6 on: July 22, 2004, 11:31:37 PM »

Hi,

yes, we know some changes must be done to be fully 3.4 compatible. 3.4 have a c++ parser more strict than 3.3, and some code in amule is not compatible with it. we are working on it in cvs.

For now, and rc5, avoid 3.4  :)

U can also try to use cvs snapshots, and submit patches to solve 3.4 pb too :)

The polish
Logged
Only after the last tree has been cut down
Only after the last river has been poisoned
Only after the last fish has been caught
Only then you will find out that money cannot be eaten
(Cree Prophecy)

JRM

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 25
Re: Make error
« Reply #7 on: July 23, 2004, 10:47:29 AM »

do you accept html patches ? that's the best I can do  :D
Logged

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: Make error
« Reply #8 on: July 23, 2004, 12:18:38 PM »

allthough it might have been a joke, if you take a look at aMule.tmpl, thats an HTML template for the webserver.
Patch it however you'd like to ;-)
If it looks good, post your patches.
Greetings!
Logged