Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

using mvas-linux kernel still didn't work #5

Closed
wxggg opened this issue Sep 11, 2018 · 1 comment
Closed

using mvas-linux kernel still didn't work #5

wxggg opened this issue Sep 11, 2018 · 1 comment

Comments

@wxggg
Copy link

wxggg commented Sep 11, 2018

Hello Smejkal, thanks very much for your reply and your work. I have tried what you mentioned about the MVAS-linux kernel, here's what i have done since then, but still got errors.

  1. At first I compile the libmvas project directly, but it have fatal error: linux/vas.h No such file or directory error, now I know I need to compile and install the mvas-linux kernel

  2. I have tried several kinds of mvas-linux kernel, but things didn’t get better
    https://github.com/ranjansv/MVAS-CP-Linux-kernel
    https://github.com/l3nkz/linux/tree/mvas
    https://github.com/l3nkz/linux/tree/mvas-cp
    I tried command ‘ find / -name vas.h’ , but can not find it in the system include dir /usr/include or /usr/local/include

  3. Then I tried to copy the needed headers from the Linux project, for example ‘cp -r ./include /usr/local’, but there’s more and more errors

  4. The steps I do to compile mvas-cp kernel
     Git clone your Linux repositiory
     Git checkout -b mvas-cp origin/mvas-cp
     Copy my Linux config file to the current path, cp /boot/config-(uname -r)… .config
     Make oldconfig, and now there’re many choices to make, all things about VAS I chose y
     Make -j6
     Make modules_install
     Make install

  5. I do all these things on my virtualbox virtual machine
    Ubuntu 16.04
    Kernel: Linux-4.10.0.28

I don’t know if there’s any wrong operation upwards, I am wondering if there’s something wrong when I compile the kernel so that the header vas.h is not installed to the system path.

Appreciate your response!!! Thanks very much !!!

@l3nkz
Copy link
Owner

l3nkz commented Oct 26, 2018

Hi,

sorry for the delayed response. I was very busy with other topics in the last weeks and months.

You forgot one very important step. Namely to install the kernel headers (make headers_install). They are necessary to have the headers available for compiling libmvas.

Regards

@l3nkz l3nkz closed this as completed Oct 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants