From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 18399 invoked from network); 26 Mar 1998 03:05:34 -0000 Received: from cdsms.cdc.com (129.179.192.11) by mail2.redhat.com with SMTP; 26 Mar 1998 03:05:34 -0000 Return-Path: Received: from [129.179.23.47] by cdsms.cdc.com; Wed, 25 Mar 1998 21:05:01 -0600 Message-Id: <3.0.5.32.19980325190823.007e7100@cdsms.cdc.com> X-Sender: nelson.y.maksoudian@cdsms.cdc.com X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Wed, 25 Mar 1998 19:08:23 -0800 To: axp-list@redhat.com From: Nelson Maksoudian Subject: PCMCIA compile error with 2.1.87 In-Reply-To: <199803250914.BAA25867@fock.usc.edu> References: <199803242130.QAA04157@linux03.amt.tay1.dec.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit This is my first question to the list. This may be a stupid question or the answer available somewhere I am not aware of. I have multia initially installed with RedHat 5.0 and later upgraded to 2.1.87 kernel and modutils 2.1.85. The question I have is that pcmcia-cs-2.9.12 compiled fine on RedHat 5.0 but after the upgrade I get the following error (see below). What am I missing? I even downloaded pcmcia-cs-3.0.0, same compile time error. Help Nelson ------------------- Screen output ------------------------------------ [root@buzzman pcmcia-cs-3.0.0]# make all set -e ; for d in modules cardmgr flash debug-tools man etc ; do make -C $d ; done make[1]: Entering directory `/usr/src/pcmcia-cs-3.0.0/modules' gcc -MD -O2 -Wall -Wstrict-prototypes -Winline -pipe -D__KERNEL__ -DMODULE -I../include -I/usr/src/linux/include -I/usr/src/linux -c i82365.c In file included from /usr/src/linux/include/linux/sched.h:434, from /usr/src/linux/include/asm/uaccess.h:5, from ../include/pcmcia/k_compat.h:171, from i82365.c:10: /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 i82365.c: In function `i365_get': i82365.c:334: warning: `__r16' might be used uninitialized in this function i82365.c:336: warning: `__r16' might be used uninitialized in this function i82365.c: In function `i365_set': i82365.c:344: warning: `__r16' might be used uninitialized in this function i82365.c:346: warning: `__r16' might be used uninitialized in this function i82365.c: In function `busy_loop': i82365.c:796: warning: `__r16' might be used uninitialized in this function i82365.c:799: warning: `__r16' might be used uninitialized in this function i82365.c: In function `pcic_init': i82365.c:1276: warning: unused variable `i' make[1]: *** [i82365.o] Error 1 make[1]: Leaving directory `/usr/src/pcmcia-cs-3.0.0/modules' make: *** [all] Error 2 [root@buzzman pcmcia-cs-3.0.0]#