Skip to contentSkip to conversation

2.5.5-pre1 and rd.c

DISCUSSION Frank Jacobberger 3 participants 3 messages Feb 14, 2002

lore
Share & tools
lore
#0 lore raw

Trying a make bzImage netted this nice little problem:
------------------------------------------------------------------------------------------------------------------------------
gcc -D__KERNEL__ -I/usr/src/linux-2.5.4/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe
-mpreferred-stack-boundary=2 -march=i686 -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
make[3]: Leaving directory `/usr/src/linux-2.5.4/drivers/block' make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.5.4/drivers/block' make[1]: *** [_subdir_block] Error 2
make[1]: Leaving directory `/usr/src/linux-2.5.4/drivers'
make: *** [_dir_drivers] Error 2

Any ideas?

Thanks,

Frank

#1 lore raw
Quoted 10 lines · Frank Jacobberger

Trying a make bzImage netted this nice little problem:
------------------------------------------------------------------------------------------------------------------------------
gcc -D__KERNEL__ -I/usr/src/linux-2.5.4/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=i686   -DKBUILD_BASENAME=rd  -c -o

rd.o rd.c
rd.c: In function `rd_make_request':
rd.c:271: too many arguments to function

I would have sworn I merged that with axboe.

Delete the second argument to the function, that should fix it.

Signature · 3 lines
Jeff Garzik      | "I went through my candy like hot oatmeal
Building 1024    |  through an internally-buttered weasel."
MandrakeSoft     |             - goats.com
#2 lore raw
In reply to Frank Jacobberger
Quoted 13 lines · Jeff Garzik
Quoted 10 lines · Frank Jacobberger

Trying a make bzImage netted this nice little problem:
------------------------------------------------------------------------------------------------------------------------------
gcc -D__KERNEL__ -I/usr/src/linux-2.5.4/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=i686   -DKBUILD_BASENAME=rd  -c -o

rd.o rd.c
rd.c: In function `rd_make_request':
rd.c:271: too many arguments to function

I would have sworn I merged that with axboe.

You did, apparently Linus never did the pull on that one. I'll make sure it gets pushed again :)

Signature · 1 line
Jens Axboe