Problem with SARPI Kernel Headers
by vovim from LinuxQuestions.org on (#5DNSC)
Hi, I have been trying to compile the Icecat slackbuild and have run into a problem.
The header file asm/errno.h is not found.
I have looked at the SARPI4 Kernel headers and there seems to be an error in the package.
The directory asm is present in the .txz and the file errno.h is present in the asm directory in the .txz package file.
The problem seems to be in the "doinst.sh" file.
The "doinst.sh" file contains the following :
( cd usr/include ; rm -rf asm )
( cd usr/include ; ln -sf asm-armv7 asm )
The first line, it executes well.
The second line is the problem. Although it also executes this line well, because there is no directory named asm-armv7 it leaves a broken link (file).
This is in the package :
kernel-headers-sarpi4-5.10.11-armv7l-1_slackcurrent_28Jan21_sp1.txz
I have had a look at my previously installed SARPI4 Kernel Headers packages and the same is true in the files for 17th Jan 2021, 2nd Jan 2021 and 1st Dec 2020. As far back as my SARPI package backups go.
I wonder what the asm-armv7 directory (in /usr/include/) is supposed to contain. I don't have a copy of it on my system and I did a full upgrade on 28th January 2021.


The header file asm/errno.h is not found.
I have looked at the SARPI4 Kernel headers and there seems to be an error in the package.
The directory asm is present in the .txz and the file errno.h is present in the asm directory in the .txz package file.
The problem seems to be in the "doinst.sh" file.
The "doinst.sh" file contains the following :
( cd usr/include ; rm -rf asm )
( cd usr/include ; ln -sf asm-armv7 asm )
The first line, it executes well.
The second line is the problem. Although it also executes this line well, because there is no directory named asm-armv7 it leaves a broken link (file).
This is in the package :
kernel-headers-sarpi4-5.10.11-armv7l-1_slackcurrent_28Jan21_sp1.txz
I have had a look at my previously installed SARPI4 Kernel Headers packages and the same is true in the files for 17th Jan 2021, 2nd Jan 2021 and 1st Dec 2020. As far back as my SARPI package backups go.
I wonder what the asm-armv7 directory (in /usr/include/) is supposed to contain. I don't have a copy of it on my system and I did a full upgrade on 28th January 2021.