[haiku-development] Re: Error

  • From: Ingo Weinhold <ingo_weinhold@xxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Wed, 25 Nov 2009 22:39:00 +0100

On 2009-11-25 at 22:08:22 [+0100], Siarzhuk Zharski <zharik@xxxxxx> wrote:
> On Wed, 25 Nov 2009 20:44:14 +0100, "Axel Dörfler"
> <axeld@xxxxxxxxxxxxxxxx>
> wrote:
> > Fredrik Modèen <fredrik@xxxxxxxxx> wrote:
> >> something missing in r34241 or do I need to copy/replace something in
> >> my
> >> GCC files?
> > 
> > As Ingo already outlined in another mail, you have to:
> > * copy headers/config to /boot/develop/headers/
> > * overwrite /boot/develop/abi/x86/gcc2/headers/cpp/std/bastring.h with
> > headers/cpp/std/bastring.h
> > * overwrite os/support/SupportDefs.h with the new version
> > * overwrite POSIX headers limit.h, stdint.h, and sys/types.h
> 
> After such changes I become following:
> 
> ...updating 10476 target(s)...
> InitScript1 /Sources/haiku/generated.gcc4.hybrid/haiku.image-init-vars
> C++
> /Sources/haiku/generated.gcc4.hybrid/objects/haiku_host/x86/release/tools/fs
> _shell/external_commands_beos.o
> 
> C++
> /Sources/haiku/generated.gcc4.hybrid/objects/haiku_host/x86/release/tools/fs
> _shell/fssh.o
> 
> In file included from /boot/develop/headers/posix/inttypes.h:9,
>                  from /Sources/haiku/headers/build/config/types.h:11,
>                  from /boot/develop/headers/posix/sys/types.h:9,
>                  from /boot/develop/headers/posix/stdio.h:8,
>                  from /boot/develop/headers/bsd/stdio.h:9,
>                  from
> /Sources/haiku/src/tools/fs_shell/external_commands_beos.cpp:6:
> /boot/develop/headers/posix/stdint.h:13: error: '__haiku_std_int8' does
> not name a type
> /boot/develop/headers/posix/stdint.h:14: error: '__haiku_std_uint8' does
> not name a type
> 
> 
> Looks like I'm catched in a cyclic include: sys/types.h -> config/types.h
> -> inttypes.h (that one tries to include sys/types.h _again_) :-(

Mmh, the build/config/types.h header should be picked up. Will have a look.

CU, Ingo

Other related posts: