Subject: Re: Can *anyone* build -current on i386? What am I doing wrong?
To: None <mason@primenet.com.au>
From: None <seebs@plethora.net>
List: current-users
Date: 07/11/1999 08:36:58
In message <slrn7ogdir.kmm.mason@coral.primenet.com.au>, Geoff Wing writes:
>Peter Seebach <seebs@plethora.net> typed:
>:Okay, it's been about five days. -current absolutely, positively, will
>:not build, because '/lib/csu/common_elf/common.h' uses __weak_extern and
>:there's no #define in scope. The "obvious" fix doesn't work either.
>:
>:It seems as though this is not affecting anyone else. I have nuked my
>:entire tree and resupped, and I still get it. Any ideas?
>
>You did the upgrade from source, not using the binary snapshot?
>One possibility is that your compiler tools are not quite right:
>
>a.out% echo "" | cpp -dM | ELF% echo "" | cpp -dM
>#define __NetBSD__ 1 | #define __NetBSD__ 1
>#define __KPRINTF_ATTRIBUTE__ 1 | #define __KPRINTF_ATTRIBUTE__ 1
>#define i386 1 | #define i386 1
>#define __GNUC__ 1 | #define __GNUC__ 1
> | #define __ELF__ 1
Ah-hah! You are right.
I guess 'make build' isn't smart enough to build the compiler *then* the
libs? ;-)
-s