From: SourceForge.net <no...@so...> - 2012-05-07 06:38:38
|
Tracker item #3523528, was opened at 2012-05-04 07:37 Message generated for change (Settings changed) made by nosebleedkt You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=989708&aid=3523528&group_id=204462 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None >Status: Closed Resolution: None Priority: 5 Private: No Submitted By: nosebleedkt (nosebleedkt) Assigned to: Nobody/Anonymous (nobody) Summary: modules won't compile Initial Comment: 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 ---------------------------------------------------------------------- Comment By: nosebleedkt (nosebleedkt) Date: 2012-05-06 23:38 Message: 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. ---------------------------------------------------------------------- Comment By: Dmitry Torokhov (dtor) Date: 2012-05-04 12:59 Message: Because having sources under /lib/modules/`uname -r`/build is the standard way of setting up the system. ---------------------------------------------------------------------- Comment By: nosebleedkt (nosebleedkt) Date: 2012-05-04 12:00 Message: 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. ---------------------------------------------------------------------- Comment By: Dmitry Torokhov (dtor) Date: 2012-05-04 11:32 Message: 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 ---------------------------------------------------------------------- Comment By: nosebleedkt (nosebleedkt) Date: 2012-05-04 10:57 Message: 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? ---------------------------------------------------------------------- Comment By: Dmitry Torokhov (dtor) Date: 2012-05-04 10:11 Message: You need an equivalent of kernel-devel package (at least that's what it is called in Fedora/RHEL). What distribution is this? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=989708&aid=3523528&group_id=204462 |