[OpenAFS] Build problem on SuSE 9.2 with openafs-1.4.0-rc1

Derrick J Brashear shadow@dementia.org
Sun, 4 Sep 2005 18:12:58 -0400 (EDT)


Hi Jeremy,

Actually, the real problem is:

> In file included
> from /home/jeremyb/Work/openafs-1.4.0-rc1/include/afs/afs_sysnames.h:25,
>                 from /home/jeremyb/Work/openafs-1.4.0-rc1/include/afs/param.h:58,
>                 from /home/jeremyb/Work/openafs-1.4.0-rc1/src/libafs/MODLOAD-2.6.8-24.18-default-SP/afs_atomlist.c:11:
> /home/jeremyb/Work/openafs-1.4.0-rc1/include/afs/stds.h:14:23: sys/types.h: No
> such file or directory

So where's sys/types.h?

> It looks to me that the error occurs because the "size_t" type is undefined.
> It appears that there is a missing "-I /usr/include" somewhere but I'm unsure
> where to look. Any help would be greatly appreciated. Thanks in advance.

No, you don't want to include /usr/include for building kernel modules.

Derrick