Hi

I downloaded the daily OpenAFS snapshot yesterday and attempted to build it
on CentOS 5.4 Enterprise and ran into the following problem when trying to
build the kernel mod libafs:

to locate where the kernel header files are

# find / -name version.h
/usr/include/libgtop-2.0/glibtop/version.h
/usr/include/xmlsec1/xmlsec/version.h
/usr/include/linux/dvb/version.h
/usr/include/linux/version.h    <<------- Here
/usr/include/xulrunner-sdk-1.9/system_wrappers/linux/version.h
/usr/include/alsa/version.h

here is what the file has:

# cat /usr/include/linux/version.h
#define LINUX_VERSION_CODE 132626
#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
#define RHEL_MAJOR 5
#define RHEL_MINOR 4
#define RHEL_RELEASE_CODE 1284
#define RHEL_RELEASE_VERSION(a,b) (((a) << 8) + (b))


So, per the README, I used the following configure arguments

# ./configure --with-afs-sysname=i386_linux24
--with-linux-kernel-headers=/usr
.
<snipped>
.
checking your OS... configure: error: Linux headers lack version definition

what am I doing wrong?

Thanks!!

Reply via email to