Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge multiimonc fails - wxString Error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
xy77
Tux's lil' helper
Tux's lil' helper


Joined: 22 Aug 2003
Posts: 85

PostPosted: Fri Jun 25, 2004 1:25 pm    Post subject: emerge multiimonc fails - wxString Error Reply with quote

I tried to emerge multiimonc, but soon it stops with the following error messages:

Code:

if g++ -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/lib/wx/include/gtk2u-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES  -O2 -mcpu=i686 -pipe  -Wall -MT MultiImonC.o -MD -MP -MF ".deps/MultiImonC.Tpo" -c -o MultiImonC.o MultiImonC.cpp; \
then mv -f ".deps/MultiImonC.Tpo" ".deps/MultiImonC.Po"; else rm -f ".deps/MultiImonC.Tpo"; exit 1; fi
Functions.cpp: In static member function `static wxString
   Functions::InputBox(wxWindow*, wxString, wxString, wxString, bool)':
Functions.cpp:79: error: conversion from `const char*' to `wxString' is
   ambiguous
/usr/include/wx/string.h:306: error: candidates are:
   wxString::wxString(wchar_t, unsigned int) <near match>
/usr/include/wx/string.h:284: error:                 wxString::wxString(int)
   <near match>
Functions.cpp: In static member function `static wxString
   Functions::GetBytes(wxULongLongNative)':
Functions.cpp:90: error: no matching function for call to `wxString::Format(
   const char[6], double)'
/usr/include/wx/string.h:738: error: candidates are: static wxString
   wxString::Format(const wxChar*, ...)
Functions.cpp:93: error: no matching function for call to `wxString::Format(
   const char[6], double)'
/usr/include/wx/string.h:738: error: candidates are: static wxString
   wxString::Format(const wxChar*, ...)
Functions.cpp:96: error: no matching function for call to `wxString::Format(
   const char[6], double)'
/usr/include/wx/string.h:738: error: candidates are: static wxString
   wxString::Format(const wxChar*, ...)
Functions.cpp:100: error: no matching function for call to `wxString::Format(
   const char[6], long long unsigned int)'
/usr/include/wx/string.h:738: error: candidates are: static wxString
   wxString::Format(const wxChar*, ...)
make[2]: *** [Functions.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from MultiImonC.h:28,
                 from MultiImonC.cpp:26:
MainWindow.h:122: error: invalid type `const char[1]' for default argument to `
   wxString'
MainWindow.h:121: error: invalid type `const char[1]' for default argument to `
   wxString'
MultiImonC.cpp: In member function `virtual bool MultiImonC::OnInit()':
MultiImonC.cpp:69: error: conversion from `const char[11]' to `const wxString'
   is ambiguous
/usr/include/wx/string.h:306: error: candidates are:
   wxString::wxString(wchar_t, unsigned int) <near match>
/usr/include/wx/string.h:284: error:                 wxString::wxString(int)
   <near match>
MultiImonC.cpp:92: error: conversion from `const char[9]' to `wxString' is
   ambiguous
/usr/include/wx/string.h:306: error: candidates are:
   wxString::wxString(wchar_t, unsigned int) <near match>
/usr/include/wx/string.h:284: error:                 wxString::wxString(int)
   <near match>
make[2]: *** [MultiImonC.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/multiimonc-0.3.2/work/MultiImonC-0.3.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/multiimonc-0.3.2/work/MultiImonC-0.3.2'
make: *** [all] Error 2
 
!!! ERROR: net-misc/multiimonc-0.3.2 failed.
!!! Function src_compile, Line 26, Exitcode 2
!!! emake failed


Can anyone tell me what's going wrong? TIA

- xy77
Back to top
View user's profile Send private message
h3rdi
n00b
n00b


Joined: 02 Nov 2003
Posts: 25
Location: Berlin, Germany

PostPosted: Thu Jun 30, 2005 6:20 pm    Post subject: Re: emerge multiimonc fails - wxString Error Reply with quote

Hi,

I have a similar (but not the same) problem here:

Code:

make[2]: Entering directory `/var/tmp/portage/multiimonc-0.3.6/work/MultiImonC-0.3.6/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/lib/wx/include/gtk2u-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES  -O2 -mcpu=i686 -pipe  -Wall -fno-rtti -MT Functions.o -MD -MP -MF ".deps/Functions.Tpo" -c -o Functions.o Functions.cpp; \
then mv -f ".deps/Functions.Tpo" ".deps/Functions.Po"; else rm -f ".deps/Functions.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/lib/wx/include/gtk2u-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES  -O2 -mcpu=i686 -pipe  -Wall -fno-rtti -MT ImonC.o -MD -MP -MF ".deps/ImonC.Tpo" -c -o ImonC.o ImonC.cpp; \
then mv -f ".deps/ImonC.Tpo" ".deps/ImonC.Po"; else rm -f ".deps/ImonC.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/lib/wx/include/gtk2u-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES  -O2 -mcpu=i686 -pipe  -Wall -fno-rtti -MT MultiImonC.o -MD -MP -MF ".deps/MultiImonC.Tpo" -c -o MultiImonC.o MultiImonC.cpp; \
then mv -f ".deps/MultiImonC.Tpo" ".deps/MultiImonC.Po"; else rm -f ".deps/MultiImonC.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/lib/wx/include/gtk2u-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES  -O2 -mcpu=i686 -pipe  -Wall -fno-rtti -MT MainWindow.o -MD -MP -MF ".deps/MainWindow.Tpo" -c -o MainWindow.o MainWindow.cpp; \
then mv -f ".deps/MainWindow.Tpo" ".deps/MainWindow.Po"; else rm -f ".deps/MainWindow.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/lib/wx/include/gtk2u-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES  -O2 -mcpu=i686 -pipe  -Wall -fno-rtti -MT PrefWindow.o -MD -MP -MF ".deps/PrefWindow.Tpo" -c -o PrefWindow.o PrefWindow.cpp; \
then mv -f ".deps/PrefWindow.Tpo" ".deps/PrefWindow.Po"; else rm -f ".deps/PrefWindow.Tpo"; exit 1; fi
In file included from MainWindow.cpp:35:
TextScrollWindow.h:32: error: invalid type `const char[1]' for default argument
   to `wxString'
TextScrollWindow.h:33: error: invalid type `const char[1]' for default argument
   to `wxString'
make[2]: *** [MainWindow.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/multiimonc-0.3.6/work/MultiImonC-0.3.6/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/multiimonc-0.3.6/work/MultiImonC-0.3.6'
make: *** [all] Error 2


Sorry, but no idea here as well.

Greetings Herdi
Back to top
View user's profile Send private message
Pythonhead
Developer
Developer


Joined: 16 Dec 2002
Posts: 1801
Location: Redondo Beach, Republic of Calif.

PostPosted: Thu Jun 30, 2005 6:53 pm    Post subject: Reply with quote

https://bugs.gentoo.org/show_bug.cgi?id=97526
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum