Subject: Re: Problems compiling anything in /usr/src
To: None <njohnston@broadwing.com>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: netbsd-help
Date: 02/03/2000 23:06:23
You want to do a 'make build' in /usr/src.

On Thu, Feb 03, 2000 at 10:07:52AM -0500, Nate Johnston wrote:
> Everyone,
> 
> I'm a newish NetBSD user, and I upgraded my kernel to take advantage of
> the USB ethernet stuff (wonderful work, BTW) and found that I had to
> recompile some binaries, like ps.  I did a CVS checkout of the source, and
> got a compile error.  I tried ftping the -release souce tar files, and I
> get the same error.  What am I doing wrong, and how do I circumvent this?
> 
> Thanks so much, this has been very frustrating for me, and any help anyone
> has would be tremendously appreciated.
> 
> --N.
> 
> root@synapse:/usr/src make
> all ===> lib
> all ===> lib/csu
> all ===> lib/csu/i386_elf
> cc -O2 -fPIC -Werror   -DLIBC_SCCS -DPIC -DDYNAMIC -DELFSIZE=32
> -I/usr/src/lib/csu/i386_elf/../../../libexec/ld.elf_so
> -I/usr/src/lib/csu/i386_elf/../common_elf -c -DCRT0 crt0.c -o crt0.o
> In file included from /usr/src/lib/csu/i386_elf/../common_elf/common.h:41,
>                  from crt0.c:35:
> /usr/src/lib/csu/i386_elf/../../../libexec/ld.elf_so/rtld.h:165: field
> `linkmap' has incomplete type
> *** Error code 1
> 
> [compile dies]
--
Manuel Bouyer <bouyer@antioche.eu.org>
     {Net,Free}BSD: 22 ans d'experience feront toujours la difference
--