Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Makefile
@ 1998-04-30  2:21 Ian Kinner
  1998-04-30  3:49 ` Makefile Michal Jaegermann
  1998-04-30  4:11 ` Makefile Maurice Hilarius
  0 siblings, 2 replies; 4+ messages in thread
From: Ian Kinner @ 1998-04-30  2:21 UTC (permalink / raw)
  To: axp-list


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1998-04-30  4:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-04-30  2:21 Makefile Ian Kinner
1998-04-30  3:49 ` Makefile Michal Jaegermann
1998-04-30  4:01   ` Makefile Ian Kinner
1998-04-30  4:11 ` Makefile Maurice Hilarius

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox