Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] buildroot not support c++ compliing
@ 2010-10-08  4:23 olyvine.chen at logiways.com.cn
  2010-10-08  7:18 ` Thomas Petazzoni
  0 siblings, 1 reply; 7+ messages in thread
From: olyvine.chen at logiways.com.cn @ 2010-10-08  4:23 UTC (permalink / raw)
  To: buildroot

Dear all,
        
  I now try to add package libmusicbrainz to buildroot, but many errors
happen, such as the following:

*************************************************************************

buildroot/output/build/libmusicbrainz-3.0.2/src/artist.cpp:23:18: error:
string: No such file or directory

*************************************************************************
  it seems indicate that no c++ library available, then how to enable c
++ compiling for buildroot? 
        
  I enabled glibc via:
  Toolchain => Toolchain type (External toolchain) => External toolchain
C library (glibc)
        
Kindest regards!
Olyvine

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] buildroot not support c++ compliing
  2010-10-08  4:23 [Buildroot] buildroot not support c++ compliing olyvine.chen at logiways.com.cn
@ 2010-10-08  7:18 ` Thomas Petazzoni
  2010-10-08  8:17   ` olyvine.chen at logiways.com.cn
  0 siblings, 1 reply; 7+ messages in thread
From: Thomas Petazzoni @ 2010-10-08  7:18 UTC (permalink / raw)
  To: buildroot

Hello,

On Fri, 08 Oct 2010 12:23:47 +0800
"olyvine.chen at logiways.com.cn" <olyvine.chen@logiways.com.cn> wrote:

>   I now try to add package libmusicbrainz to buildroot, but many
> errors happen, such as the following:
> 
> *************************************************************************
> 
> buildroot/output/build/libmusicbrainz-3.0.2/src/artist.cpp:23:18:
> error: string: No such file or directory
> 
> *************************************************************************
>   it seems indicate that no c++ library available, then how to enable
> c ++ compiling for buildroot? 
>         
>   I enabled glibc via:
>   Toolchain => Toolchain type (External toolchain) => External
> toolchain C library (glibc)

Which external toolchain are you using ?

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] buildroot not support c++ compliing
  2010-10-08  7:18 ` Thomas Petazzoni
@ 2010-10-08  8:17   ` olyvine.chen at logiways.com.cn
  2010-10-08  8:28     ` Phil Edworthy
  2010-10-08  8:44     ` Thomas Petazzoni
  0 siblings, 2 replies; 7+ messages in thread
From: olyvine.chen at logiways.com.cn @ 2010-10-08  8:17 UTC (permalink / raw)
  To: buildroot

On Fri, 2010-10-08 at 09:18 +0200, Thomas Petazzoni wrote:
> Hello,
> 
> On Fri, 08 Oct 2010 12:23:47 +0800
> "olyvine.chen at logiways.com.cn" <olyvine.chen@logiways.com.cn> wrote:
> 
> >   I now try to add package libmusicbrainz to buildroot, but many
> > errors happen, such as the following:
> > 
> > *************************************************************************
> > 
> > buildroot/output/build/libmusicbrainz-3.0.2/src/artist.cpp:23:18:
> > error: string: No such file or directory
> > 
> > *************************************************************************
> >   it seems indicate that no c++ library available, then how to enable
> > c ++ compiling for buildroot? 
> >         
> >   I enabled glibc via:
> >   Toolchain => Toolchain type (External toolchain) => External
> > toolchain C library (glibc)
> 
> Which external toolchain are you using ?
> 
> Thomas

STLinux's sh4-linux-
-- 
Kindest regards !
====================================
Olyvine Chen, Logiways Shenzhen
http://www.logiways.com
====================================

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] buildroot not support c++ compliing
  2010-10-08  8:17   ` olyvine.chen at logiways.com.cn
@ 2010-10-08  8:28     ` Phil Edworthy
  2010-10-08  8:44     ` Thomas Petazzoni
  1 sibling, 0 replies; 7+ messages in thread
From: Phil Edworthy @ 2010-10-08  8:28 UTC (permalink / raw)
  To: buildroot

Hi Olyvine,

> > Which external toolchain are you using ?
> >
> > Thomas
> 
> STLinux's sh4-linux-

I'm using CodeSourcery's sh4 toolchain for Renesas devices, this works fine
for me. It might be worth trying it:
http://www.codesourcery.com/sgpp/lite/superh

Phil

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] buildroot not support c++ compliing
  2010-10-08  8:17   ` olyvine.chen at logiways.com.cn
  2010-10-08  8:28     ` Phil Edworthy
@ 2010-10-08  8:44     ` Thomas Petazzoni
  2010-10-08  8:52       ` Lionel Landwerlin
  1 sibling, 1 reply; 7+ messages in thread
From: Thomas Petazzoni @ 2010-10-08  8:44 UTC (permalink / raw)
  To: buildroot

On Fri, 08 Oct 2010 16:17:50 +0800
"olyvine.chen at logiways.com.cn" <olyvine.chen@logiways.com.cn> wrote:

> STLinux's sh4-linux-

Does this toolchain supports C++ ? Is this toolchain publicly available
so that I can test and see what's wrong ?

Thanks,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] buildroot not support c++ compliing
  2010-10-08  8:44     ` Thomas Petazzoni
@ 2010-10-08  8:52       ` Lionel Landwerlin
  2010-10-09  9:50         ` olyvine.chen at logiways.com.cn
  0 siblings, 1 reply; 7+ messages in thread
From: Lionel Landwerlin @ 2010-10-08  8:52 UTC (permalink / raw)
  To: buildroot

On Fri, Oct 8, 2010 at 10:44 AM, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
> On Fri, 08 Oct 2010 16:17:50 +0800
> "olyvine.chen at logiways.com.cn" <olyvine.chen@logiways.com.cn> wrote:
>
>> STLinux's sh4-linux-
>
> Does this toolchain supports C++ ? Is this toolchain publicly available
> so that I can test and see what's wrong ?
>
> Thanks,
>
> Thomas
> --

Thomas,

There is an installation script here :

http://stlinux.com/pub/stlinux/2.3/install

Other informations related to the toolchain installation on
debian/ubuntu distros are here :

http://www.stlinux.com/install/ubuntu

There are both stlinux 2.3 and 2.4 version. I might be wrong, but I'm
pretty sure Olyvine uses the 2.3 version.
Also the installation page does not mention it, but the toolchain is
available with glibc or uclibc.

You choice :
sudo ./install all-sh4-glibc
or
sudo ./install all-sh4-uclibc

Olyvine, could give us some details about the exact version of the
toolchain you're using ?

Regards,

--
Lionel Landwerlin

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] buildroot not support c++ compliing
  2010-10-08  8:52       ` Lionel Landwerlin
@ 2010-10-09  9:50         ` olyvine.chen at logiways.com.cn
  0 siblings, 0 replies; 7+ messages in thread
From: olyvine.chen at logiways.com.cn @ 2010-10-09  9:50 UTC (permalink / raw)
  To: buildroot

On Fri, 2010-10-08 at 10:52 +0200, Lionel Landwerlin wrote:
> On Fri, Oct 8, 2010 at 10:44 AM, Thomas Petazzoni
> <thomas.petazzoni@free-electrons.com> wrote:
> > On Fri, 08 Oct 2010 16:17:50 +0800
> > "olyvine.chen at logiways.com.cn" <olyvine.chen@logiways.com.cn> wrote:
> >
> >> STLinux's sh4-linux-
> >
> > Does this toolchain supports C++ ? Is this toolchain publicly available
> > so that I can test and see what's wrong ?
> >
> > Thanks,
> >
> > Thomas
> > --
> 
> Thomas,
> 
> There is an installation script here :
> 
> http://stlinux.com/pub/stlinux/2.3/install
> 
> Other informations related to the toolchain installation on
> debian/ubuntu distros are here :
> 
> http://www.stlinux.com/install/ubuntu
> 
> There are both stlinux 2.3 and 2.4 version. I might be wrong, but I'm
> pretty sure Olyvine uses the 2.3 version.
> Also the installation page does not mention it, but the toolchain is
> available with glibc or uclibc.
> 
> You choice :
> sudo ./install all-sh4-glibc
> or
> sudo ./install all-sh4-uclibc
> 
> Olyvine, could give us some details about the exact version of the
> toolchain you're using ?
> 
> Regards,
> 
> --
> Lionel Landwerlin
> 

Thanks you all for your kindly help, now I have found it out it's caused
by the incomplete of ST distribution.
-- 
Kindest regards !
====================================
Olyvine Chen, Logiways Shenzhen
http://www.logiways.com
====================================

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-10-09  9:50 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-08  4:23 [Buildroot] buildroot not support c++ compliing olyvine.chen at logiways.com.cn
2010-10-08  7:18 ` Thomas Petazzoni
2010-10-08  8:17   ` olyvine.chen at logiways.com.cn
2010-10-08  8:28     ` Phil Edworthy
2010-10-08  8:44     ` Thomas Petazzoni
2010-10-08  8:52       ` Lionel Landwerlin
2010-10-09  9:50         ` olyvine.chen at logiways.com.cn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox