enable_arm_pmu icon indicating copy to clipboard operation
enable_arm_pmu copied to clipboard

Compilation error : Syntax error

Open LucasMahieu opened this issue 8 years ago • 3 comments

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 avatar Jun 21 '16 14:06 LucasMahieu

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 avatar Jun 29 '16 09:06 LucasMahieu

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

LucasMahieu avatar Jun 29 '16 09:06 LucasMahieu

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.

zhiyisun avatar Jul 05 '16 22:07 zhiyisun