LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-21-2003, 10:47 PM   #1
lord_clarence
Member
 
Registered: Oct 2003
Location: Wisconsin
Distribution: Mandrake 9.2
Posts: 70

Rep: Reputation: 15
xmule probs


Well, I tried to install xmule and I got these crazy errors, and was wondering if any of you might know whats going on and how to resolve it:



Code:
fi
In file included from ServerList.h:24,
                 from ServerListCtrl.h:4,
                 from sockets.h:27,
                 from xmuleDlg.h:24,
                 from xmule.h:30,
                 from AddFriend.cpp:23:
Preferences.h: In member function `CString CPreferences::GetIRCNick()':
Preferences.h:469: no matching function for call to `CString::CString(char[30])
   '
mfc.h:346: candidates are: CString::CString(const CString&)
mfc.h:331:                 CString::CString(const wxChar*)
mfc.h:329:                 CString::CString(wxChar*)
mfc.h:327:                 CString::CString()
Preferences.h: In member function `CString CPreferences::GetIRCServer()':
Preferences.h:471: no matching function for call to `CString::CString(char[50])
   '
mfc.h:346: candidates are: CString::CString(const CString&)
mfc.h:331:                 CString::CString(const wxChar*)
mfc.h:329:                 CString::CString(wxChar*)
mfc.h:327:                 CString::CString()
Preferences.h: In member function `CString
   CPreferences::GetIRCChanNameFilter()':
Preferences.h:475: no matching function for call to `CString::CString(char[50])
   '
mfc.h:346: candidates are: CString::CString(const CString&)
mfc.h:331:                 CString::CString(const wxChar*)
mfc.h:329:                 CString::CString(wxChar*)
mfc.h:327:                 CString::CString()
Preferences.h: In member function `CString
   CPreferences::GetIrcPerformString()':
Preferences.h:481: no matching function for call to `CString::CString(char[255]
   )'
mfc.h:346: candidates are: CString::CString(const CString&)
mfc.h:331:                 CString::CString(const wxChar*)
mfc.h:329:                 CString::CString(wxChar*)
mfc.h:327:                 CString::CString()
Preferences.h: In member function `CString CPreferences::GetVideoPlayer()':
Preferences.h:520: conversion from `const char*' to non-scalar type `CString'
   requested
Preferences.h:520: no matching function for call to `CString::CString(char[256]
   )'
mfc.h:346: candidates are: CString::CString(const CString&)
mfc.h:331:                 CString::CString(const wxChar*)
mfc.h:329:                 CString::CString(wxChar*)
mfc.h:327:                 CString::CString()
Preferences.h: In member function `CString CPreferences::GetMessageFilter()':
Preferences.h:558: no matching function for call to `CString::CString(char[512]
   )'

mfc.h:346: candidates are: CString::CString(const CString&)
mfc.h:331:                 CString::CString(const wxChar*)
mfc.h:329:                 CString::CString(wxChar*)
mfc.h:327:                 CString::CString()
Preferences.h: In member function `CString CPreferences::GetCommentFilter()':
Preferences.h:559: no matching function for call to `CString::CString(char[512]
   )'
mfc.h:346: candidates are: CString::CString(const CString&)
mfc.h:331:                 CString::CString(const wxChar*)
mfc.h:329:                 CString::CString(wxChar*)
mfc.h:327:                 CString::CString()
Preferences.h: In member function `CString CPreferences::GetDateTimeFormat()':
Preferences.h:564: no matching function for call to `CString::CString(char[32])
   '
mfc.h:346: candidates are: CString::CString(const CString&)
mfc.h:331:                 CString::CString(const wxChar*)
mfc.h:329:                 CString::CString(wxChar*)
mfc.h:327:                 CString::CString()
Preferences.h: In member function `CString CPreferences::GetWSPass()':
Preferences.h:588: no matching function for call to `CString::CString(char[256]
   )'
mfc.h:346: candidates are: CString::CString(const CString&)
mfc.h:331:                 CString::CString(const wxChar*)
mfc.h:329:                 CString::CString(wxChar*)
mfc.h:327:                 CString::CString()
Preferences.h: In member function `CString CPreferences::GetWSLowPass()':
Preferences.h:598: no matching function for call to `CString::CString(char[256]
   )'
mfc.h:346: candidates are: CString::CString(const CString&)
mfc.h:331:                 CString::CString(const wxChar*)
mfc.h:329:                 CString::CString(wxChar*)
mfc.h:327:                 CString::CString()
Preferences.h: In member function `CString CPreferences::GetTemplate()':
Preferences.h:610: no matching function for call to `CString::CString(
   char[2048])'
mfc.h:346: candidates are: CString::CString(const CString&)
mfc.h:331:                 CString::CString(const wxChar*)
mfc.h:329:                 CString::CString(wxChar*)
mfc.h:327:                 CString::CString()
In file included from PreferencesDlg.h:10,
                 from xmuleDlg.h:31,
                 from xmule.h:30,
PPgNotify.h: At global scope:
PPgNotify.h:43: invalid type `const char[1]' for default argument to `wxString'
In file included from PartFile.h:25,
                 from SharedFileList.h:32,
                 from SharedFilesCtrl.h:22,
                 from SharedFilesWnd.h:22,
                 from xmuleDlg.h:32,
                 from xmule.h:30,
                 from AddFriend.cpp:23:
ED2KLink.h: In member function `const char* CED2KFileLink::GetName() const':
ED2KLink.h:74: cannot convert `const wxString' to `const char*' in return
ED2KLink.h: In member function `long int CED2KFileLink::GetSize() const':
ED2KLink.h:75: cannot convert `const wxString' to `const char*' for argument `1
   ' to `long int atol(const char*)'
ED2KLink.h: In member function `const char* CED2KServerListLink::GetAddress()
   const':
ED2KLink.h:98: cannot convert `const wxString' to `const char*' in return
In file included from StatisticsDlg.h:23,
                 from xmuleDlg.h:37,
                 from xmule.h:30,
                 from AddFriend.cpp:23:
OScopeCtrl.h: At global scope:
OScopeCtrl.h:32: invalid type `const char[1]' for default argument to `CString'
OScopeCtrl.h:32: invalid type `const char[1]' for default argument to `CString'
OScopeCtrl.h:31: invalid type `const char[1]' for default argument to `CString'
OScopeCtrl.h:31: invalid type `const char[1]' for default argument to `CString'
In file included from UploadQueue.h:23,
                 from xmule.h:38,
                 from AddFriend.cpp:23:
updownclient.h: In member function `void CUpDownClient::SetFileComment(char*)':
updownclient.h:236: no matching function for call to `CString::Format(const
   char[3], char*&)'
mfc.h:336: candidates are: void CString::Format(const wxChar*, ...)
AddFriend.cpp: In member function `void CAddFriend::OnAddBtn(wxEvent&)':
AddFriend.cpp:113: no matching function for call to `CString::Format(const
   char[3], const wxChar*)'
mfc.h:336: candidates are: void CString::Format(const wxChar*, ...)
AddFriend.cpp:117: no matching function for call to `CString::Format(const
   char[3], const wxChar*)'
mfc.h:336: candidates are: void CString::Format(const wxChar*, ...)
AddFriend.cpp:128: cannot convert `const wxChar*' to `const char*' for argument
   `1' to `int atoi(const char*)'
AddFriend.cpp:128: cannot convert `const wxChar*' to `const char*' for argument
   `1' to `int atoi(const char*)'
AddFriend.cpp:155: cannot convert `const wxChar*' to `const char*' for argument
   `1' to `int sscanf(const char*, const char*, ...)'
make[3]: *** [AddFriend.o] Error 1
make[3]: Leaving directory `/home/clint/Downloads/xmule-1.6.1/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/clint/Downloads/xmule-1.6.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/clint/Downloads/xmule-1.6.1'
] Error 1
make[1]: Leaving directory `/home/clint/Downloads/xmule-1.6.1'
make: *** [all] Error 2

sorry about the massive post, but I wanted to make sure you guys got any information that might be relevant to my solution. thanks for any help.
 
Old 10-22-2003, 12:44 AM   #2
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
Looks like a problem with wxGTK but I might be dead wrong.Found that warning in a gentoo ebuild:

"This package doesn't work with wxGTK"
"compiled with gtk2 and unicode in USE"
"Please re-compile wxGTK with -unicode"

Translation:
If wxGTK was compiled against gtk2 with unicode it wont build.

You could try mldonkey or the official overnet client (works best for me) if you can't get it to compile.Didn't see much of a difference in performance between mldonkey and xmule.

Last edited by crashmeister; 10-22-2003 at 12:50 AM.
 
Old 10-22-2003, 06:33 AM   #3
lord_clarence
Member
 
Registered: Oct 2003
Location: Wisconsin
Distribution: Mandrake 9.2
Posts: 70

Original Poster
Rep: Reputation: 15
thaks crash, I think thats what I'll do. (use mldonkey that is)
 
Old 06-29-2011, 01:57 AM   #4
jackandjill
LQ Newbie
 
Registered: Jun 2011
Posts: 5

Rep: Reputation: Disabled
Unhappy Hello Linux guru's

Hi,

Would anyone please help me out from this bug.I've faced while compiling the x mule-1.13.7 source code.


==== Building Precompiled Headers ====
src/xmule-headers.h.gch
In file included from src/AddFileThread.h:22,
from src/xmule-headers.h:25:
src/mfc.h: In member function ‘TYPE& CList<TYPE, ARG_TYPE>::GetHead()’:
src/mfc.h:75: error: there are no arguments to ‘exit’ that depend on a template parameter, so a declaration of ‘exit’ must be available
src/mfc.h:75: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
src/mfc.h: In member function ‘TYPE& CList<TYPE, ARG_TYPE>::GetTail()’:
src/mfc.h:98: error: there are no arguments to ‘exit’ that depend on a template parameter, so a declaration of ‘exit’ must be available
src/mfc.h: In member function ‘TYPE& CList<TYPE, ARG_TYPE>::GetNext(void*&)’:
src/mfc.h:221: error: there are no arguments to ‘exit’ that depend on a template parameter, so a declaration of ‘exit’ must be available
src/mfc.h: In member function ‘TYPE& CList<TYPE, ARG_TYPE>::GetPrev(void*&)’:
src/mfc.h:252: error: there are no arguments to ‘exit’ that depend on a template parameter, so a declaration of ‘exit’ must be available
src/mfc.h: In member function ‘TYPE& CList<TYPE, ARG_TYPE>::GetAt(void*)’:
src/mfc.h:280: error: there are no arguments to ‘exit’ that depend on a template parameter, so a declaration of ‘exit’ must be available
In file included from src/xmule-headers.h:81:
src/Preferences.h: In member function ‘char* CPreferences::GetVideoPlayer()’:
src/Preferences.h:222: warning: deprecated conversion from string constant to ‘char*’
make[1]: *** [src/xmule-headers.h.gch] Error 1
make: *** [all] Error 2
 
Old 06-29-2011, 02:58 AM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
jackandjill

resurrecting a 7 year old thread from the dead -- not such a good idea .

second
why not use the version that is in the Ubuntu repos
use the "add and remove programs"
should be there ?? maybe???

that "maybe" is the fact that the police run 90% of the *mule/donkey servers
so do not dl anything that is illegal in your country ( like anything that might be underage -- you WILL go to jail)

Last edited by John VV; 06-29-2011 at 02:59 AM.
 
Old 07-04-2011, 09:41 AM   #6
jackandjill
LQ Newbie
 
Registered: Jun 2011
Posts: 5

Rep: Reputation: Disabled
Thanks for the concern.

John is there any solution for this problem..Actually we don't have the repos for this application in the ubuntu.we need to compile from source code..


Thanks in advance.
 
Old 07-04-2011, 10:43 AM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
build using gcc 3.4 or maybe 4.1

the current version of gcc 4.5 and 4.6 are VERY strict

is the linux build Amule in the repo ?
and remember beware of the police they run most of the d2k network and most of kad network

Last edited by John VV; 07-04-2011 at 10:45 AM.
 
Old 07-04-2011, 11:18 PM   #8
jackandjill
LQ Newbie
 
Registered: Jun 2011
Posts: 5

Rep: Reputation: Disabled
Hi john

Yes amule is in the repo of the ubuntu.It's running fine, but coming to xmule it's not.The gcc using is version 4.4.

I've a small question why do police catch???For using this xmule application.i can't understand.


Thanks in advance.
 
Old 07-05-2011, 12:11 AM   #9
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
they are running the honeypots
"BEE" careful
 
  


Reply



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
xmule Screener Linux - Newbie 5 02-11-2006 04:02 AM
Help with xMule Hopman Linux - Newbie 1 08-02-2004 05:50 AM
xmule testa Linux - Software 3 04-26-2004 04:53 PM
xmule help g33k Linux - Software 7 02-12-2004 10:52 PM
xmule stuch Linux - Software 0 08-15-2003 11:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:31 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration