Subject: Problems compiling anything in /usr/src
To: Netbsd Help <netbsd-help@netbsd.org>
From: Nate Johnston <natej@broadwing.com>
List: netbsd-help
Date: 02/03/2000 10:07:52
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]