Re: New version fails to compile

Kai M{kisara (makisara@abies.metla.fi)
Thu, 2 Jan 1997 19:52:06 +0200 (EET)


On Thu, 2 Jan 1997, Richard B. Johnson wrote:

> Linux-2.1.20 fails to compile with:
>
> gcc -D__KERNEL__ -I/usr/src/linux-2.1.20/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -c -o st.o st.c
> st.c: In function `st_attach':
> st.c:3050: `ST_SYSV' undeclared (first use this function)
> st.c:3050: (Each undeclared identifier is reported only once
> st.c:3050: for each function it appears in.)

Sorry, the following patch was missing from the patch set I sent Linus.

Kai

------------------------------8<---------------------------------------
--- /source/linux/drivers/scsi/st_options.h Sun Dec 17 13:56:45 1995
+++ linux/drivers/scsi/st_options.h Wed Jan 1 15:20:35 1997
@@ -88,4 +88,8 @@
files and the file number status is retained. */
#define ST_FAST_MTEOM 0

+/* If ST_SYSV is non-zero, the tape behaves according to the SYS V semantics.
+ The default is BSD semantics. */
+#define ST_SYSV 0
+
#endif
------------------------------8<---------------------------------------