On 5/26/07, Bob Copeland <[EMAIL PROTECTED]> wrote: > On Sat, May 26, 2007 at 06:05:05PM -0400, Andrei Maces wrote: > > I tried to compile the new release on 2.6.22-rc3 and it gave me a > > "dereferencing > > pointer to incomplete > > type" error at inode:85&86, involving inode->i_uid and inode->i_gid. > > I've fixed it by adding: > > > > #include <linux/sched.h> > > Hrm.. what arch/gcc are you using? It built for me, but I see that > minix has a few includes I'm missing (e.g. slab.h). Sched.h seems > possibly too far up the chain to include.
i486-linux-gnu/gcc version 4.1.3 20070518 (prerelease) (Debian 4.1.2-8) You're probably right about sched.h being too high level. I know little about this level of detail into kernel hacking but slab.h didn't work for me. I found sched.c by grepping the includes for i_uid/i_gid references (looked like the best bet through the matches). BTW, it just occurred to me that I'm using the ck patchset, which changes a lot of scheduler internals ... Sorry for bringing up all these particular issues; the bottom line is that there's a temporary fix for anyone with such non-standard setup. Andrei ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ linux-karma-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linux-karma-devel
