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

Compilation error : Syntax error #4

Open
LucasMahieu opened this issue Jun 21, 2016 · 3 comments
Open

Compilation error : Syntax error #4

LucasMahieu opened this issue Jun 21, 2016 · 3 comments

Comments

@LucasMahieu
Copy link

Hey,

I try to test this on ARM A9,
I tried ' sudo make runtests' and i have this error :

scripts/basic/fixdep: 1: scripts/basic/fixdep: Syntax error: end of file unexpected (expected ")")

Do you know what can be the cause ?

@LucasMahieu
Copy link
Author

this kind of problem can be solved by doing :
cd /usr/linux
sudo make modules_prepare
make module_install

A had this error too and this solved it:
scripts/mod/modpost: 1: scripts/mod/modpost: ��: not found

@LucasMahieu
Copy link
Author

I also had tis error :
make: *** /lib/modules/3.14.28/build: No such file or directory

In order to go trough, i did :
ln -s /usr/src/linux /lib/modules/3.14.28/build
where /usr/src/linux is a symbolic link to my linux kernel sources that I compiled myself

@zhiyisun
Copy link

zhiyisun commented Jul 5, 2016

If you are using a Linux distribution, like Ubuntu, CentOS, when you install Kernel header files, it will link /usr/src/linux to /lib/module/{uname -a}/build automatically. If you are using a customised Linux, you may need to do it by yourself. Because some userspace tools (and third party driver installers) can access the source for the running kernel.

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

3 participants
@zhiyisun @LucasMahieu and others