Subject: Kernel won't compile
To: NetBSD list <amiga%NetBSD.org@messi.uku.fi>
From: Jukka Marin <jmarin@muikku.jmp.fi>
List: amiga
Date: 10/26/1994 11:36:41
Hello All,
I had this same problem before but I can't remember the solution. When I
try to compile the kernel (from the sources I ftp'd from ftp.iastate.edu
on 24th of Oct), I always get this:
cpp -DPROF -I/news/sys/lib/libkern -Imachine/.. -I. -I/news/sys/lib/libkern/../..
-I/news/sys/lib/libkern/arch/m68k -I/news/sys/lib/libkern/../../../lib/libc/arch/
m68k /news/sys/lib/libkern/arch/m68k/bcmp.S | as -o bcmp.po
In file included from /news/sys/lib/libkern/machine/asm.h:7, from /news/sys/lib/
libkern/arch/m68k/DEFS.h:3, from /news/sys/lib/libkern/arch/m68k/bcmp.S:46:
/news/sys/lib/libkern/m68k/asm.h:65: `#' operator is not followed by a macro
argument name
as: /news/sys/lib/libkern/arch/m68k/bcmp.S:56: Error: "instruction/operands
mismatch" -- Statement 'link a6,0' ignored
*** Error code 1
Stop.
I am running the latest binaries (21st of Oct) and gcc version 2.4.5.
I ftp'd the kernel source using get sys.tar and then tar xvf'ed it here
on an empty partition. I then run config.new GENERIC / make depend / make
- and make fails.
I also get warnings compiling locore.s:
../../amiga/locore.s:120: unterminated character constant
../../amiga/locore.s:680: unterminated character constant
../../amiga/locore.s:718: unterminated character constant
../../amiga/locore.s:837: unterminated character constant
../../amiga/locore.s:850: unterminated character constant
../../amiga/locore.s:859: unterminated character constant
../../amiga/locore.s:1461: unterminated character constant
../../amiga/locore.s:1485: unterminated character constant
These come from the lines with a single ' on them. Several warnings of the
same kind from ../../../../arch/m68k/m68k/oc_cksum.s, too.
What on earth am I doing wrong? Many people have mentioned that they
don't even get warnings when compiling the kernel. I get warnings and
then make fails. :-(
Please help,
Jukka Marin
P.S. I have a time limit daemon running on my system. The daemon kicks out
users who exceed their on-line time on dial-in modem lines. The time
limit can be set individually for the users and/or globally for the
system. If you want to betatest the daemon, drop me a mail message.
Thanks.
--
| Mail: Jukka Marin | E-Mail: jmarin@muikku.jmp.fi |
| Metsurintie 17 B 8 | FAX/voice: +358 71 283 2793 |
| 70150 Kuopio | There's God above computers - |
| FINLAND | Love beyond the hate |
\ /
\ If a train station is where the train stops, what is a workstation? /