Subject: Re: Cross compilation
To: NetBSD port-hpcsh mailing list <port-hpcsh@netbsd.org>
From: KKO <kko@epia1.homeunix.net>
List: port-hpcsh
Date: 11/24/2002 22:43:20
OK, I got that working, fumbled around with a couple other errors, got gdb
working, but now I get the following:
rm -rf /home/kko/netbsd/cross/lib/gcc-lib/shle--netbsdelf/2.95.3/include
mkdir /home/kko/netbsd/cross/lib/gcc-lib/shle--netbsdelf/2.95.3/include
chmod a+rx
/home/kko/netbsd/cross/lib/gcc-lib/shle--netbsdelf/2.95.3/include
(cd `pwd`/include ; tar -cf - .; exit 0) | (cd
/home/kko/netbsd/cross/lib/gcc-lib/shle--netbsdelf/2.95.3/include; tar
xpBf - )
/bin/sh: cd: /home/kko/netbsd/src/tools/toolchain/obj/build/gcc/include -
No such file or directory
tar: End of archive volume 1 reached
tar: Sorry, unable to determine archive format.
*** Error code 1
Stop.
nbmake: stopped in /home/kko/netbsd/src/tools/toolchain/obj/build/gcc
*** Error code 1
Stop.
nbmake: stopped in /home/kko/netbsd/src/tools/toolchain/obj/build
*** Error code 1
Stop.
nbmake: stopped in /home/kko/netbsd/src/tools/toolchain
*** Error code 1
Stop.
nbmake: stopped in /home/kko/netbsd/src/tools
Any ideas???
On Sun, 24 Nov 2002, Andrew Freedman wrote:
> Sunday, November 24, 2002, 12:53:14 PM, you wrote:
>
> > Hi, all...
> > I'm trying to build my development environment for the hpcsh port on my
> > OpenBSD machine, but when I try building the cross-compiler toolchain
> > using
>
> > $ ./build.sh -m hpcsh -T /home/muyser/netbsd/cross -t
>
> > I get a
> > "/home/myuser/netbsd/src/tools/compat/../../lib/libc/gen/_err.c:21:
> > syntax error at end of input"
>
> > Has anybody seen this problem?
>
> I saw the same thing when trying to build the toolchain for my Dreamcast
> on an OpenBSD box. The error comes from the lack of a semicolon on the
> end of a macro defined within _err.c. You'll find that many of the
> _*err.? files have the same problem.
>
> I recall running into other problems after that though, so you still
> have some work ahead of you.
>
>