[haiku-development] Re: compilation error

  • From: "Dustin Howett" <alaricx@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Wed, 19 Nov 2008 14:37:06 -0500

On Wed, Nov 19, 2008 at 2:20 PM, Ithamar R. Adema <ithamar@xxxxxxx> wrote:
> Hi Dustin,
>
> Dustin Howett wrote:
>>
>> I reported the same issue to this mailing list recently. I can't build
>> the gcc 2 cross-tools on Linux, despite the fact that I was able to
>> not a month ago, and nothing had changed on my system between then.
>>
>
> please make sure the following packages are installed:
>
> |    subversion
>   autoconf
>   automake
>   texinfo
>   flex
>   bison
>   gawk
>   build-essential
>
> the names might be (slightly) different if you're running something not
> debian based. If the problem persists, please report the precise error, host
> os, haiku revision, etc...
>
> Ithamar.
>
> |
>
>

The fact that it worked before an svn update (don't know from which
revision to which) and I didn't change anything in my system should be
enough to point to it not being them.

All of those packages are installed (I'm running Gentoo. Can't really
have a system without them :))

To quote my previous e-mail (October)
-----
I attempted to rebuild GCC2 because jam was complaining that
HAIKU_RAW_GCC_VERSION was not set (which it actually was.)
This is the error I encountered:

--------
In file included from tconfig.h:5,
                 from
/home/dustin/c/haikubuild/buildtools/legacy/gcc/gcc/libgcc2.c:33:
/home/dustin/c/haikubuild/buildtools/legacy/gcc/gcc/config/i386/xm-haiku.h:32:
sys/wait.h: No such file or directory
/home/dustin/c/haikubuild/buildtools/legacy/gcc/gcc/libgcc2.c:41:
stdlib.h: No such file or directory
/home/dustin/c/haikubuild/buildtools/legacy/gcc/gcc/libgcc2.c:42:
unistd.h: No such file or directory
make[1]: *** [libgcc2.a] Error 1
make[1]: Leaving directory
`/home/dustin/programming/c/haikubuild/haiku/generated/cross-tools-build/gcc/gcc'
make: *** [cross] Error 2
ERROR: Building gcc failed.
--------

Any ideas? :) I can't find (for example) wait.h in the buildtools
checkout at all, and I'm at the newest revision as of this writing
(28373).

-----

Still happens in the latest rev of the buildtools - 28696
Gentoo Linux 2008.0 with all newest packages.
- Dustin L. Howett

Other related posts: