lkml.org 
[lkml]   [2003]   [Mar]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectCompilation error 2.5.66 allyesconfig
Date
Making an allyesconfig-kernel doesn't work. There's a problem in
fs/cramfs/inode.c:

[per@linus linux-2.5.66]$ make mrproper; make allyesconfig; make

fs/cramfs/inode.c: In function `get_cramfs_inode':
fs/cramfs/inode.c:54: incompatible types in assignment
make[2]: *** [fs/cramfs/inode.o] Error 1
make[1]: *** [fs/cramfs] Error 2
make: *** [fs] Error 2

It seems to be this line:
inode->i_mtime = inode->i_atime = inode->i_ctime = 0;

inode->i_{m,a,c}time are 'struct timespec' not integers.

Changing the line to the following solves it, but is perhaps not the best
solution:
inode->i_mtime = inode->i_atime = inode->i_ctime = ((struct timespec) {0,
0});

Per Persson
Gnosjö, Sweden

E-mail: per.persson@gnosjo.pp.se


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

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