#5 Error making cvsfs out of the box

closed
Petric
None
5
2002-07-05
2002-06-10
Anonymous
No

Hi guys,

I unpacked, ./configure and then ran make, and got this:

[root@h10 cvsfs-1.0.9]# make
Making all in cvsfs
make[1]: Entering directory `/usr/src/cvsfs-1.0.9/cvsfs'
gcc -DMODULE -D__KERNEL__ -DLINUX -
I/lib/modules/2.4.7-10/build/include -O3 -Wall -fomit-
frame-pointer -c cvsfs_init.c
In file included from cvsfs_config.h:28,
from cvsfs_init.c:18:
/usr/include/linux/modversions.h:1:2: #error Modules
should never use kernel-headers system headers,
/usr/include/linux/modversions.h:2:2: #error but rather
headers from an appropriate kernel-source package.
/usr/include/linux/modversions.h:3:2: #error Change -
I/usr/src/linux/include (or similar) to
/usr/include/linux/modversions.h:4:2: #error -
I/lib/modules/$(uname -r)/build/include
/usr/include/linux/modversions.h:5:2: #error to build
against the currently-running kernel.
make[1]: *** [cvsfs_init.o] Error 1
make[1]: Leaving directory `/usr/src/cvsfs-1.0.9/cvsfs'
make: *** [all-recursive] Error 1

(Paste in a wide editor to read the commend
comfortably).

Thanks,

Skaag

Discussion

  • Petric

    Petric - 2002-06-17

    Logged In: YES
    user_id=194627

    Can you tell a litte bit more about your envirinment
    (Distribution, Kernel Version, etc.) ?

    regards
    Petric

     
  • Petric

    Petric - 2002-06-17
    • assigned_to: nobody --> petric
     
  • Skaag Argonius

    Skaag Argonius - 2002-06-19

    Logged In: YES
    user_id=244931

    uname -a:

    Linux h10.skaag.com 2.4.7-10 #1 Thu Sep 6 17:27:27 EDT
    2001 i686 unknown

    more:

    This is a RedHat 7.2 basic server installation. No
    modifications were done to the libraries that were installed
    originally. This is a vanilla installation.

    Please let me know if you wish to have access to the
    machine to try and compile it yourself.

    Kind regards,

    Skaag

     
  • Petric

    Petric - 2002-06-19

    Logged In: YES
    user_id=194627

    Do you have the kernel source installed ?

    To check this:
    /lib/modules/2.4.7-10/build is a symlink to (in my case)
    /usr/src/linux-2.4.7-10.
    This directory (/usr/src/linux-2.4.7-10) must exist and
    filled.

    If not then you have to install the kernel source.

    regards
    Petric

     
  • Petric

    Petric - 2002-07-05

    Logged In: YES
    user_id=194627

    No response - problem seems to be solved.

    Ticket closed.

     
  • Petric

    Petric - 2002-07-05
    • status: open --> closed
     

Log in to post a comment.