* PROBLEM: drivers/block/rd.c compile error
@ 2002-02-26 8:41 ch.nolte
2002-02-26 9:43 ` Skip Ford
0 siblings, 1 reply; 2+ messages in thread
From: ch.nolte @ 2002-02-26 8:41 UTC (permalink / raw)
To: linux-kernel
Hi guys!
I think I`ve found a problem with the Linux-Sources 2.5.5. I have compiled
the code on two different systems, this is what happened:
gcc -D__KERNEL__ -I/usr/src/linux-2.5.5/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.5.5/include/linux/modversions.h -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[2]: *** [rd.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.5.5/drivers/block'
make[1]: *** [_modsubdir_block] Error 2
make[1]: Leaving directory `/usr/src/linux-2.5.5/drivers'
make: *** [_mod_drivers] Error 2
I did:
# cat drivers/block/rd.c -n |grep bi_end_io
271 sbh->bi_end_io(sbh, len >> 9);
seems to be an illegal function call, but yet I don`t know
how to fix this one...
I hope this could be of help for you.
bye
Christian Nolte
______________________________________________________________________________
100 MB gute Gründe! Jetzt anmelden und FreeMail-Speicher erweitern für
Sprach-, Fax- und Mailnachrichten unter http://club.web.de/?mc=021103
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: PROBLEM: drivers/block/rd.c compile error
2002-02-26 8:41 PROBLEM: drivers/block/rd.c compile error ch.nolte
@ 2002-02-26 9:43 ` Skip Ford
0 siblings, 0 replies; 2+ messages in thread
From: Skip Ford @ 2002-02-26 9:43 UTC (permalink / raw)
To: linux-kernel
ch.nolte@web.de wrote:
>
> I think I`ve found a problem with the Linux-Sources 2.5.5. I have compiled
> the code on two different systems, this is what happened:
>
>
> gcc -D__KERNEL__ -I/usr/src/linux-2.5.5/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.5.5/include/linux/modversions.h -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[2]: *** [rd.o] Error 1
> make[2]: Leaving directory `/usr/src/linux-2.5.5/drivers/block'
> make[1]: *** [_modsubdir_block] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.5.5/drivers'
> make: *** [_mod_drivers] Error 2
>
> # cat drivers/block/rd.c -n |grep bi_end_io
> 271 sbh->bi_end_io(sbh, len >> 9);
^^^^^^^^^^
Delete the second parameter in the call and it will work fine.
- --
Skip
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-02-26 9:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-26 8:41 PROBLEM: drivers/block/rd.c compile error ch.nolte
2002-02-26 9:43 ` Skip Ford
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®