Closed dreirund closed 3 years ago
looks more like some incompatibility with kernel 5.12:
nullfs.c:264:9: error: too few arguments to function ‘inode_init_owner’
seems like it now needs another argument with newer kernels:
https://elixir.bootlin.com/linux/latest/source/include/linux/fs.h#L1828
other fs modules have been adopted in more recent kernel versions, too as it seems:
https://elixir.bootlin.com/linux/latest/source/fs/ramfs/inode.c#L70
I dont have any newer kernels around for trying fixing this atm.
Probably easy to fix, if looking at the other related commits:
requires some #if LINUX_VERSION_CODE >= KERNEL_VERSION fun again :)
*On Mon, 17 May 2021 14:34:18 -0700, Michael Ablassmeier @.**> wrote about "Re: [abbbi/nullfsvfs] Warnings/errors about "Incompatible pointer types.". (#6)":
looks more like some incompatibility with kernel 5.12:
nullfs.c:264:9: error: too few arguments to function ‘inode_init_owner’
gcc version used? Build fine with kernel 5.10/cc 10.2 on Debian bullseye here.
gcc 10.2.0 on Artix.
Soon gcc 11.1.
Build works for kernel versions
Problem exists for kernel versions
-- Mamihlapinatapai:
"Der Blick zwischen zwei Personen, von denen jede wünschte, die andere würde etwas initiieren, was beide begehren, aber keine wagt den ersten Schritt zu tun."
"The look shared by two people, each wishing that the other will initiate something that they both desire, but are unwilling to suggest or start themselves."
(Ein Wort aus der Sprache der "Yaghan" / A word from the language of the "Yaghan").
Please checkout branch kernel_512, with changes applied:
https://github.com/abbbi/nullfsvfs/commit/96a6e1f3e688f0d5f346fe7f716d09984c400949
it compiles on kernel 5.12, loads and mounts. Please verify then ill merge, thanks.
*On Tue, 18 May 2021 07:46:16 -0700, Michael Ablassmeier @.***> wrote about "Re: [abbbi/nullfsvfs] Doesnt build with kernel 5.12: too few arguments to function ‘inode_init_owner’ (#6)":
Please checkout branch kernel_512, with changes applied:
https://github.com/abbbi/nullfsvfs/commit/96a6e1f3e688f0d5f346fe7f716d09984c400949
[...] Please verify then ill merge, thanks.
Seems to work for me, too.
-- Wählt man eine der Antworten zu dieser Frage zufällig aus, wie hoch ist die Wahrscheinlichkeit, dass sie korrekt ist?
a) 1/3 b) 1/3 c) sonstige, und zwar: ____
I get a lot warnings, treated as errors, about incompatible pointer types: