If you open Synaptic and check the version of linux-image-5.6.0-2-amd64 you'll see that it is 5.6.14-2~mx19+1 , matching the linux-source-5.6 version 5.6.14-2~mx19+1
You're correct, I looked it up in Synaptic. Thanks timkb4cq.
Well, I could somewhat but it would be pointless now that I've realized your driver needs to built in the Linux Source folder instead of the headers folder.
Once you have installed the linux-source package, you will need to open a root terminal in /usr/src/ and extract the source
Code: Select all
tar -xf linux-source-5.6.tar.xz
You will now have a /usr/src/linux-5.6 folder that has the missing scripts/basic/Makefile and scripts/mkmakefile and likely others you have been missing.
Did what you said but the expected missing script you gave me earlier in /scripts/mkmakefile still wasn't to be found inside the new uncrompressed /usr/src/linux-source-5.6/.
proof:
Code: Select all
root@mx19:/usr/src/linux-source-5.6/fcpci-4.4.0/src# find / -name mkmakefile
find: ‘/proc/61079/task/61079/net’: Invalid argument
find: ‘/proc/61079/net’: Invalid argument
find: ‘/proc/103030/task/103030/net’: Invalid argument
find: ‘/proc/103030/net’: Invalid argument
find: ‘/run/user/1000/gvfs’: Permission denied
/usr/lib/linux-kbuild-5.6/scripts/mkmakefile
find: File system loop detected; ‘/live/aufs’ is part of the same file system loop as ‘/’.
/live/aufs-ram/upper/usr/lib/linux-kbuild-5.6/scripts/mkmakefile
I put it there manually again.
Is it because it's in testing phase? Or just new different Kernel layout?
So I took a look at /usr/lib/linux-kbuild-5.6/scripts/mkmakefile content. It's identical with yours from github.
So I know from readme the intendet module fcpci-4.4.0 was build for Kernel 4.4 and above, yet untested.
I still don't understand the output of /usr/src/linux-headers-5.6.0-2-common/Makefile.
Nonetheless I tried to find the missing auto.conf.cmd file in /usr/src/linux-source-5.6/.
Code: Select all
root@mx19:/usr/src/linux-source-5.6/fcpci-4.4.0/src# find / -name auto.conf.cmd
find: ‘/proc/61079/task/61079/net’: Invalid argument
find: ‘/proc/61079/net’: Invalid argument
find: ‘/proc/103030/task/103030/net’: Invalid argument
find: ‘/proc/103030/net’: Invalid argument
find: ‘/run/user/1000/gvfs’: Permission denied
find: File system loop detected; ‘/live/aufs’ is part of the same file system loop as ‘/’.
root@mx19:/usr/src/linux-source-5.6/fcpci-4.4.0/src#
No file auto.conf.cmd. :confused:
Just logically it doesn't make sense to me tim...
Code: Select all
/usr/src/linux-headers-5.6.0-2-common/scripts/Makefile.build:44: /usr/src/linux-headers-5.6.0-2-common/scripts/basic/Makefile: No such file or directory
Why is it looking for a Makefile, possibly the exact same

, in /linux-headers-5.6.0-2-common/scripts/basic/Makefile when it's spawned from the exact file it 's looking for to begin with?, in a different place in /usr/src/linux-headers-5.6.0-2-common/scripts/basic/Makefile
Should I just make a clone and copy it there where it needs them?
Should I look at earlier kernel versions linux-image-5X or 4X and reproduce this file auto.conf.cmd on my running Kernel?
Here are the contents of the fcpci-4.4.0 external module source and it feels like as though I'm illiterate (in C)
Code: Select all
root@mx19:/usr/src/linux-source-5.6/fcpci-4.4.0# ls -l
total 12
-rw-r--r-- 1 root root 195 Jan 23 2016 dkms.conf
-rw-r--r-- 1 root root 119 Feb 27 2014 INSTALL
-rw-r--r-- 1 root root 3948 Jan 23 2016 liesmich.txt
drwxr-xr-x 2 root root 500 Oct 21 20:57 src
root@mx19:/usr/src/linux-source-5.6/fcpci-4.4.0# cd src
root@mx19:/usr/src/linux-source-5.6/fcpci-4.4.0/src# ls -l
total 1008
-rwxr--r-- 1 root root 823752 May 20 2008 64_fcpci-lib.o
-rwxr--r-- 1 root root 1549 Apr 28 2008 attr.h
-rwxr--r-- 1 root root 2895 Apr 28 2008 defs.h
-rwxr--r-- 1 root root 27133 Jan 19 2016 driver.c
-rwxr--r-- 1 root root 3663 Nov 3 2010 driver.h
-rwxr--r-- 1 root root 16500 Apr 28 2008 fcpcmcia_cs.c
-rwxr--r-- 1 root root 2698 Apr 28 2008 io.c
-rwxr--r-- 1 root root 21450 Apr 28 2008 lib.c
-rwxr--r-- 1 root root 7179 Apr 28 2008 libdefs.h
-rwxr--r-- 1 root root 2744 Apr 28 2008 lib.h
-rwxr--r-- 1 root root 1304 Apr 28 2008 libstub.h
-rwxr--r-- 1 root root 1516 Apr 28 2008 lock.h
-rwxr--r-- 1 root root 12176 Jan 19 2016 main.c
-rwxr--r-- 1 root root 1689 Apr 28 2008 main.h
-rwxr--r-- 1 root root 1323 Nov 7 2010 Makefile
-rwxr--r-- 1 root root 35 Nov 7 2010 modules.order
-rwxr--r-- 1 root root 0 Apr 28 2008 Module.symvers
-rwxr--r-- 1 root root 7081 Apr 28 2008 queue.c
-rwxr--r-- 1 root root 2869 Apr 28 2008 queue.h
-rwxr--r-- 1 root root 18085 Apr 28 2008 tables.c
-rwxr--r-- 1 root root 3715 Apr 28 2008 tables.h
-rwxr--r-- 1 root root 21752 Dec 12 2011 tools.c
-rwxr--r-- 1 root root 6600 Jul 21 2010 tools.h
If the /usr/src/linux-headers-5.6.0-2-common/Makefile:677 errors aren't resolved yet, does it make any sense to start building this module again?
Where to start bulding the module?
Can this Makefile error situation be consired a "prepared" environment for building?
Thank you for your Linux instructions, it's totally fine if you take your time to answer, I gladly wait for your response to learn Linux.
I keep reading in the meantime, I consider going back to older driver and Kernel and to attempt it there. Maybe the other 4.19 Kernel HAS all those missing files?