Subject: Need help for NetBSD buildworld (missing header files)
To: None <netbsd-users@NetBSD.org>
From: Jens Rehsack <jens.rehsack@jenoptik.com>
List: netbsd-users
Date: 05/31/2005 14:05:59
Hi,

I have to create some drivers (currently a firewire-driver)
for an embedded linux project.

After a few weeks learning linux kernel and some around
it, I'd liked to look for a more stress-less system :)

So I took a look to the bsd-family, and netbsd looks
best for the things we need ...

So I installed a netbsd-2.0.2 and checked out the src
(branch netbsd-2.0.2) and pkgsrc at home (don't be allowed
to do it in the office at the moment).

Then I tried to build the world.

Neither make buildworld nor build.sh helped me getting
successful. So I googled for missing header files (as seen
below) and it seems I had to re-checkout since I get all
files I need.

Is there any other solution or do I have to rm the subdirs
and re-checkout since I got all the sources?

Best regards and thanks in advance for all hints,
Jens

--- SNIPP 1
/usr/src/obj/tooldir.NetBSD-2.0.2-i386/bin/i386--netbsdelf-c++ -Os -pipe
-DHAVE_CONFIG_H -I/usr/src/gnu/dist/groff/src/include
-I/usr/src/gnu/usr.bin/groff/src/include -Werror -mcpu=pentium2 -mmmx
-fno-rtti -fno-exceptions  -nostdinc++ -isystem-cxx
/usr/src/obj/destdir.i386/usr/include/g++   -nostdinc -isystem
/usr/src/obj/destdir.i386/usr/include  -c
/usr/src/gnu/dist/groff/src/preproc/eqn/lex.cpp
/usr/src/gnu/dist/groff/src/preproc/eqn/lex.cpp:25:21: eqn_tab.h: No
such file or directory
/usr/src/gnu/dist/groff/src/preproc/eqn/lex.cpp:60: error: `OVER' was not
...
*** Failed target:  lex.o
*** Failed command:
/usr/src/obj/tooldir.NetBSD-2.0.2-i386/bin/i386--netbsdelf-c++ -Os -pipe
-DHAVE_CONFIG_H -I/usr/src/gnu/dist/groff/src/include
-I/usr/src/gnu/usr.bin/groff/src/include -Werror -mcpu=pentium2 -mmmx
-fno-rtti -fno-exceptions -nostdinc++ -isystem-cxx
/usr/src/obj/destdir.i386/usr/include/g++ -nostdinc -isystem
/usr/src/obj/destdir.i386/usr/include -c
/usr/src/gnu/dist/groff/src/preproc/eqn/lex.cpp
*** Error code 1

Stop.
nbmake: stopped in /usr/src/gnu/usr.bin/groff/src/preproc/eqn
--- END 1
#    create  eqn/eqn.d
CC=/tooldir.NetBSD-2.0.2-i386/bin/i386--netbsdelf-gcc
/tooldir.NetBSD-2.0.2-i386/bin/nbmkdep -f eqn.d --   -DHAVE_CONFIG_H
-I/usr/src/gnu/dist/groff/src/include
-I/usr/src/gnu/usr.bin/groff/src/include  -nostdinc++ -isystem-cxx
/usr/obj/destdir.i386/usr/include/g++
  -nostdinc -isystem /usr/obj/destdir.i386/usr/include   eqn.cpp
/usr/src/gnu/dist/groff/src/preproc/eqn/eqn.y:27:17: box.h: No such file
or directory
nbmkdep: compile failed.
*** Error code 1

Stop.
make: stopped in /usr/src/gnu/usr.bin/groff/src/preproc/eqn
*** Error code 1

Stop.
make: stopped in /usr/src/gnu/usr.bin/groff/src/preproc
*** Error code 1

Stop.
make: stopped in /usr/src/gnu/usr.bin/groff/src
*** Error code 1

Stop.
make: stopped in /usr/src/gnu/usr.bin/groff
*** Error code 1

Stop.
make: stopped in /usr/src/gnu/usr.bin
*** Error code 1

Stop.
make: stopped in /usr/src/gnu
*** Error code 1

Stop.
make: stopped in /usr/src
*** Error code 1

Stop.
make: stopped in /usr/src
*** Error code 1

Stop.
make: stopped in /usr/src
*** Error code 1

Stop.
make: stopped in /usr/src
--- SNIPP 2

--- END 2