[OpenAFS] Installing 1.4.0.rc6 version of OpenAFS

Ron Croonenberg ronc@depauw.edu
Mon, 10 Oct 2005 14:30:24 -0500


Hi Derek,

I changed this in the spec file,  it works. (even though not correct way
to do it probably)

# This is where to look for kernel build include files.  Default
# is /lib/modules/<kvers>/build, but you can define kbase and
# kend on the commandline to change that.
#
%if %{?kbase:0}%{!?kbase:1}
#%define kbase /lib/modules/
%define kbase /usr/src/linux-
%endif
%if %{?kend:0}%{!?kend:1}
#%define kend /build
%define kend "smp"
%endif

I changed the kbase to /usr/src/linux-
and kend to "smp"

thanks,

Ron


>>> Derek Atkins <warlord@MIT.EDU> 10/10/05 1:45 PM >>>
Quoting Ron Croonenberg <ronc@depauw.edu>:

>> That's... ODD.  What do you see under:
>
>>   /lib/modules/2.4.22-1.2199.nptl_afs_ssi_9/build
>
> lrwxrwxrwx  1 root root     26 Oct  6 11:23 build ->
> /opt/OpenSSI/CVS/linux-ssi
> [root@oort 2.4.22-1.2199.nptl_afs_ssi_9smp]# ls build
> arch           drivers  MAINTAINERS                   Rules.make
> cluster        fs       Makefile                      scripts
> configs        include  Makefile.org                  System.map
> COPYING        init     mm
> tmp_include_depends
> CREDITS        ipc      net                           vmlinux
> crypto         kdb      OpenAFS-OpenSSI-kernel.patch
> CVS            kernel   README
> Documentation  lib      REPORTING-BUGS

Wait...  Where's this 2.4.22-1.2199.nptl_afs_ssi_9smp coming from?

Can you send me the output of:

ls -l /lib/modules/
ls -l /lib/modules/2.4.22-1.2199.nptl_afs_ssi_9
ls -l /lib/modules/2.4.22-1.2199.nptl_afs_ssi_9smp

[snip]
> yes I can do that ...
>
--with-linux-kernel-headers=/lib/modules/2.4.22-1.2199.nptl_afs_ssi_9/build
>
> and, btw using this option instead works :
> --with-linux-kernel-headers=/usr/src/linux-2.4.22-1.2199.nptl_ssi_9
> (./configure --with-afs-sysname=i386_linux24 --prefix=/usr
> --libdir=/usr/lib --bindir=/usr/bin --sbindir=/usr/sbin
> --with-linux-kernel-headers=/usr/src/linux-2.4.22-1.2199.nptl_ssi_9
> --enable-redhat-buildsys --enable-transarc-paths)

So it looks like /lib/modules isn't pointing to the proper 'build' 
directory.. You aren't getting the right kernel header sources.  This 
is a bug in your
install, IMHO.

-derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord@MIT.EDU                        PGP key available

_______________________________________________
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info