From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 14006 invoked from network); 15 Jan 1999 04:47:54 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 15 Jan 1999 04:47:54 -0000 Received: from ursa.calvin.edu (ursa.calvin.edu [153.106.4.1]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id XAA15036 for ; Thu, 14 Jan 1999 23:24:50 -0500 Received: from shwartzkopf.alpha.calvin.edu (pcbv2.calvin.edu [153.106.15.201]) by ursa.calvin.edu (8.8.7/8.8.7) with SMTP id XAA13974 for ; Thu, 14 Jan 1999 23:24:54 -0500 (EST) Date: Mon, 14 Jan 2019 18:23:37 -0500 (EST) From: Jeff DeMaagd X-Sender: jdemaa17@shwartzkopf.alpha.calvin.edu Reply-To: Jeff DeMaagd To: axp-list@redhat.com Subject: ftape weirdies... Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII I have a little trouble with ftape-4.02. It doesn't get past compiling the first file. My kernel is 2.2.0-pre7, egcs-1.1.1, RH5.2. The errors say 'call clobbered register', and I looked at the file current.c, it had a register name $8 involved. Is this proper? What can I do? This looks more like kernel source problem versus an ftape driver problem, but I guess it could be anything. I haven't tried any other versions of ftape yet, I only read that 4.x+ was said to best support AXP. TIA JRDM Below is the compile command and the errors follow: gcc -Wall -Wstrict-prototypes -O2 -mcpu=ev56 -fomit-frame-pointer -fno-strength-reduce -DTHE_FTAPE_MAINTAINER=\"heine@math1.rwth-aachen.de\" -DBROKEN_FLOPPY_DRIVER -DCONFIG_FT_PROC_FS -DCONFIG_FT_FDC_BASE_1=0x370 -DCONFIG_FT_FDC_IRQ_1=7 -DCONFIG_FT_FDC_DMA_1=3 -DCONFIG_FT_NR_BUFFERS=3 -DCONFIG_FT_INT_1=1 -DCONFIG_FTAPE_MODULE -DCONFIG_FT_INTERNAL_MODULE -DCONFIG_FT_TRAKKER_MODULE -DCONFIG_FT_BPCK_MODULE -DCONFIG_ZFTAPE_MODULE -DCONFIG_ZFT_COMPRESSOR_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:446, from ../../include/linux/ftape.h:38, 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 make[2]: *** [ftape_syms.o] Error 1 make[2]: Leaving directory `/usr/src/ftape-4.02/ftape/lowlevel' make[1]: *** [modules] Error 2 make[1]: Leaving directory `/usr/src/ftape-4.02/ftape' make: *** [all] Error 2