linux-2.0.39-pre-8 Compile error

From: Seiichi Nakashima (nakasei@msynet.gr.jp)
Date: Wed Sep 13 2000 - 19:08:22 EST


Dear.

I am Seiichi Nakashima in Japan.

I tested linux-2.0.39-pre-8, but compile error occured.

(1) Patch error ( maybe waring only )

I execute

# tar zxf linux-2.0.38.tar.gz
# mv linux linux-2.0.38
# patch -s -p0 < patch-2.0.39-pre8

Then error occured

patch: **** malformed patch at line 9027: \ No newline at end of file

I check patch-2.0.39-pre8 at 9027 line.

......
-#endif
\ No newline at end of file
+#endif
......

maybe, This line do not need.

(2) Kernel compile error and stop compile.

I execute

# mv linux-2.0.38 linux-2.0.39
# ln -s linux-2.0.39 linux
# cd linux
# make mrproper
# make menuconfig ( set kernel configureation )
# make dep; make clean; make zImage > /tmp/out 2>&1

Then error occured, I append compile error messages( error step only ).

make[1]: Entering directory `/usr/src/linux-2.0.39/drivers'
set -e; for i in block char net pci; do make -C $i; done
make[2]: Entering directory `/usr/src/linux-2.0.39/drivers/block'
make all_targets
make[3]: Entering directory `/usr/src/linux-2.0.39/drivers/block'
gcc -D__KERNEL__ -I/usr/src/linux-2.0.39/include -Wall -Wstrict-prototypes -
O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=2 -ma
lign-jumps=2 -malign-functions=2 -DCPU=686 -c -o ll_rw_blk.o ll_rw_blk.c
ll_rw_blk.c: In function `make_request':
ll_rw_blk.c:448: `IDE4_MAJOR' undeclared (first use this function)
ll_rw_blk.c:448: (Each undeclared identifier is reported only once
ll_rw_blk.c:448: for each function it appears in.)
ll_rw_blk.c:449: `IDE5_MAJOR' undeclared (first use this function)
make[3]: *** [ll_rw_blk.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.0.39/drivers/block'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.0.39/drivers/block'
make[1]: *** [sub_dirs] Error 2
make[1]: Leaving directory `/usr/src/linux-2.0.39/drivers'
make: *** [linuxsubdirs] Error 2

Anyone help me.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Sep 15 2000 - 21:00:22 EST