[OpenAFS] Suse 9.3 Professional RPMS
Mon, 17 Apr 2006 14:18:44 -0400
On Friday, April 14, 2006 10:00:40 AM -0700 Russ Allbery <email@example.com>
> David Sonenberg <firstname.lastname@example.org> writes:
>> Well I went and rechecked the md5 hash(it was ok), deleted the source
>> tree and recreated it from the tar ball(bz2), and still no sys/types.h.
>> Here are the exact steps I took:
>> tar xjvf openafs-1.4.0-src.tar.bz2
>> cd openafs-1.4.0
>> configure --prefix=/
> Make sure that you have your system core development packages installed.
> It sounds like you're missing standard headers.
So, apparently no one is actually paying attention here. The original
poster quoted the following error message:
> In file included from /root/openafs-1.4.0/include/afs/afs_sysnames.h:25,
> from /root/openafs-1.4.0/include/afs/param.h:58,
> /root/openafs-1.4.0/include/afs/stds.h:14:23: sys/types.h: No such file
> or directory
He's building a kernel module, or trying to. The headers in /usr/include
are for use by user-mode code only; that tree will not and must not be
searched while building kernel code.
The problem here is that the "sys" symlink in the module build directory
(in this case, /root/openafs-1.4.0/src/libafs/MODLOAD-188.8.131.52-20a-smp-SP)
points somewhere useless. This is probably because the required kernel
source package is not installed.
-- Jeffrey T. Hutzelman (N3NHS) <email@example.com>
Sr. Research Systems Programmer
School of Computer Science - Research Computing Facility
Carnegie Mellon University - Pittsburgh, PA