SCIENTIFIC-LINUX-USERS Archives

February 2014

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Reply To:
Date:
Thu, 27 Feb 2014 22:37:47 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (58 lines)
Because it's not in "/usr/include/linux/autoconf.h". Somehow you and I need
to learn how to convince the compiler that it should look in the "/usr/src"
hierarchy to find the includes rather than the standard "/usr/include"
hierarchy. Frustrating, isn't it?

{^_^}   Joanne

On 2014/02/27 21:13, Mahmood Naderan wrote:
> Hi
> I am trying to install Virtualbox 4.3.8 on my SL6.3. The installation seems to be OK
>
> |# rpm -ivh VirtualBox-4.3-4.3.8_92456_el6-1.x86_64.rpm
> warning: VirtualBox-4.3-4.3.8_92456_el6-1.x86_64.rpm: Header V4 DSA/SHA1
> Signature, key ID 98ab5139: NOKEY
> Preparing...                ########################################### [100%]
>     1:VirtualBox-4.3         ########################################### [100%]
>
> Creating group 'vboxusers'. VM users must be member of that group!
>
> No precompiled module for this kernel found -- trying to build one. Messages
> emitted during module compilation will be logged to /var/log/vbox-install.log.
>
> Stopping VirtualBox kernel modules [ OK  ]
> Recompiling VirtualBox kernel modules [  OK  ]
> Starting VirtualBox kernel modules [  OK  ]|
>
> However the log file at /var/log contains multiple messages like this
>
>     |ld -r -m elf_x86_64 -T
>     /usr/src/kernels/2.6.32-279.5.1.el6.x86_64/scripts/module-common.lds
>     --build-id -o /tmp/vbox.0/vboxnetadp.ko /tmp/vbox.0/vboxnetadp.o
>     /tmp/vbox.0/vboxnetadp.mod.o
>     make KBUILD_VERBOSE=1 SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0
>     CONFIG_MODULE_SIG= -C /lib/modules/2.6.32-279.5.1.el6.x86_64/build modules
>     test -e include/linux/autoconf.h -a -e include/config/auto.conf || (      \
>         echo;                        \
>         echo "  ERROR: Kernel configuration is invalid.";      \
>         echo "         include/linux/autoconf.h or include/config/auto.conf are
>     missing.";   \
>         echo "         Run 'make oldconfig && make prepare' on kernel src to fix
>     it.";   \
>         echo;                        \
>         /bin/false)
>     mkdir -p /tmp/vbox.0/.tmp_versions ; rm -f /tmp/vbox.0/.tmp_versions/*|
>
>
>
> Actually the autoconf.h file exists in the source path
>
> |# find /usr/ -name autoconf.h
> /usr/src/kernels/2.6.32-279.5.1.el6.x86_64/include/linux/autoconf.h
>
> |So why should I receive such messages
>
>
> Regards,
> Mahmood

ATOM RSS1 RSS2