Subject: make depend errors and segmentation fault.
To: None <port-amiga@NetBSD.ORG>
From: Arthur Hoffmann <hoffmann@it.ntu.edu.au>
List: amiga
Date: 04/03/1996 23:24:40
G'day
I have a problem getting a new system built.
When I do a make depend it gets to libc and comes up with the
following:

In file included from /src/netbsd/src/lib/libc/arch/m68k/sys/Ovfork.S:40:
/src/netbsd/src/lib/libc/arch/m68k/SYS.h:48: `#' operator should be followed by a macro argument name
/src/netbsd/src/lib/libc/arch/m68k/SYS.h:48: `#' operator is not followed by a macro argument name
/src/netbsd/src/lib/libc/arch/m68k/SYS.h:50: `#' operator should be followed by a macro argument name
/src/netbsd/src/lib/libc/arch/m68k/SYS.h:50: `#' operator is not followed by a macro argument name
In file included from /src/netbsd/src/lib/libc/arch/m68k/sys/brk.S:40:
/src/netbsd/src/lib/libc/arch/m68k/SYS.h:48: `#' operator should be followed by a macro argument name
/src/netbsd/src/lib/libc/arch/m68k/SYS.h:48: `#' operator is not followed by a macro argument name
/src/netbsd/src/lib/libc/arch/m68k/SYS.h:50: `#' operator should be followed by a macro argument name
/src/netbsd/src/lib/libc/arch/m68k/SYS.h:50: `#' operator is not followed by a macro argument name
In file included from /src/netbsd/src/lib/libc/arch/m68k/sys/cerror.S:40:
/src/netbsd/src/lib/libc/arch/m68k/SYS.h:48: `#' operator should be followed by a macro argument name
/src/netbsd/src/lib/libc/arch/m68k/SYS.h:48: `#' operator is not followed by a macro argument name
/src/netbsd/src/lib/libc/arch/m68k/SYS.h:50: `#' operator should be followed by a macro argument name
/src/netbsd/src/lib/libc/arch/m68k/SYS.h:50: `#' operator is not followed by a macro argument name

.....
This keeps going on for a while.

make depend eventually completes (doesn't abort)

Then when I run make it gets to the libc directory again and segmentation faults:

ctags /src/netbsd/src/lib/libc/db/btree/bt_close.c /src/netbsd/src/lib/libc/db/btree/bt_conv.c.........
keeps going for a few screens
........src/netbsd/src/lib/libc/sys/truncate.c /src/netbsd/src/lib/libc/yp/xdryp.c /src/netbsd/src/lib/libc/yp/yplib.c
*** Signal 11

Stop.

Now is the segmentation fault related to the make depend? Well I tried to 
do the make without the depend and got exactly the same error.

What can I do to get my system built?

I'm running NetBSD1.1 with sup current till a few hours ago, I just finished building gcc, as, make, and config with the latest sources. Currently I'm building a new kernel with the new sources and tools.

Actually I tried to build about a week ago and got the same results.


Thanks for any info.

Arthur.

__
Arthur Hoffmann					hoffmann@it.ntu.edu.au
========I need a Quantum LPS240 SCSI Hard disk: Dead or Alive=======
++++++++I need a SCSI Scanner - TWAIN compliant              +++++++