1 Reply Latest reply on May 22, 2013 11:10 AM by pe2000

    How do I get kernel module compiled on Ubuntu x64 12.04.2 LTS?

      We are having major issue getting the on access module for vseforlinux 1.9 compiled under Ubuntu Server x64 12.04.2 LTS VM, with the latest kernel (3.5.0-30-generic) . VMware tools have compiled and installed fine.

       

      Its is a clean build with the 12.04.2 LTS 64 Bit Server media, I have installed all the 32 Bit libraries , all the kernel headers and done the pam32libs. But still no joy.

       

      root@host:~/LYNXSHLD1700/Install/0409# bash ./McAfeeVSEForLinux-1.9.0.28822-installer

      ./eval-license.txt: No such file or directory

       

      Enter accept or reject: accept

       

       

      This is the McAfeeVSEForLinux installer.  To accept the default answer

      for any question, simply press the ENTER key

       

      Enter the name of a Linux group for McAfeeVSEForLinux administration. [nailsgroup]

      Enter the name of a Linux user for McAfeeVSEForLinux administration. [nails]

      Enter new UNIX password:

      Retype new UNIX password:

      passwd: password updated successfully

      Enter your chosen installation directory for McAfeeVSEForLinux: [/opt/NAI/LinuxShield]

      Enter your chosen runtime directory for McAfeeVSEForLinux: [/var/opt/NAI/LinuxShield]

      Enter the path where the quarantine directory should be created: [/quarantine]

      Enter the email address of the McAfeeVSEForLinux administrator: xx

      Enter the address for the SMTP host: [xx] xx

      Enter the TCP/IP port number for the SMTP host: [25]

      Enter the IP address on which the McAfeeVSEForLinux web server listens: xx

      Enter the TCP/IP port number on which the McAfeeVSEForLinux monitor service listens: [65443]

      Enter the TCP/IP port number on which the web server listens: [55443]

      Extracting package files

      ................................................................................ ..............................................

      Selecting previously unselected package mcafeevseforlinux.

      (Reading database ... 107877 files and directories currently installed.)

      Unpacking mcafeevseforlinux (from .../McAfeeVSEForLinux-1.9.0.28822.noarch.deb) ...

      Setting up mcafeevseforlinux (1.9.0.28822) ...

      Would you like to start the McAfeeVSEForLinux services? [y]

      Attempting to compile VSEL modules for the current kernel

      Compilation of VSEL modules failed

      : Warning - kernel module /lib/modules/3.5.0-30-generic/nai/lshook.o does not exist

       

      McAfeeVSEForLinux cannot start on-access detection because a kernel module is not currently available for the kernel version that you are running.

       

      To obtain or create a kernel module, please refer to the installation guide.

       

      McAfeeVSEForLinux can still function without the kernel module, but on-access detection of viruses is disabled.

       

      : Warning - kernel module /lib/modules/3.5.0-30-generic/nai/linuxshield.o does not exist

      starting the McAfeeVSEForLinux daemon...

      started pid: 12844

      starting the McAfeeVSEForLinux monitor gateway...

      started pid: 12854

      /opt/NAI/LinuxShield/apache/bin/apachectl startssl: nailswebd started

       

      Checking for 32 bit Pam libraries reusability

      /opt/NAI/LinuxShield/apache/bin/apachectl stop: nailswebd stopped

      stopping the McAfeeVSEForLinux monitor process 12854

      stopped

      stopping the McAfeeVSEForLinux daemon process 12844

      waiting for 2 seconds for McAfeeVSEForLinux to stop

      stopped

      Attempting to compile VSEL modules for the current kernel

      Compilation of VSEL modules failed

      : Warning - kernel module /lib/modules/3.5.0-30-generic/nai/lshook.o does not exist

       

      McAfeeVSEForLinux cannot start on-access detection because a kernel module is not currently available for the kernel version that you are running.

       

      To obtain or create a kernel module, please refer to the installation guide.

       

      McAfeeVSEForLinux can still function without the kernel module, but on-access detection of viruses is disabled.

       

      : Warning - kernel module /lib/modules/3.5.0-30-generic/nai/linuxshield.o does not exist

      starting the McAfeeVSEForLinux daemon...

      started pid: 13301

      starting the McAfeeVSEForLinux monitor gateway...

      started pid: 13311

      /opt/NAI/LinuxShield/apache/bin/apachectl startssl: nailswebd started

      Ubuntu x86_64 config changes has been done successfully.

       

      Installation to /opt/NAI/LinuxShield complete.

      To connect to the McAfeeVSEForLinux web monitor, browse to https://xx:55443

      logon as the Linux user 'nails' and supply the password entered during installation.

       

       

      The log file shows the following:

       

      Tue May 21 10:15:38 BST 2013

      OSVER=Ubuntu_12.04

      KERNELSTEM=Ubuntu_12.04_

      KERNEL_HEADER_DIR=/usr/src/linux-headers-3.5.0-30-generic/

      KERNEL_HEADER_LOCATION=

      Linux host 3.5.0-30-generic #51~precise1-Ubuntu SMP Wed May 15 08:48:19 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

      MAKE=/usr/bin/make

      GNU Make 3.81

      Copyright (C) 2006  Free Software Foundation, Inc.

      This is free software; see the source for copying conditions.

      There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A

      PARTICULAR PURPOSE.

       

      This program built for x86_64-pc-linux-gnu

      GCC=/usr/bin/gcc

      Using built-in specs.

      COLLECT_GCC=/usr/bin/gcc

      COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.6/lto-wrapper

      Target: x86_64-linux-gnu

      Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.6.3-1ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu

      Thread model: posix

      gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)

      make: Entering directory `/usr/src/linux-headers-3.5.0-30-generic'

        LD      /var/opt/NAI/LinuxShield/log/5852/src/built-in.o

        CC [M]  /var/opt/NAI/LinuxShield/log/5852/src/ls.o

        CC [M]  /var/opt/NAI/LinuxShield/log/5852/src/procfs.o

        CC [M]  /var/opt/NAI/LinuxShield/log/5852/src/fsUtils.o

      /var/opt/NAI/LinuxShield/log/5852/src/fsUtils.c:20:25: fatal error: ../fs/mount.h: No such file or directory

      compilation terminated.

      make[1]: *** [/var/opt/NAI/LinuxShield/log/5852/src/fsUtils.o] Error 1

      make: *** [_module_/var/opt/NAI/LinuxShield/log/5852/src] Error 2

      make: Leaving directory `/usr/src/linux-headers-3.5.0-30-generic'

       

       

      Any ideas what I am missing?