Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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
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)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.