No, that's the wrong change.. Just make the fix as I suggested in my previous
email.
-derek
Quoting Ron Croonenberg <[EMAIL PROTECTED]>:
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 <[EMAIL PROTECTED]> 10/10/05 1:45 PM >>>
Quoting Ron Croonenberg <[EMAIL PROTECTED]>:
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
[EMAIL PROTECTED] 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
[EMAIL PROTECTED] PGP key available
_______________________________________________
OpenAFS-info mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-info
--
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
[EMAIL PROTECTED] PGP key available
_______________________________________________
OpenAFS-info mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-info