RedHat Linux 5.9 & Kernel 2.2.6/Kernel 2.2.7

Erik Espinoza (
Thu, 29 Apr 1999 11:15:53 -0700

I am using RedHat Linux 5.9, I was able to compile kernel 2.2.5-ac6 without
any modifications. When I tried compiling kernel 2.2.7 I got this error:

gcc -D__KERNEL__ -I/usr/src/linux-2.2.7/include -Wall -Wstrict-prototypes
-O2 -fomit-frame-pointer -pipe -fno-strength-reduce -m486 -malign-loops=2
-malign-jumps=2 -malign-functions=2 -DCPU=686 -c -o iovec.o iovec.c
iovec.c: In function `memcpy_toiovec':
iovec.c:92: `err' undeclared (first use in this function)
iovec.c:92: (Each undeclared identifier is reported only once
iovec.c:92: for each function it appears in.)
iovec.c:76: warning: unused variable `evr'
iovec.c:95: warning: control reaches end of non-void function
make[3]: *** [iovec.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.2.7/net/core'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.2.7/net/core'
make[1]: *** [_subdir_core] Error 2
make[1]: Leaving directory `/usr/src/linux-2.2.7/net'
make: *** [_dir_net] Error 2

I got the exact same error when I was compiling kernel 2.2.6, yet I'm still
using hte same .config. Anyone have any ideas?

Erik Espinoza


-- Versions installed: (if some fields are empty or looks
-- unusual then possibly you have very old versions)
Linux 2.2.5-ac6 #1 Thu Apr 8 13:04:44 PDT 1999 i686 unknown
Kernel modules 2.1.121
Gnu C egcs-2.91.66
Linux C Library 2.1.1
Dynamic linker ldd (GNU libc) 2.1.1
Procps 1.2.10
Mount 2.9
Net-tools (1999-01-01)
Kbd [option...]
Sh-utils 1.16
Modules Loaded appletalk 3c59x

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at