Skip to contentSkip to conversation

problem building 2.4.6 pre 6 + freevxfs

DISCUSSION Giampaolo Gallo 3 participants 3 messages Jun 28, 2001

lore
Share & tools
lore
#0 lore raw

gcc -D__KERNEL__ -I/u1/usr.src/linux/include -Wall -Wstrict-prototypes -Wno-traphs -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe
-mpreferred-stack-bdary=2 -march=i686 -c -o vxfs_inode.o vxfs_inode.c
vxfs_inode.c:50: `generic_file_llseek' undeclared here (not in a function)
vxfs_inode.c:50: initializer element is not constant vxfs_inode.c:50: (near initialization for `vxfs_file_operations.llseek') make[3]: *** [vxfs_inode.o] Error 1
make[3]: Leaving directory `/u1/usr.src/linux/fs/freevxfs' make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/u1/usr.src/linux/fs/freevxfs' make[1]: *** [_subdir_freevxfs] Error 2
make[1]: Leaving directory `/u1/usr.src/linux/fs'
make: *** [_dir_fs] Error 2

#1 lore raw

Hi Giampaolo,

Quoted 7 lines · In article <993718178.8885.0.camel@castle> you wrote:

gcc -D__KERNEL__ -I/u1/usr.src/linux/include -Wall -Wstrict-prototypes

(quoted diff) +0 -2
-Wno-traphs -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe
-mpreferred-stack-bdary=2 -march=i686    -c -o vxfs_inode.o vxfs_inode.c

vxfs_inode.c:50: `generic_file_llseek' undeclared here (not in a function)
vxfs_inode.c:50: initializer element is not constant vxfs_inode.c:50: (near initialization for `vxfs_file_operations.llseek')

Just remove the complete line - generic_file_llseek doesn't exist in 2.4.6-pre6 and it's appeareance seems to be an merge error.

Christoph

Signature · 1 line
Of course it doesn't work. We've performed a software upgrade.
#2 lore raw
Quoted 6 lines
Quoted 3 lines

function)
vxfs_inode.c:50: initializer element is not constant vxfs_inode.c:50: (near initialization for `vxfs_file_operations.llseek')

Just remove the complete line - generic_file_llseek doesn't exist in 2.4.6-pre6 and it's appeareance seems to be an merge error.

Arghhh my fault. I thought I'd sent Linus generic_file_llseek - apologies I'll fix that one