Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] Raspberry Pi: unable to make kernel 5.x scripts
@ 2020-11-09 19:17 ILadis
  2020-11-09 19:36 ` Anachron
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: ILadis @ 2020-11-09 19:17 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 2361 bytes --]

New issue by ILadis on void-packages repository

https://github.com/void-linux/void-packages/issues/26257

Description:
<!-- Don't request update of package. We have a script for that. https://alpha.de.repo.voidlinux.org/void-updates/void-updates.txt . However, a quality pull request may help. -->
### System

* xuname:  
  `Void 4.19.127_3 armv7l Unknown notuptodate hold rFFF`
* package:  
  `rpi-kernel-headers-5.4.68_1`

### Expected behavior
Upon running `make scripts` from inside `/usr/src/rpi-kernel-headers-5.*` all kernel scripts should be compiled.

Output of `make scripts`:

```
  HOSTCC  scripts/dtc/flattree.o
  HOSTCC  scripts/dtc/fstree.o
  HOSTCC  scripts/dtc/data.o
  HOSTCC  scripts/dtc/livetree.o
  HOSTCC  scripts/dtc/treesource.o
  HOSTCC  scripts/dtc/srcpos.o
  HOSTCC  scripts/dtc/checks.o
  HOSTCC  scripts/dtc/util.o
  HOSTCC  scripts/dtc/dtc-lexer.lex.o
  HOSTCC  scripts/dtc/dtc-parser.tab.o
  HOSTLD  scripts/dtc/dtc
  HOSTCC  scripts/genksyms/genksyms.o
  HOSTCC  scripts/genksyms/parse.tab.o
  HOSTCC  scripts/genksyms/lex.lex.o
  HOSTLD  scripts/genksyms/genksyms
  HOSTCC  scripts/recordmcount
  HOSTCC  scripts/kallsyms
  HOSTCC  scripts/pnmtologo
  HOSTCC  scripts/conmakehash
  HOSTCC  scripts/sortextable
  HOSTCC  scripts/asn1_compiler
  HOSTCC  scripts/extract-cert
```

### Actual behavior
Some kernel scripts do not get compiled. No errors occur when running `make scripts` but when I try to compile a kernel module/driver from source it complains about a missing kernel script:

```
Building modules, stage 2.
  MODPOST 1 modules
/bin/sh: 1: scripts/mod/modpost: not found
make[2]: *** [scripts/Makefile.modpost:94: __modpost] Error 127
```

If I then try to explicitly run `make` in `/usr/src/rpi-kernel-headers-5.*/scripts/mod` I get the following error:

```
make: *** No rule to make target '/devicetable-offsets.s', needed by '/devicetable-offsets.h'.  Stop.
```

I do not know if that is the only script that can not be compiled. There may be more missing.

### Steps to reproduce the behavior
Run `cd /usr/src/rpi-kernel-headers-5.* && make scripts` and check if `scripts/mod/modpost` gets compiled.

In order to successfully compile the kernel scripts I had to also install the following development tools:  
`make`, `flex`, `gcc`, `libressl-devel`

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2020-11-15 21:17 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-09 19:17 [ISSUE] Raspberry Pi: unable to make kernel 5.x scripts ILadis
2020-11-09 19:36 ` Anachron
2020-11-09 19:51 ` ILadis
2020-11-09 20:02 ` ILadis
2020-11-09 20:02 ` ILadis
2020-11-09 20:19 ` ILadis
2020-11-09 23:41 ` fosslinux
2020-11-10  0:12 ` pbui
2020-11-10  0:14 ` pbui
2020-11-11 10:43 ` Piraty
2020-11-11 10:43 ` [ISSUE] [CLOSED] " Piraty
2020-11-11 10:47 ` Piraty
2020-11-15 21:17 ` ILadis
2020-11-15 21:17 ` ILadis
2020-11-15 21:17 ` ILadis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).