nanogui: Thread: viewML compilation error


[<<] [<] Page 1 of 1 [>] [>>]
Subject: viewML compilation error
From: Ketan Patel - Embedded ####@####.####
Date: 19 Aug 2010 18:52:24 -0000
Message-Id: <1691158900.9858.1282243638704.JavaMail.root@ahm.einfochips.com>




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
Subject: Re: [nanogui] viewML compilation error
From: "Greg Haerr" ####@####.####
Date: 23 Aug 2010 19:42:47 -0000
Message-Id: <156f01cb42fb$607bed30$0300a8c0@RDP>

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

These errors are all related to the changes between the very old
ViewML source code which used the gcc 2.96 compiler, and
the current toolchains in use today.  ViewML hasn't been
updated in quite some time and is out of date with the
continually-changing C++ "standards".

Regards,

Greg
Subject: Re: [nanogui] viewML compilation error
From: Ketan Patel - Embedded ####@####.####
Date: 23 Aug 2010 20:48:49 -0000
Message-Id: <2038823382.18882.1282596224857.JavaMail.root@ahm.einfochips.com>


Is there any other version or branch available that I can use with current versions of toolchain? 



regards, 

Ketan 
----- OriginaMessage ----- 
From: "Greg Haerr" ####@####.#### 
To: "Ketan Patel - Embedded" ####@####.#### ####@####.#### 
Sent: Monday, August 23, 2010 3:42:52 PM 
Subject: Re: [nanogui] viewML compilation error 

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

These errors are all related to the changes between the very old 
ViewML source code which used the gcc 2.96 compiler, and 
the current toolchains in use today.  ViewML hasn't been 
updated in quite some time and is out of date with the 
continually-changing C++ "standards". 

Regards, 

Greg 


Email Scanned for Virus & Dangerous Content by : www.CleanMailGateway.com 

____________________________________________________________________________________ 
Disclaimer: This e-mail message and all attachments transmitted with it are intended solely for the use of the addressee and may contain legally privileged and confidential information. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution, copying, or other use of this message or its attachments is strictly prohibited. If you have received this message in error, please notify the sender immediately by replying to this message and please delete it from your computer. Any views expressed in this message are those of the individual sender unless otherwise stated.Company has taken enough precautions to prevent the spread of viruses. However the company accepts no liability for any damage caused by any virus transmitted by this email. 
____________________________________________________________________________________ 
[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.