LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > 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
 
Search this Thread
Old 04-10-2004, 05:11 PM   #1
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 53
aMule / xMule / lMule invalid static cast error


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.
 
Old 04-20-2004, 10:02 PM   #2
rafamd
LQ Newbie
 
Registered: Apr 2004
Posts: 1

Rep: Reputation: 0
try pmake. Worked with me...

att,
Rafael
 
Old 04-22-2004, 02:29 AM   #3
Mega Man X
Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 63
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...
 
Old 04-22-2004, 02:38 AM   #4
Mega Man X
Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 63
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!
 
Old 04-22-2004, 05:59 AM   #5
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Original Poster
Rep: Reputation: 53
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
 
Old 04-22-2004, 06:19 AM   #6
Mega Man X
Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 63
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 06:56 PM
AMule/XMule and Windows eMule compatability Artik Linux - Software 1 05-05-2005 11:55 AM
[HELP] Xmule,aMule,lmule Client For Connect Behind Proxy LukeLuke1979 Linux - Networking 3 12-01-2004 06:52 AM
Xmule,aMule,lmule Client For Connect Behind Proxy LukeLuke1979 Linux - Software 0 10-13-2004 09:37 AM
How do I get xmule or amule to work??? Necronomicom Linux - Software 4 06-22-2004 05:11 PM


All times are GMT -5. The time now is 11:23 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
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration