From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 28682 invoked from network); 30 Apr 1998 02:22:04 -0000 Received: from proxima.simplecom.net (root@208.220.31.15) by mail2.redhat.com with SMTP; 30 Apr 1998 02:22:04 -0000 Received: from noname (ts1-61.simplecom.net [208.220.30.61]) by proxima.simplecom.net (8.8.8/8.8.8) with SMTP id VAA00782 for ; Wed, 29 Apr 1998 21:21:55 -0500 Message-Id: <3.0.3.32.19980429212147.006e4958@proxima.simplecom.net> X-Sender: ian@proxima.simplecom.net X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.3 (32) Date: Wed, 29 Apr 1998 21:21:47 -0500 To: axp-list@redhat.com From: Ian Kinner Subject: Makefile Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" I am running 2.1.98, and I know it is experimental, but I am reporting a problem that should be corrected in the next few kernels... My arch/alpha/Makefile has a problem on line 35. When I try a "make menuconfig" or any other "make" command, I get an "arch/alpha/Makefile: 35: Missing Separator" error. The line is this: $(shell $(AS) --version >& ./GAS_VER) When the & is removed, it works fine. This problem didn't occur in the 2.1.86 kernel. Also, when I compile the kernel, towards the end, I get the following error: >ld -static -T arch/alpha/vmlinux.lds arch/alpha/kernel/head.o init/main.o >init/version.o \ > arch/alpha/kernel/kernel.o arch/alpha/mm/mm.o kernel/kernel.o >mm/mm.o fs/fs.o ipc/ipc.o arch/alpha/math-emu/math-emu.o \ > fs/filesystems.a \ > net/network.a \ > drivers/block/block.a drivers/char/char.a drivers/misc/misc.a >drivers/net/net.a drivers/scsi/scsi.a drivers/cdrom/cdrom.a >drivers/pci/pci.a \ > /usr/src/linux-2.1.98/arch/alpha/lib/lib.a >/usr/src/linux-2.1.98/lib/lib.a /usr/src/linux-2.1.98/arch/alpha/lib/lib.a >\ > -o vmlinux >init/main.o: In function `checksetup': >main.c(.text+0x1e0): undefined reference to `__builtin_memset' >main.c(.text+0x1e4): undefined reference to `__builtin_memset' >main.c(.text+0x21c): undefined reference to `__builtin_memset' >main.c(.text+0x220): undefined reference to `__builtin_memset' >main.c(.text+0x258): undefined reference to `__builtin_memset' >init/main.o(.text+0x25c):main.c: more undefined references to >`__builtin_memset' follow >make: *** [vmlinux] Error 1 The __builtin_memset function can be located in the include/asm-alpha/string.h file. There is a version test to determine which version of gcc you are running. If you are using >2.8, it implements the __builtin_memset function. I am running 2.8, however, and it still does not work. When I edit the string.h file to remove the test, so that it does not use the function, the kernel compiles normally without errors. I have figured out how to get around these problems, but the fact that I must edit these two files everytime I download a new kernel is quite an annoyance. If anyone can tell me if my compiler is broken or if it is the kernel, I would greatly appreciate it. Ian Kinner