Ok run "strace" on make "cf_acc.mo" like this
It didn't compile but give a print out what was going on , the only this i could understand was
the "= -1 ENOENT (No such file or directory)" comes up a lot
here the output
Here it says it's open up the linux stuff but in the the ml compile file it says it's can't find "linux/types.h"
this is starting to drive my crazy
Edit:found out what "ENOENT" is from https://stackoverflow.com/questions/19902828/why-does-enoent-mean-no-such-file-or-directory
Code Select
ml@ml-pc:~/CF_Card-Over-Clocking_magic-lantern/modules/cf_acc$ strace make zip
It didn't compile but give a print out what was going on , the only this i could understand was
Code Select
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
the "= -1 ENOENT (No such file or directory)" comes up a lot
here the output
Code Select
ml@ml-pc:~/CF_Card-Over-Clocking_magic-lantern/modules/cf_acc$ strace make zip
execve("/usr/bin/make", ["make", "zip"], [/* 52 vars */]) = 0
brk(0) = 0xd72000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f79d839c000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=81835, ...}) = 0
mmap(NULL, 81835, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f79d8388000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\37\2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1845024, ...}) = 0
mmap(NULL, 3953344, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f79d7db6000
mprotect(0x7f79d7f71000, 2097152, PROT_NONE) = 0
mmap(0x7f79d8171000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1bb000) = 0x7f79d8171000
mmap(0x7f79d8177000, 17088, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f79d8177000
close(3) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f79d8387000
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f79d8385000
arch_prctl(ARCH_SET_FS, 0x7f79d8385740) = 0
mprotect(0x7f79d8171000, 16384, PROT_READ) = 0
mprotect(0x627000, 4096, PROT_READ) = 0
mprotect(0x7f79d839e000, 4096, PROT_READ) = 0
munmap(0x7f79d8388000, 81835) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
setrlimit(RLIMIT_STACK, {rlim_cur=RLIM64_INFINITY, rlim_max=RLIM64_INFINITY}) = 0
brk(0) = 0xd72000
brk(0xd93000) = 0xd93000
open("/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=10047008, ...}) = 0
mmap(NULL, 10047008, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f79d7421000
close(3) = 0
rt_sigaction(SIGHUP, {0x405aa0, [HUP], SA_RESTORER|SA_RESTART, 0x7f79d7decc30}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGQUIT, {0x405aa0, [QUIT], SA_RESTORER|SA_RESTART, 0x7f79d7decc30}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGINT, {0x405aa0, [INT], SA_RESTORER|SA_RESTART, 0x7f79d7decc30}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGTERM, {0x405aa0, [TERM], SA_RESTORER|SA_RESTART, 0x7f79d7decc30}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGXCPU, {0x405aa0, [XCPU], SA_RESTORER|SA_RESTART, 0x7f79d7decc30}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGXFSZ, {0x405aa0, [XFSZ], SA_RESTORER|SA_RESTART, 0x7f79d7decc30}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGCHLD, {SIG_DFL, [CHLD], SA_RESTORER|SA_RESTART, 0x7f79d7decc30}, {SIG_DFL, [], 0}, 8) = 0
getcwd("/home/ml/CF_Card-Over-Clocking_magic-lantern/modules/cf_acc", 4096) = 60
stat("/usr/include", {st_mode=S_IFDIR|0755, st_size=20480, ...}) = 0
stat("/usr/gnu/include", 0x7fffad4e6cd0) = -1 ENOENT (No such file or directory)
stat("/usr/local/include", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/usr/include", {st_mode=S_IFDIR|0755, st_size=20480, ...}) = 0
rt_sigaction(SIGCHLD, {0x40de00, [CHLD], SA_RESTORER|SA_RESTART, 0x7f79d7decc30}, {SIG_DFL, [CHLD], SA_RESTORER|SA_RESTART, 0x7f79d7decc30}, 8) = 0
rt_sigaction(SIGUSR1, {0x410540, [USR1], SA_RESTORER|SA_RESTART, 0x7f79d7decc30}, {SIG_DFL, [], 0}, 8) = 0
stat(".", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
openat(AT_FDCWD, ".", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3
getdents(3, /* 9 entries */, 32768) = 296
getdents(3, /* 0 entries */, 32768) = 0
close(3) = 0
open("Makefile", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=742, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f79d839b000
read(3, "\n# define the module name - make"..., 4096) = 742
open("../Makefile.modules", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=2739, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f79d839a000
read(4, " TOP_DIR?=../..\nML_SETUP_DISA"..., 4096) = 2739
open("../../Makefile.setup", O_RDONLY) = 5
fstat(5, {st_mode=S_IFREG|0644, st_size=2787, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f79d8399000
read(5, "# Generic makefile\n# Include def"..., 4096) = 2787
open("../../Makefile.top", O_RDONLY) = 6
fstat(6, {st_mode=S_IFREG|0644, st_size=1759, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f79d8398000
read(6, "MAKE=make\nRM=rm\nMV=mv\nMKDIR=mkdi"..., 4096) = 1759
read(6, "", 4096) = 0
close(6) = 0
munmap(0x7f79d8398000, 4096) = 0
open("../../Makefile.user.default", O_RDONLY) = 6
fstat(6, {st_mode=S_IFREG|0644, st_size=4099, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f79d8398000
read(6, "#User-defined values for ML buil"..., 4096) = 4096
pipe([7, 8]) = 0
vfork() = 3984
close(8) = 0
read(7, "Linux\n", 200) = 6
read(7, "", 194) = 0
close(7) = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 3984
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=3984, si_status=0, si_utime=0, si_stime=0} ---
rt_sigreturn() = 3984
pipe([7, 8]) = 0
vfork() = 3985
close(8) = 0
read(7, "", 200) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=3985, si_status=1, si_utime=0, si_stime=0} ---
rt_sigreturn() = 0
close(7) = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0, NULL) = 3985
pipe([7, 8]) = 0
vfork() = 3988
close(8) = 0
read(7, "2021Sep26\n", 200) = 10
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=3988, si_status=0, si_utime=0, si_stime=0} ---
rt_sigreturn() = 10
read(7, "", 190) = 0
close(7) = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 3988
read(6, " n\n", 4096) = 3
read(6, "", 4096) = 0
close(6) = 0
munmap(0x7f79d8398000, 4096) = 0
open("../../Makefile.user", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/include/../../Makefile.user", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/local/include/../../Makefile.user", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/include/../../Makefile.user", O_RDONLY) = -1 ENOENT (No such file or directory)
open("Makefile.setup.default", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/include/Makefile.setup.default", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/local/include/Makefile.setup.default", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/include/Makefile.setup.default", O_RDONLY) = -1 ENOENT (No such file or directory)
open("Makefile.setup.user", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/include/Makefile.setup.user", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/local/include/Makefile.setup.user", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/include/Makefile.setup.user", O_RDONLY) = -1 ENOENT (No such file or directory)
open("Makefile.modules.default", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/include/Makefile.modules.default", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/local/include/Makefile.modules.default", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/include/Makefile.modules.default", O_RDONLY) = -1 ENOENT (No such file or directory)
open("Makefile.modules.user", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/include/Makefile.modules.user", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/local/include/Makefile.modules.user", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/include/Makefile.modules.user", O_RDONLY) = -1 ENOENT (No such file or directory)
read(5, "", 4096) = 0
close(5) = 0
munmap(0x7f79d8399000, 4096) = 0
open("cf_acc.d", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/include/cf_acc.d", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/local/include/cf_acc.d", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/include/cf_acc.d", O_RDONLY) = -1 ENOENT (No such file or directory)
open("../../Makefile.filerules", O_RDONLY) = 5
fstat(5, {st_mode=S_IFREG|0644, st_size=1604, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f79d8399000
read(5, "\n#\n# generate dependencies\n#\nCOB"..., 4096) = 1604
read(5, "", 4096) = 0
close(5) = 0
munmap(0x7f79d8399000, 4096) = 0
pipe([5, 6]) = 0
vfork() = 3990
close(6) = 0
read(5, "hgid: 1af20c52fbe4", 200) = 18
read(5, "", 182) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=3990, si_status=0, si_utime=14, si_stime=1} ---
rt_sigreturn() = 0
close(5) = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 3990
read(4, "", 4096) = 0
close(4) = 0
munmap(0x7f79d839a000, 4096) = 0
read(3, "", 4096) = 0
close(3) = 0
munmap(0x7f79d839b000, 4096) = 0
brk(0xdb4000) = 0xdb4000
stat("/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
openat(AT_FDCWD, "/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3
stat("../../src", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
openat(AT_FDCWD, "../../src", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4
stat("RCS", 0x7fffad4e6c80) = -1 ENOENT (No such file or directory)
stat("SCCS", 0x7fffad4e6c80) = -1 ENOENT (No such file or directory)
stat("../../Makefile.filerules", {st_mode=S_IFREG|0644, st_size=1604, ...}) = 0
stat("cf_acc.d", 0x7fffad4e4c60) = -1 ENOENT (No such file or directory)
stat("Makefile.modules.user", 0x7fffad4e4c60) = -1 ENOENT (No such file or directory)
stat("Makefile.modules.default", 0x7fffad4e4c60) = -1 ENOENT (No such file or directory)
stat("Makefile.setup.user", 0x7fffad4e4c60) = -1 ENOENT (No such file or directory)
stat("Makefile.setup.default", 0x7fffad4e4c60) = -1 ENOENT (No such file or directory)
stat("../../Makefile.user", 0x7fffad4e4c60) = -1 ENOENT (No such file or directory)
stat("../../Makefile.user.default", {st_mode=S_IFREG|0644, st_size=4099, ...}) = 0
stat("../../Makefile.top", {st_mode=S_IFREG|0644, st_size=1759, ...}) = 0
stat("../../Makefile.setup", {st_mode=S_IFREG|0644, st_size=2787, ...}) = 0
stat("../Makefile.modules", {st_mode=S_IFREG|0644, st_size=2739, ...}) = 0
stat("Makefile", {st_mode=S_IFREG|0644, st_size=742, ...}) = 0
stat("../..", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
openat(AT_FDCWD, "../..", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 5
getdents(5, /* 31 entries */, 32768) = 976
getdents(5, /* 0 entries */, 32768) = 0
close(5) = 0
stat("../../RCS", 0x7fffad4e57b0) = -1 ENOENT (No such file or directory)
stat("../../SCCS", 0x7fffad4e57b0) = -1 ENOENT (No such file or directory)
stat("../../", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("../../../../src", 0x7fffad4e4360) = -1 ENOENT (No such file or directory)
stat("../../../../src/RCS", 0x7fffad4e2f00) = -1 ENOENT (No such file or directory)
stat("../../../../src/SCCS", 0x7fffad4e2f00) = -1 ENOENT (No such file or directory)
stat("../..//RCS", 0x7fffad4e2f10) = -1 ENOENT (No such file or directory)
stat("../..//SCCS", 0x7fffad4e2f10) = -1 ENOENT (No such file or directory)
getdents(3, /* 29 entries */, 32768) = 784
getdents(3, /* 0 entries */, 32768) = 0
close(3) = 0
getdents(4, /* 228 entries */, 32768) = 7696
getdents(4, /* 0 entries */, 32768) = 0
close(4) = 0
stat("/RCS", 0x7fffad4e2f40) = -1 ENOENT (No such file or directory)
stat("/SCCS", 0x7fffad4e2f40) = -1 ENOENT (No such file or directory)
stat("../../src/RCS", 0x7fffad4e2f40) = -1 ENOENT (No such file or directory)
stat("../../src/SCCS", 0x7fffad4e2f40) = -1 ENOENT (No such file or directory)
stat("..", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
openat(AT_FDCWD, "..", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3
getdents(3, /* 54 entries */, 32768) = 1776
getdents(3, /* 0 entries */, 32768) = 0
close(3) = 0
stat("../RCS", 0x7fffad4e57c0) = -1 ENOENT (No such file or directory)
stat("../SCCS", 0x7fffad4e57c0) = -1 ENOENT (No such file or directory)
stat("../", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("../../../src", 0x7fffad4e4370) = -1 ENOENT (No such file or directory)
stat("../../../src/RCS", 0x7fffad4e2f20) = -1 ENOENT (No such file or directory)
stat("../../../src/SCCS", 0x7fffad4e2f10) = -1 ENOENT (No such file or directory)
stat("..//RCS", 0x7fffad4e2f20) = -1 ENOENT (No such file or directory)
stat("..//SCCS", 0x7fffad4e2f20) = -1 ENOENT (No such file or directory)
stat("zip", 0x7fffad4e4b70) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/locale.alias", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=2570, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f79d839b000
read(3, "# Locale name alias data base.\n#"..., 4096) = 2570
read(3, "", 4096) = 0
close(3) = 0
munmap(0x7f79d839b000, 4096) = 0
open("/usr/share/locale/en_US/LC_MESSAGES/make.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en/LC_MESSAGES/make.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale-langpack/en_US/LC_MESSAGES/make.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale-langpack/en/LC_MESSAGES/make.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
write(2, "make: *** ", 10make: *** ) = 10
write(2, "No rule to make target `zip'", 28No rule to make target `zip') = 28
write(2, ". Stop.\n", 9. Stop.
) = 9
chdir("/home/ml/CF_Card-Over-Clocking_magic-lantern/modules/cf_acc") = 0
close(1) = 0
exit_group(2) = ?
+++ exited with 2 +++
ml@ml-pc:~/CF_Card-Over-Clocking_magic-lantern/modules/cf_acc$
Here it says it's open up the linux stuff but in the the ml compile file it says it's can't find "linux/types.h"
Code Select
open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
this is starting to drive my crazy
Edit:found out what "ENOENT" is from https://stackoverflow.com/questions/19902828/why-does-enoent-mean-no-such-file-or-directory
QuoteIt's an abbreviation of Error NO ENTry (or Error NO ENTity)so back to linux/types.h not being where it should be .