lkml.org 
[lkml]   [1996]   [Oct]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subjectproblems compilin 2.1.0 full source
Date

hi,

I just picked linux-2.1.0.tar.gz from ftp.funet.fi, copied .config
from 2.0.21 and typed "make oldconfig", and after that, "make dep"
"make clean", make zImage.

compilation fails as follows:

> [...]
> make[3]: Entering directory `/data4/root/linux/drivers/block'
> gcc -D__KERNEL__ -I/data4/root/linux/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 rd.o rd.c
> rd.c: In function `identify_ramdisk_image':
> rd.c:353: structure has no member named `lseek'
> rd.c:354: structure has no member named `lseek'
> rd.c:373: structure has no member named `lseek'
> rd.c:374: structure has no member named `lseek'
> rd.c:403: structure has no member named `lseek'
> rd.c:404: structure has no member named `lseek'
> make[3]: *** [rd.o] Error 1
> make[3]: Leaving directory `/data4/root/linux/drivers/block'
> make[2]: *** [first_rule] Error 2
> make[2]: Leaving directory `/data4/root/linux/drivers/block'
> make[1]: *** [sub_dirs] Error 2
> make[1]: Leaving directory `/data4/root/linux/drivers'
> make: *** [linuxsubdirs] Error 2

/usr/src/linux is a symlink to /data4/root/linux/include/linux,
ditto /usr/src/asm is a symlink to /data4/root/linux/include/asm-i386
and of course /data4/root is where I unpacked the full source. (I don't
like multiple symlinks ... )

yes, /usr/include/linux/fs.h is visible ... and contains
a "struct file_operations { long long (*lseek) .... "

any idea what is wrong ?


\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.034 / U:27.792 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site