From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 18524 invoked from network); 27 May 1998 10:43:30 -0000 Received: from kuhub.cc.ukans.edu (SYSTEM@129.237.32.2) by mail2.redhat.com with SMTP; 27 May 1998 10:43:30 -0000 Received: from ukans.edu (dv013s26.lawrence.ks.us) by KUHUB.CC.UKANS.EDU (PMDF V5.1-10 #24910) with ESMTP id <01IXIMP6UCY8017GXP@KUHUB.CC.UKANS.EDU> for axp-list@redhat.com; Wed, 27 May 1998 05:43:28 CDT (UTC -05:00) Date: Wed, 27 May 1998 15:22:48 +0000 From: Chad Campbell Subject: strange compile error in ftape Sender: campbell@dv013s26.lawrence.ks.us To: axp-list@redhat.com Message-id: <356C2FC8.4263F100@ukans.edu> Organization: Innovision Corporation MIME-version: 1.0 X-Mailer: Mozilla 4.05 [en] (X11; I; Linux 2.1.88 alpha) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit 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