Well, it looks like the problem is specific to ia64 with 2.6 kernel.

The modversions.h in this configuration is located at:

[# > locate modversions.h
/usr/src/kernel-headers-2.6.8-3/include/config/modversions.h
/usr/src/kernel-headers-2.6.8-3-mckinley/include/config/modversions.h
/usr/src/kernel-source-2.6.8/include/config/modversions.h

Where as in the corresponding configuration file of the package
(src/config/param.ia64_linux26.h) it is uncommented the inclusion of the
modversions header.

[# > pwd
/usr/src/modules/openafs
[# > grep -r modversions.h . | grep ia64
./src/config/param.ia64_linux26.h:/* #include <config/modversions.h> */
./src/config/param.ia64_linux24.h:#include <linux/modversions.h>

I believe that since it is not explicitly defined, it uses the default value
for MODVERSIONS (linux/modversions.h) which is not correct. Thus, the
building stops.


I uncommented this line, made a dist clean and rebuild. Now it seems to
finish the compilation successfully. BUT, it fails to install :(

I get the following error. Any ideas?


---
make[5]: Entering directory `/usr/src/kernel-headers-2.6.8-3-mckinley'
echo 'char cml_version_number[]="@(#) OpenAFS 1.4.2 built ' `date
+"%Y-%m-%d"` '";' >/usr/src/modules/openafs/src/libafs/MODLOAD-
2.6.8-3-mckinley-SP/AFS_component_version_number.c
echo 'char* AFSVersion = "openafs 1.4.2"; '
/usr/src/modules/openafs/src/libafs/MODLOAD-2.6.8-3-mckinley-SP
/AFS_component_version_number.c
 CC [M]  /usr/src/modules/openafs/src/libafs/MODLOAD-2.6.8-3-mckinley-SP
/AFS_component_version_number.o
 LD [M]  /usr/src/modules/openafs/src/libafs/MODLOAD-2.6.8-3-mckinley-SP
/openafs.o
 Building modules, stage 2.
 MODPOST
 LD [M]  /usr/src/modules/openafs/src/libafs/MODLOAD-2.6.8-3-mckinley-SP
/openafs.ko
make[5]: Leaving directory `/usr/src/kernel-headers-2.6.8-3-mckinley'
/usr/src/modules/openafs/src/pinstall/pinstall -f
openafs.ko/usr/local/lib/openafs/openafs.ko
echo SP Install Complete
SP Install Complete
make[4]: Leaving directory `/usr/src/modules/openafs/src/libafs/MODLOAD-
2.6.8-3-mckinley-SP'
make[3]: Leaving directory `/usr/src/modules/openafs/src/libafs'
install -d -g root -o root -m 755 debian/openafs-modules-2.6.8-3-mckinley
/lib/modules/2.6.8-3-mckinley/fs
install -g root -o root -m 755 debian/tmp/lib/openafs/*o debian/openafs-
modules-2.6.8-3-mckinley/lib/modules/2.6.8-3-mckinley/fs/
install: cannot stat `debian/tmp/lib/openafs/*o': No such file or directory
make[2]: *** [install-modules] Error 1
make[2]: Leaving directory `/usr/src/modules/openafs'
make[1]: *** [kdist_image] Error 2
make[1]: Leaving directory `/usr/src/modules/openafs'
Module /usr/src/modules/openafs failed.
Hit return to Continue
---







On 2/21/07, Russ Allbery <[EMAIL PROTECTED]> wrote:

Ippokratis Pandis <[EMAIL PROTECTED]> writes:

> Thank you for your reply.

> I tried to use a version of openafs-modules-source package from
> backports.org but again the same problem (linux/modversions.h).

Well, I'm running the backports.org OpenAFS right now, I don't have a
linux/modversions.h header file, and it built fine for me, so I'm not sure
why it's not working for you.  I suppose it's distantly possible that
there's something specific to ia64 here, but it seems unlikely.

--
Russ Allbery ([EMAIL PROTECTED])               <http://www.eyrie.org/~eagle/>




--
-------------------------------------------------------
Ippokratis Pandis
Ph.D. candidate
Carnegie Mellon University
Phone: +1 412 877 5134
Email: [EMAIL PROTECTED]
http://www.cs.cmu.edu/~ipandis/
-------------------------------------------------------

Reply via email to