Exactly which patches (names please) did you apply, and in what order?  Were
there any error messages?  What version of gcc and binutils are you running
now?  (Although this doesn't look like that kind of a problem.)


Mark Post

-----Original Message-----
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Rich
Blair
Sent: Thursday, April 15, 2004 9:36 AM
To: [EMAIL PROTECTED]
Subject: make modules error


I have a SuSe 2.4.7 system.
I've downloaded the 2.4.21 Kernel from kernel.org and applied the IBM
patches and performed 'make menuconfig', 'make dep', and  'make image'.

'make modules' is giving me trouble. I'm getting the following error: gcc
-D__KERNEL__ -I/usr/src/linux-2.4.21/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer
-pipe -fno-strength-reduce -DMODULE  -nostdinc -iwithprefix include
-DKBUILD_BASENAME=vmlogrdr  -c -o vmlogrdr.o vmlogrdr.c
vmlogrdr.c: In function `logreader_init':
vmlogrdr.c:635: parse error before `int'
vmlogrdr.c:637: `parm_no' undeclared (first use in this function)
vmlogrdr.c:637: (Each undeclared identifier is reported only once
vmlogrdr.c:637: for each function it appears in.)
vmlogrdr.c:645: `minor' undeclared (first use in this function)
make[2]: *** [vmlogrdr.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.21/drivers/s390/char'
make[1]: *** [_modsubdir_char] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.21/drivers/s390'
make: *** [_mod_drivers/s390] Error 2

Do I need to upgrade gcc?

Thanks,
Rich



----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions, send email
to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to