2.5.5-pre1 and rd.c
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.crd.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
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 -ord.o
rd.crd.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
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 -ord.o
rd.crd.c: In function `rd_make_request':
rd.c:271: too many arguments to functionI 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