#129 modules won't compile

closed
nobody
None
5
2012-05-07
2012-05-04
No

linux:~/open-vm-tools-8.8.2-590212# ./configure \ --without-icu \
--without-dnet \ --without-x\ --without-gtkmm\ --without-gtk2\ --disable-docs\ --disable-unity \ --disable-tests \ --without-pam \ --with-linuxdir=/lib/modules/2.6.35.14/ \ --prefix=/usr \ LIBS="-ltirpc" \ CFLAGS="-Wno-implicit-function-declaration"

Everything OK.

linux:~/open-vm-tools-8.8.2-590212# make
make[1]: Entering directory `/root/open-vm-tools-8.8.2-590212/modules'
make VM_UNAME=2.6.35.14 MV=mv RM=rm \ OVT_SOURCE_DIR=/root/open-vm-tools-8.8.2-590212 \ MODULEBUILDDIR=/root/open-vm-tools-8.8.2-590212/modules/linux \ -C "/root/open-vm-tools-8.8.2-590212/modules/linux/vmsync"
Using standalone build system.
make[2]: Entering directory `/root/open-vm-tools-8.8.2-590212/modules/linux/vmsync'
Makefile:163: Makefile.normal: No such file or directory
make[2]: *** No rule to make target `Makefile.normal'. Stop.
make[2]: Leaving directory `/root/open-vm-tools-8.8.2-590212/modules/linux/vmsync'
make[1]: *** [vmsync] Error 2

Why I can't have the modules build?

/lib/modules/2.6.35.14/ contains linux headers.
Also there is no Makefile.normal under vmsync/. Only Makefile & Makefile.kernel

Discussion

  • Dmitry Torokhov

    Dmitry Torokhov - 2012-05-04

    You need an equivalent of kernel-devel package (at least that's what it is called in Fedora/RHEL). What distribution is this?

     
  • Anonymous

    Anonymous - 2012-05-04

    It's an LFS based distribution.
    I have full kernel source under /usr/src/linux-2.6.35.14 and its headers under /lib/modules/2.6.35.14/
    Can you be more specific about that kernel-dev package?

     
  • Dmitry Torokhov

    Dmitry Torokhov - 2012-05-04

    kernel-devel contains full kernel sources.

    Do yo have a link similar to:

    [dtor@dtor-d630 ~]$ ls -la /lib/modules/3.3.4-1.fc16.x86_64/build
    lrwxrwxrwx. 1 root root 36 May 3 11:52 /lib/modules/3.3.4-1.fc16.x86_64/build -> /usr/src/kernels/3.3.4-1.fc16.x86_64

     
  • Anonymous

    Anonymous - 2012-05-04

    No, I don't. I will try that on Monday as my stuff are at work.
    Btw, why not make the sources compile just under /usr/src/linux ?
    Everything is just in there. There is no reason for links and strange paths...

    Thanks for your time.

     
  • Dmitry Torokhov

    Dmitry Torokhov - 2012-05-04

    Because having sources under /lib/modules/`uname -r`/build is the standard way of setting up the system.

     
  • Anonymous

    Anonymous - 2012-05-07

    Hello dtor!
    The link did the job. Everything compiles now.
    It would be good if you write in the INSTALL file that this link is required.
    Issue closed.

     
  • Anonymous

    Anonymous - 2012-05-07
    • status: open --> closed
     

Log in to post a comment.