Go to the FreeLists Home Page Home Signup Help Login
 



Browse haiku: This Month's ArchiveMain Archive PageRelated postsPrevious by DateNext by Date

[openbeos] Re: compilation problem with Haiku

  • From: "David McPaul" <dmcpaul@xxxxxxxxxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Wed, 01 Jun 2005 19:56:10 +1000 EST
On Wed, 1 Jun 2005 11:43:32 +0200 (MEST) Ingo Weinhold <bonefish@xxxxxx
berlin.de> said
> On Wed, 1 Jun 2005, David McPaul wrote:
> 
> > On 1 Jun 2005 06:40:41 -0000 Stefano Ceccherini <
> > burton666@xxxxxxxxxxx>
> > said
> >>
> >>> So am I missing something in my build environment?
> >>
> >> Did you install the compiler following the included instructions ?
> >> i.e: did you copy the new libstdc++.r4.so in the system directory 
> > > ? did
> > you copy the new c++ headers in the right place ?
> >
> > Yes.  I do note however that the hauku build process creates it's 
> > own
> > stdc++ library to link against.
> 
> That's correct, but for building gensyscall[info]s the build platform 
> environment is used, since those tools need to be executed as part of 
> the 
> build process. Have you re-run `configure' after installing the new 
> gcc? 
> If not, the old compiler will still be used.

Yes configure has been re-run.  Same error

Link objects/x86.R1/tools/gensyscalls/gensyscallinfos
objects/x86.R1/tools/gensyscalls/
gensyscallinfos.o(.gnu.linkonce.t.__ls__H3ZcZt18string_char_traits1ZcZt
24__default_alloc_template2b0i0_R7ostreamRCt12basic_string3ZX01ZX11ZX21
_R7ostream+0x3f): In function `ostream & operator<<<char, 
string_char_traits<char>, __default_alloc_template<false, 0> >(ostream 
&, basic_string<char, string_char_traits<char>, 
__default_alloc_template<false, 0> > const &)':
: undefined reference to `ostream::write(char const *, long)'
collect2: ld returned 1 exit status

gcc  -o "objects/x86.R1/tools/gensyscalls/gensyscallinfos"  "objects/
x86.R1/tools/gensyscalls/gensyscallinfos.o"  -lstdc++.r4 ;
 
I notice that the gcc link step is specifically asking for stdc++.r4 
without a path but since the only stdc++.r4 I have is the haiku one I 
assume it is picking it up via jam magic.

Note it is not trying to link to the gcc's libstdc++.r4, I was thinking 
of trying that but I don't think I should need to if the haiku one is 
correct.

Cheers
David

--
Nothing is faster than the speed of light ...

To prove this to yourself, try opening the refrigerator door before the
light comes on.

Other related posts:

  • [openbeos] compilation problem with Haiku
  • [openbeos] Re: compilation problem with Haiku
  • [openbeos] Re: compilation problem with Haiku
  • [openbeos] Re: compilation problem with Haiku
  • [openbeos] Re: compilation problem with Haiku
  • [openbeos] Re: compilation problem with Haiku
  • [openbeos] Re: compilation problem with Haiku
  • [openbeos] Re: compilation problem with Haiku
  • [openbeos] Re: compilation problem with Haiku
  • [openbeos] Re: compilation problem with Haiku
  • [openbeos] Re: compilation problem with Haiku
  • [openbeos] Re: compilation problem with Haiku
  • [openbeos] Re: compilation problem with Haiku




  • [ Home | Signup | Help | Login | Archives | Lists ]

    All trademarks and copyrights within the FreeLists archives are owned by their respective owners.
    Everything else ©2008 Avenir Technologies, LLC.