Skip to contentSkip to conversation

2.5.5-pre1 -- rd.c:271: In function `rd_make_request': too many arguments to function

DISCUSSION Miles Lane 1 participant 2 messages Feb 14, 2002

lore
Share & tools
lore

Miles Lane

author
#0 lore raw

gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=athlon -DKBUILD_BASENAME=rd -c -o rd.o rd.c
rd.c: In function `rd_make_request':
rd.c:271: too many arguments to function
make[3]: *** [rd.o] Error 1

#
# Multi-device support (RAID and LVM)
#
CONFIG_MD=y
CONFIG_BLK_DEV_MD=y
CONFIG_MD_LINEAR=y
CONFIG_MD_RAID0=y
CONFIG_MD_RAID1=y

author
#1 lore raw

(Here's the right .config info) Re: 2.5.5-pre1 -- rd.c:271: In function `rd_make_request': too many arguments to function

Included the wrong .config chunk. Here is the correct one.

Quoted 8 lines · Miles Lane

gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes

(quoted diff) +0 -3
-Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common
-pipe -mpreferred-stack-boundary=2 -march=athlon   
-DKBUILD_BASENAME=rd  -c -o rd.o rd.c

rd.c: In function `rd_make_request':
rd.c:271: too many arguments to function
make[3]: *** [rd.o] Error 1

#
# Block devices
#
CONFIG_BLK_DEV_FD=m
CONFIG_BLK_DEV_LOOP=y
CONFIG_BLK_DEV_NBD=m
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_SIZE=4096
CONFIG_BLK_DEV_INITRD=y