abbbi / abbbi/nullfsvfs

Building on Rocky 9.6

Abierto
#30 1 comentario 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
C
Estrellas
319
Forks
12
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

First time trying to build nullfsvfs, was getting:

```
$ make
make -C /lib/modules/5.14.0-570.19.1.el9_6.x86_64/build M=/home/devin/nullfsvfs-0.19 modules
make[1]: Entering directory '/usr/src/kernels/5.14.0-570.19.1.el9_6.x86_64'
CC [M] /home/devin/nullfsvfs-0.19/nullfs.o
/home/devin/nullfsvfs-0.19/nullfs.c: In function ‘nullfs_getattr’:
/home/devin/nullfsvfs-0.19/nullfs.c:159:26: error: passing argument 1 of ‘generic_fillattr’ from incompatible pointer type [-Werror=in
compatible-pointer-types]
159 | generic_fillattr(&init_user_ns, inode, stat);
| ^~~~~~~~~~~~~
| |
| struct user_namespace *
```
(and a lot of additional "incompatible pointer" errors). I was able to disable this check by adding

```
EXTRA_CFLAGS += -Wno-incompatible-pointer-types
```

to the Makefile. I'm not sure if this is safe to do, but it _seems_ to be working.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.