public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.5.38] floppy.c doesn't compile
@ 2002-09-22 10:05 Alessandro Suardi
  0 siblings, 0 replies; only message in thread
From: Alessandro Suardi @ 2002-09-22 10:05 UTC (permalink / raw)
  To: linux-kernel

make[2]: Entering directory `/usr/local/src/linux-2.5.38/drivers/block'
   gcc -Wp,-MD,./.floppy.o.d -D__KERNEL__ 
-I/usr/local/src/linux-2.5.38/include -Wall -Wstrict-prototypes 
-Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common 
-pipe -mpreferred-stack-boundary=2 -march=i686 
-I/usr/local/src/linux-2.5.38/arch/i386/mach-generic -nostdinc 
-iwithprefix include -DMODULE   -DKBUILD_BASENAME=floppy   -c -o 
floppy.o floppy.c
floppy.c: In function `cleanup_module':
floppy.c:4565: `drive' undeclared (first use in this function)
floppy.c:4565: (Each undeclared identifier is reported only once
floppy.c:4565: for each function it appears in.)
floppy.c:4559: warning: unused variable `i'
floppy.c:4573: warning: statement with no effect
make[2]: *** [floppy.o] Error 1
make[2]: Leaving directory `/usr/local/src/linux-2.5.38/drivers/block'
make[1]: *** [block] Error 2
make[1]: Leaving directory `/usr/local/src/linux-2.5.38/drivers'
make: *** [drivers] Error 2

It is quite obvious that 'i' should be replaced with 'drive'
  at line 4559 (this makes it build) - however the "statement
  with no effect" stays. It's late, i have to catch a plane
  back to Italy in a few hours so I can't debug further...

--alessandro

  "everything dies, baby that's a fact
    but maybe everything that dies someday comes back"
        (Bruce Springsteen, "Atlantic City")


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-09-22 10:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-22 10:05 [2.5.38] floppy.c doesn't compile Alessandro Suardi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox