Subject: Re: Success: kernel compile
To: Jochen Kunz <jkunz@unixag-kl.fh-kl.de>
From: Matt Thomas <matt@3am-software.com>
List: port-hp700
Date: 10/09/2003 14:08:22
On Thursday, October 9, 2003, at 01:02 PM, Jochen Kunz wrote:

> On 2003.10.09 20:18 Matt Thomas wrote:
>
>>> This isn't much, but we are back in business. :-)
>> That's definitely progress!
> Well. All I did was walking through all the *.S files and throwing
> _lots_ of "%" and a few ":" into them. Ohh, it needed some #define's in
> locore.S due to register sysnonymes that are no longer known to GAS. No
> big deal.
>
>> That builds fine for me.  In fact, I compiled all of userland to
>> verify the compiler.
> Maybe I did sonthing wrong? I run
> cd src/lib
> nbmake-hp700 clean
> nbmake-hp700 obj
> nbmake-hp700 depend
> depend ===> csu
> depend ===> csu/hppa
> CC=/usr/src-current/tooldir/bin/hppa--netbsd-gcc
> /usr/src-current/tooldir/bin/nbmkdep -f crt0.d    -I-
> -I/usr/src-current/src/lib/csu/hppa -DLIBC_SCCS -DPIC -DDYNAMIC
> -DELFSIZE=32 -I/usr/src-current/src/libexec/ld.elf_so
> -I/usr/src-current/src/lib/csu/hppa/../common_elf
> -I/usr/src-current/src/lib/libc/dlfcn -DDWARF2_EH -DJCR -DDSO_HANDLE
> -nostdinc -isystem /usr/src-current/destdir/hp700/usr/include
> /usr/src-current/src/lib/csu/hppa/crt0.c
> In file included from /usr/src-current/src/lib/csu/hppa/crt0.c:39:
> /usr/src-current/src/lib/csu/common_elf/common.h:37:23: sys/types.h: No
> such file or directory
> /usr/src-current/src/lib/csu/common_elf/common.h:38:22: sys/exec.h: No
> such file or directory
> etc. etc. etc.
>
> Maybe my source is a bit outdated? When I tried to build a release it
> bailed out in regress/lib/libpthread (see my mail from 2003.10.07
> 13:51). Unfortunately I am not able to run "cvs update" from at home
> (pay per minute modem dial up). Usually I take the source home from 
> work
> via tape. So I have to wait until tomorow for a fresh source.

You have to make includes first. :)
-- 
Matt Thomas                     email: matt@3am-software.com
3am Software Foundry              www: http://3am-software.com/bio/matt/
Cupertino, CA              disclaimer: I avow all knowledge of this 
message.