overlayfs-tools
overlayfs-tools copied to clipboard
Compile on debian buster fails
[22:24:56] root@devpi:/tmp/zr/overlayfs-tools# make gcc -Wall -std=c99 -c main.c In file included from main.c:16: /usr/include/linux/stat.h:56:8: error: redefinition of ‘struct statx_timestamp’ struct statx_timestamp { ^~~~~~~~~~~~~~~ In file included from /usr/include/arm-linux-gnueabihf/sys/stat.h:446, from main.c:14: /usr/include/arm-linux-gnueabihf/bits/statx.h:25:8: note: originally defined here struct statx_timestamp ^~~~~~~~~~~~~~~ In file included from main.c:16: /usr/include/linux/stat.h:99:8: error: redefinition of ‘struct statx’ struct statx { ^~~~~ In file included from /usr/include/arm-linux-gnueabihf/sys/stat.h:446, from main.c:14: /usr/include/arm-linux-gnueabihf/bits/statx.h:36:8: note: originally defined here struct statx ^~~~~ make: *** [makefile:11: main.o] Fehler 1
I have stopped playing with Pi to be honest you will just have to support yourself. Suggest you clone.
Just merge https://github.com/StuartIanNaylor/overlayfs-tools/pull/1
I think that is not specific to RPi but to the debian version (buster)
Its not my repo there is the master branch for stretch & the arch branch for buster. Its both as the libs are different across releases
Most likely fixed by #16 FWIW
Also in #9