From: Ian Kinner <ian@proxima.simplecom.net>
To: axp-list@redhat.com
Subject: Makefile
Date: Wed, 29 Apr 1998 21:21:47 -0500 [thread overview]
Message-ID: <3.0.3.32.19980429212147.006e4958@proxima.simplecom.net> (raw)
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
next reply other threads:[~1998-04-30 2:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-04-30 2:21 Ian Kinner [this message]
1998-04-30 3:49 ` Makefile Michal Jaegermann
1998-04-30 4:01 ` Makefile Ian Kinner
1998-04-30 4:11 ` Makefile Maurice Hilarius
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox