Hello, 



I am trying to compile viewML with my toolchain and ARM based device. 



Please help me if you know what causes below error and some help on its 
solution 

I am getting following errors. 





make[1]: Entering directory `/home/misc/Gen2Application/wml/temp/viewml/src' 
if [ ! -s .build_depends ]; then make -f build_depends.mk force-depends; fi 
make[1]: Leaving directory `/home/misc/Gen2Application/wml/temp/viewml/src' 
make[1]: Entering directory `/home/misc/Gen2Application/wml/temp/viewml/src' 
arm_v5t_le-c++ -L/usr/local/include -INONE/include -I. -I../kdecore -I../kimgio 
-I../kdeui -I../jscript -I/home/misc/Gen2Application/wml/flnx/src 
-I/home/misc/Gen2Application/wml/flnx/src/FL -I./fltk 
-I/home/misc/Gen2Application/Nano/microwindows-0.91/src/include 
-I/usr/local/include/microwin -I/include 
-I/home/misc/Gen2Application/wml/flnx/FL/ 
-I/home/misc/Gen2Application/wml/flnx/ 
-I/home/misc/Gen2Application/wml/w3c-libwww-5.2.8/Library/src/ 
-I/home/misc/Gen2Application/wml/w3c-libwww-5.2.8/modules/expat/xmlparse/ -g 
--permissive -DNANOX -D_NANOX 
`/home/misc/Gen2Application/wml/web_browser/bin//libwww-config --cflags` -I.. 
-c -o ../kdecore/kurl.o ../kdecore/kurl.cpp 
In file included from 
/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/bin/../lib/gcc/armv5tl-montavista-linuxeabi/3.4.3/../../../../target/usr/include/c++/3.4.3/backward/algo.h:59,
 
                 from ./fltk/qstring.h:4, 
                 from ./fltk/qdir.h:4, 
                 from ../kdecore/kurl.cpp:23: 
/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/bin/../lib/gcc/armv5tl-montavista-linuxeabi/3.4.3/../../../../target/usr/include/c++/3.4.3/backward/backward_warning.h:32:2:
 warning: #warning This file includes at least one deprecated or antiquated 
header. Please consider using one of the 32 headers found in section 17.4.1.2 
of the C++ standard. Examples include substituting the <X> header for the <X.h> 
header for C++ includes, or <iostream> instead of the deprecated header 
<iostream.h>. To disable this warning use -Wno-deprecated. 
../kdecore/kurl.cpp: In static member function `static void 
KURL::encodeURL(QString&)': 
../kdecore/kurl.cpp:54: warning: ISO C++ says that these are ambiguous, even 
though the worst conversion for the first is better than the worst conversion 
for the second: 
/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/bin/../lib/gcc/armv5tl-montavista-linuxeabi/3.4.3/../../../../target/usr/include/c++/3.4.3/bits/basic_string.h:643:
 note: candidate 1: typename _Alloc::reference std::basic_string<_CharT, 
_Traits, _Alloc>::operator[](typename _Alloc::size_type) [with _CharT = char, 
_Traits = std::char_traits<char>, _Alloc = std::allocator<char>] 
../kdecore/kurl.cpp:54: note: candidate 2: operator[](char*, int) <built-in> 
../kdecore/kurl.cpp:54: warning: ISO C++ says that these are ambiguous, even 
though the worst conversion for the first is better than the worst conversion 
for the second: 
/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/bin/../lib/gcc/armv5tl-montavista-linuxeabi/3.4.3/../../../../target/usr/include/c++/3.4.3/bits/basic_string.h:643:
 note: candidate 1: typename _Alloc::reference std::basic_string<_CharT, 
_Traits, _Alloc>::operator[](typename _Alloc::size_type) [with _CharT = char, 
_Traits = std::char_traits<char>, _Alloc = std::allocator<char>] 
../kdecore/kurl.cpp:54: note: candidate 2: operator[](const char*, int) 
<built-in> 
../kdecore/kurl.cpp:62: warning: ISO C++ says that these are ambiguous, even 
though the worst conversion for the first is better than the worst conversion 
for the second: 
/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/bin/../lib/gcc/armv5tl-montavista-linuxeabi/3.4.3/../../../../target/usr/include/c++/3.4.3/bits/basic_string.h:643:
 note: candidate 1: typename _Alloc::reference std::basic_string<_CharT, 
_Traits, _Alloc>::operator[](typename _Alloc::size_type) [with _CharT = char, 
_Traits = std::char_traits<char>, _Alloc = std::allocator<char>] 
../kdecore/kurl.cpp:62: note: candidate 2: operator[](char*, int) <built-in> 
../kdecore/kurl.cpp:62: warning: ISO C++ says that these are ambiguous, even 
though the worst conversion for the first is better than the worst conversion 
for the second: 
/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/bin/../lib/gcc/armv5tl-montavista-linuxeabi/3.4.3/../../../../target/usr/include/c++/3.4.3/bits/basic_string.h:643:
 note: candidate 1: typename _Alloc::reference std::basic_string<_CharT, 
_Traits, _Alloc>::operator[](typename _Alloc::size_type) [with _CharT = char, 
_Traits = std::char_traits<char>, _Alloc = std::allocator<char>] 
../kdecore/kurl.cpp:62: note: candidate 2: operator[](const char*, int) 
<built-in> 
../kdecore/kurl.cpp:68: warning: ISO C++ says that these are ambiguous, even 
though the worst conversion for the first is better than the worst conversion 
for the second: 


. 

. 

. 

. 
/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/bin/../lib/gcc/armv5tl-montavista-linuxeabi/3.4.3/../../../../target/usr/include/c++/3.4.3/bits/basic_string.h:643:
 note: candidate 1: typename _Alloc::reference std::basic_string<_CharT, 
_Traits, _Alloc>::operator[](typename _Alloc::size_type) [with _CharT = char, 
_Traits = std::char_traits<char>, _Alloc = std::allocator<char>] 
../kdecore/kurl.cpp:1132: note: candidate 2: operator[](char*, int) <built-in> 
../kdecore/kurl.cpp:1132: warning: ISO C++ says that these are ambiguous, even 
though the worst conversion for the first is better than the worst conversion 
for the second: 
/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/bin/../lib/gcc/armv5tl-montavista-linuxeabi/3.4.3/../../../../target/usr/include/c++/3.4.3/bits/basic_string.h:643:
 note: candidate 1: typename _Alloc::reference std::basic_string<_CharT, 
_Traits, _Alloc>::operator[](typename _Alloc::size_type) [with _CharT = char, 
_Traits = std::char_traits<char>, _Alloc = std::allocator<char>] 
../kdecore/kurl.cpp:1132: note: candidate 2: operator[](const char*, int) 
<built-in> 
../kdecore/kurl.cpp:1140: warning: ISO C++ says that these are ambiguous, even 
though the worst conversion for the first is better than the worst conversion 
for the second: 
/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/bin/../lib/gcc/armv5tl-montavista-linuxeabi/3.4.3/../../../../target/usr/include/c++/3.4.3/bits/basic_string.h:643:
 note: candidate 1: typename _Alloc::reference std::basic_string<_CharT, 
_Traits, _Alloc>::operator[](typename _Alloc::size_type) [with _CharT = char, 
_Traits = std::char_traits<char>, _Alloc = std::allocator<char>] 
../kdecore/kurl.cpp:1140: note: candidate 2: operator[](char*, int) <built-in> 
../kdecore/kurl.cpp:1140: warning: ISO C++ says that these are ambiguous, even 
though the worst conversion for the first is better than the worst conversion 
for the second: 
/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/bin/../lib/gcc/armv5tl-montavista-linuxeabi/3.4.3/../../../../target/usr/include/c++/3.4.3/bits/basic_string.h:643:
 note: candidate 1: typename _Alloc::reference std::basic_string<_CharT, 
_Traits, _Alloc>::operator[](typename _Alloc::size_type) [with _CharT = char, 
_Traits = std::char_traits<char>, _Alloc = std::allocator<char>] 
../kdecore/kurl.cpp:1140: note: candidate 2: operator[](const char*, int) 
<built-in> 
make[1]: *** [../kdecore/kurl.o] Error 1 
make[1]: Leaving directory `/home/misc/Gen2Application/wml/temp/viewml/src' 
make: *** [viewml] Error 2 




regards, 

Ketan

Reply via email to