SCSI CDROM Support as a Module

Jason Saggers (psyclone@darknight.gen.nz)
Sun, 8 Mar 1998 10:38:59 +1300 (NZDT)


Hi Everybody

As I have fairly recently started following the group and have recently
started compling and using the 2.1.xx development series kernel this may
have already have been dealt with in the 2.1.89 kernel, but in the 2.1.88
kernel if you specify in SCSI support SCSI CDROM as a Module you get the
following errors during module compile.

gcc -D__KERNEL__ -I/usr/src/linux-2.1.88/include -Wall -Wstrict-prototypes
-O2 -fomit-frame-pointer -D__SMP__ -pipe -fno-strength-reduce -m486
-malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -D__SMP__
-DMODULE -DMODVERSIONS -include
/usr/src/linux-2.1.88/include/linux/modversions.h -c -o sr.o sr.c
sr.c:481: warning: `/*' within comment
sr.c: In function `do_sr_request':
sr.c:536: parse error before `void'
sr.c:542: `tries' undeclared (first use this function)
sr.c:542: (Each undeclared identifier is reported only once
sr.c:542: for each function it appears in.)
sr.c:550: `dev' undeclared (first use this function)
sr.c:551: `block' undeclared (first use this function)
sr.c:552: `buffer' undeclared (first use this function)
sr.c:553: `this_count' undeclared (first use this function)
sr.c:594: `cmd' undeclared (first use this function)
sr.c:642: `end_rec' undeclared (first use this function)
sr.c:737: `start' undeclared (first use this function)
sr.c:763: `realcount' undeclared (first use this function)
sr.c:835: parse error before `static'
sr.c:841: `SDp' undeclared (first use this function)
sr.c:843: warning: `return' with a value, in function returning void
sr.c: At top level:
sr.c:54: warning: `sr_detect' declared `static' but never defined

Jason Saggers

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu