lkml.org 
[lkml]   [1996]   [Nov]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectIDE CD-Rom module problems under 2.1.18
Hi,

I am trying to compile my IDE CD-Rom as a loadable module under
2.1.18. When I did a 'make_modules' all was fine until it hit
ide.c. There were about 3 screen-fulls of error messages all about
"macro '_basic_version' used with just one arg" in ide.c. My system
has 2 SCSI hdd's, 1 SCSI CD-Rom and one IDE CD-Rom.

Below is most of the actual error messages from 'make modules' and
the relevant parts of my config file as well.

Any help would be appreciated.

Ta.
Adrian.

From 'make modules'
make[1]: Entering directory `/usr/src/linux-2.1.8/kernel'
make[1]: Nothing to be done for `modules'.
make[1]: Leaving directory `/usr/src/linux-2.1.8/kernel'
make[1]: Entering directory `/usr/src/linux-2.1.8/drivers'
set -e; for i in block char net scsi; do make -C $i modules; done
make[2]: Entering directory `/usr/src/linux-2.1.8/drivers/block' gcc
-D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=2
-malign-jumps=2 -malign-functions=2 -DCPU=586 -DMODULE -DMODVERSIONS
-include /usr/src/linux/include/linux/modversions.h -c -o floppy.o
floppy.c gcc -D__KERNEL__ -I/usr/src/linux/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce
-pipe -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2
-DCPU=586 -DMODULE -DMODVERSIONS -include
/usr/src/linux/include/linux/modversions.h -c -o ide.o ide.c
ide.c:2686: macro `_basic_version' used with just one arg
ide.c:2687: macro `_basic_version' used with just one arg
ide.c:2687: macro `_basic_version' used with just one arg
ide.c:2692: macro `_basic_version' used with just one arg

snip

ide.c:2716: macro `_basic_version' used with just one arg
ide.c:2717: macro `_basic_version' used with just one arg
ide.c:2719: macro `_basic_version' used with just one arg
ide.c:2719: macro `_basic_version' used with just one arg
make[2]: *** [ide.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.1.8/drivers/block'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.1.8/drivers'
make: *** [modules] Error 2


config
#
# Automatically generated make config: don't edit
#

snip

#
# Floppy, IDE, and other block devices
#
CONFIG_BLK_DEV_FD=m
CONFIG_BLK_DEV_IDE=m

#
# Please see Documentation/ide.txt for help/info on IDE drives
#
# CONFIG_BLK_DEV_HD_IDE is not set
CONFIG_BLK_DEV_IDEDISK=m
CONFIG_BLK_DEV_IDECD=m
# CONFIG_BLK_DEV_IDETAPE is not set
# CONFIG_BLK_DEV_IDEFLOPPY is not set


\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.061 / U:0.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site