which is the analog to /boot/symvers-<version> for ubuntu?

Asked by Guillermo Ortiz

Hello Forumanswer

Somebody knows about this issue trying to install National Instruments
drivers in Ubuntu?

 During installation I get a message similar to the following one:
    "Kernel source does not appear to be configured for the running kernel.
     Configuration of kernel source is required to continue installation."
    I do have kernel sources installed; is there anything else that needs to
    be done?

with the following answwer:

This problem can occur even if you have installed the correct kernel sources,
    if the sources require configuration. This problem has been seen on openSUSE.
    However, it is possible that other distributions will require similar steps
    to resolve this problem.

    1. Ensure you have installed kernel-source and kernel-syms packages
       corresponding to the version of the currently running kernel. The version
       of the currently running kernel can be determined by issuing the command
       `uname -r`.
    2. Change the directory to the /usr/src/linux-<version> directory, where
       <version> corresponds to the currently running kernel version.
    3. Run "zcat /boot/symvers-<version>.gz > Module.symvers" as root to prepare
       modversion support.
    4. Run "make cloneconfig" as root to configure the sources for the
       currently running kernel.
    5. Run "make modules_prepare" as root to prepare the headers for
       compilation.
    6. THIS STEP IS STRICTLY OPTIONAL. Completing this step removes the
       warning:
       WARNING: Symbol version dump /usr/src/linux/Module.symvers is missing,
                modules will have CONFIG_MODVERSIONS disabled.
       Run "make modules" as root to compile all modules and generate
       Module.symvers; this step may take 30 minutes or more to complete.
    7. Run the INSTALL script for the NI-VISA software for Linux from this
       directory.

But, syms package seems not to be part of Ubuntu distribution, is not it?

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

sudo apt-get install linux-kernel-devel

Will give the kernel source code, may help

Revision history for this message
Guillermo Ortiz (guillepo) said :
#2

mhhhh, something maybe wrong with my installer
Your suggestion about:

sudo apt-get install linux-kernel-devel

did not work, output say me that it is unable to locate such package

Regards

________________________________
From: actionparsnip <email address hidden>
To: <email address hidden>
Sent: Sunday, September 4, 2011 7:25 AM
Subject: Re: [Question #170066]: which is with the analog to /boot/symvers-<version> for ubuntu?

Your question #170066 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/170066

    Status: Open => Answered

actionparsnip proposed the following answer:
sudo apt-get install linux-kernel-devel

Will give the kernel source code, may help

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/ubuntu/+question/170066/+confirm?answer_id=0

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/ubuntu/+question/170066

You received this question notification because you asked the question.

Revision history for this message
Launchpad Janitor (janitor) said :
#3

This question was expired because it remained in the 'Open' state without activity for the last 15 days.