LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Thread Tools
Old 04-10-2004, 06:11 PM   #1
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,905
Thanked: 9
aMule / xMule / lMule invalid static cast error


[Log in to get rid of this advertisement]
Hi all,

I'm almost ashamed that I can't solve this one, but on compiling aMule / xMule /lMule (all three use wxGTK) I get the error:

Code:
AddFriend.cpp:55: invalid static_cast from type `void (CAddFriend::*)(wxEvent&)
   ' to type `void (wxEvtHandler::*)(wxCommandEvent&)'
AddFriend.cpp:56: invalid static_cast from type `void (CAddFriend::*)(wxEvent&)
   ' to type `void (wxEvtHandler::*)(wxCommandEvent&)'
make[2]: *** [amule-AddFriend.o] Error 1
make[2]: Leaving directory `/tmp/aMule-1.2.6/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/aMule-1.2.6'
make: *** [all] Error 2
Can't figure this one out...I've even updated wxGtk and wxBase to version 2.5.1 but I'll be blowed if I can get this to compile. It's the same error on all three programs, btw.
It almost looks like I'm using the wrong compiler to build it.
Komakino is offline     Reply With Quote
Old 04-20-2004, 11:02 PM   #2
rafamd
LQ Newbie
 
Registered: Apr 2004
Posts: 1
Thanked: 0
try pmake. Worked with me...

att,
Rafael
rafamd is offline     Reply With Quote
Old 04-22-2004, 03:29 AM   #3
Mega Man X
Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,363
Thanked: 10
Exactly same problem here running Slackware 9.0. pmake won't compile either. Sadly, xmule is down for the moment... that one I could get to work. Odd enough, ./configure returns no error...
Mega Man X is offline     Reply With Quote
Old 04-22-2004, 03:38 AM   #4
Mega Man X
Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,363
Thanked: 10
Ok, got a way around it. Download this rpm:

http://lmule.sourceforge.net/

for Redhat 8.0. Install it under Slack forcing the rpm:

rpm -i xmule-1.4.0-1.i386.rpm --nodeps

Then run xmule at the console. It worked for me.

Question: I've forced an install of aMule rpm in Slackware 9.0. How can I go by removing that rpm? rpm -e <name of the package> says the package is not installed . I've never needed to force an rpm before(I consider rpm's in Slackware useless, but this time it helped ), so any help would be great.

Thanks in advance!
Mega Man X is offline     Reply With Quote
Old 04-22-2004, 06:59 AM   #5
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,905
Thanked: 9

Original Poster
rpm -e <packagename> should work, only don't include all the version numbers that usually accompany the rpm. For example if you installed xmms with rpm -i xmms-1.2_3.rpm then uninstall it with rpm -e xmms
Komakino is offline     Reply With Quote
Old 04-22-2004, 07:19 AM   #6
Mega Man X
Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,363
Thanked: 10
Thanks Komakino!

That did the trick with some "forced" rpm's. Some returns some errors, but I will fix it

Thanks mate!

P.S: I hope you got *mule to work
Mega Man X is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
amule, lmule, and xmule problem tutwabee Linux - Software 5 07-15-2005 07:56 PM
AMule/XMule and Windows eMule compatability Artik Linux - Software 1 05-05-2005 12:55 PM
[HELP] Xmule,aMule,lmule Client For Connect Behind Proxy LukeLuke1979 Linux - Networking 3 12-01-2004 07:52 AM
Xmule,aMule,lmule Client For Connect Behind Proxy LukeLuke1979 Linux - Software 0 10-13-2004 10:37 AM
How do I get xmule or amule to work??? Necronomicom Linux - Software 4 06-22-2004 06:11 PM


All times are GMT -5. The time now is 10:30 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration