From: Chad Campbell <campbell@UKANS.EDU>
To: axp-list@redhat.com
Subject: strange compile error in ftape
Date: Wed, 27 May 1998 15:22:48 +0000 [thread overview]
Message-ID: <356C2FC8.4263F100@ukans.edu> (raw)
I'm trying to compile ftape-4.x-beta-4 with egcs 1.03a under kernel
2.1.88, and I'm getting the following error in ftape_syms.c:
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer
-fno-strength-reduce
-DTHE_FTAPE_MAINTAINER=\"claus@momo.math.rwth-aachen.de\"
-DBROKEN_FLOPPY_DRIVER -DCONFIG_FT_PROC_FS -DCONFIG_FT_FULL_DEBUG
-DCONFIG_FTAPE_MODULE -DCONFIG_FT_INTERNAL_MODULE
-DCONFIG_FT_TRAKKER_MODULE -DCONFIG_FT_OBISPO_MODULE
-DCONFIG_ZFTAPE_MODULE -DMODULE -D__KERNEL__ -I. -I../../include
-I/usr/src/linux/include -
DEXPORT_SYMTAB -c ftape_syms.c
In file included from /usr/src/linux/include/linux/sched.h:434,
from ../../include/linux/ftape.h:37,
from ftape_syms.c:32:
/usr/src/linux/include/asm/current.h:4: global register variable follows
a function definition
/usr/src/linux/include/asm/current.h:4: warning: call-clobbered register
used for global register variable
What really confuses me is that this error never shows up in compiling
the kernel and the kernel code also includes linux/sched.h which
includes asm/current.h, which has the following line:
register struct task_struct *current __asm__("$8");
Has anyone else encountered this error?
Thanks,
Chad
next reply other threads:[~1998-05-27 10:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-05-27 15:22 Chad Campbell [this message]
-- strict thread matches above, loose matches on Subject: below --
1998-05-27 12:31 strange compile error in ftape Christian Groessler
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