overlayfs-tools icon indicating copy to clipboard operation
overlayfs-tools copied to clipboard

Compile on debian buster fails

Open mstormi opened this issue 6 years ago • 5 comments

[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

mstormi avatar Aug 07 '19 20:08 mstormi

I have stopped playing with Pi to be honest you will just have to support yourself. Suggest you clone.

StuartIanNaylor avatar Aug 08 '19 10:08 StuartIanNaylor

Just merge https://github.com/StuartIanNaylor/overlayfs-tools/pull/1

I think that is not specific to RPi but to the debian version (buster)

mstormi avatar Aug 08 '19 10:08 mstormi

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

StuartIanNaylor avatar Aug 08 '19 12:08 StuartIanNaylor

Most likely fixed by #16 FWIW

mjeveritt avatar Mar 21 '21 07:03 mjeveritt

Also in #9

mjeveritt avatar Mar 21 '21 07:03 mjeveritt