Subject: make build fails: gcc alias, libc SYS.h
To: None <current-users@NetBSD.ORG>
From: Arthur Hoffmann <hoffmann@it.ntu.edu.au>
List: current-users
Date: 04/20/1996 12:44:20
G'day
I'm trying to build the world, but get the following:
===> libgcc
cc -O -I/src/netbsd/src/gnu/usr.bin/gcc/libgcc/../common -I/src/netbsd/src/gnu/usr.bin/gcc/libgcc/../arch -I/src/netbsd/src/gnu/usr.bin/gcc/\
libgcc/../arch/m68k -Werror -c -DL_op_new -o _op_new.o /src/netbsd/src/gnu/usr.bin/gcc/libgcc/libgcc2.c
cc1: warnings being treated as errors
/src/netbsd/src/gnu/usr.bin/gcc/libgcc/libgcc2.c:1652: warning: alias definitions not supported in this configuration
*** Error code 1
Stop.
*** Error code 1
Stop.
- Sources are current as of today,
- Gcc was built last with sources from last week
- I'm building the world, so the libraries are all new
- I'm updating from NetBSD1.1 to NetBSD 1.1B
- The tools that I built before I atemtpted to build the world were:
gcc, as, make, tsort, config, kernel, sh, yacc
Problems I had to get up to here:
I needed to copy /usr/src/usr/bin/lex/initscan.c to /usr/src/usr/bin/lex/scan.c,
because the build crashed when the system tried to generate scan.c.
Oh, and make depend in libc spat a bunch of warnings:
Probably a m68k problem?
mkdep -a -DNLS -DYP -DLIBC_SCCS -DSYSLIBC_SCCS -I/src/netbsd/.....
--- of the commandline deleted ----
........./lib/libc/arch/m68k/sys/syscall.S
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
........
--- more of these errors deleted ---
it does this for the following files:
Ovfork.S:40: brk.S:40: cerror.S:40: exect.S:40: fork.S:40: pipe.S:40: ptrace.S:40: reboot.S:40:
sbrk.S:40: setlogin.S:36: sigpending.S:40: sigprocmask.S:40: sigreturn.S:40: sigsuspend.S:40: syscall.S:40:
Any hinds are appreciated, especially to the gcc problem. The
libraries still build, I just don't know if they build properly or
not.
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 +++++++