-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Contact Details
No response
What happened?
Can not execute with success cmake --build build.
There is a conflict with glibc implementation ... Since we use: sys/stat and /linux/stat.h we are declaring twice some stat structures ...
Version
1.1
What operating system are you seeing the problem on?
Linux
Relevant log output
$ cmake --build ./build/
Scanning dependencies of target termsequel
[ 12%] Building CXX object CMakeFiles/termsequel.dir/src/system.cpp.o
In file included from /home/sgtcortez/Documents/Projects/Termsequel/src/system.cpp:29:
/usr/include/linux/stat.h:56:8: error: redefinition of ‘struct statx_timestamp’
struct statx_timestamp {
^~~~~~~~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/sys/stat.h:446,
from /home/sgtcortez/Documents/Projects/Termsequel/src/system.cpp:15:
/usr/include/x86_64-linux-gnu/bits/statx.h:25:8: note: previous definition of ‘struct statx_timestamp’
struct statx_timestamp
^~~~~~~~~~~~~~~
In file included from /home/sgtcortez/Documents/Projects/Termsequel/src/system.cpp:29:
/usr/include/linux/stat.h:99:8: error: redefinition of ‘struct statx’
struct statx {
^~~~~
In file included from /usr/include/x86_64-linux-gnu/sys/stat.h:446,
from /home/sgtcortez/Documents/Projects/Termsequel/src/system.cpp:15:
/usr/include/x86_64-linux-gnu/bits/statx.h:36:8: note: previous definition of ‘struct statx’
struct statx
^~~~~
make[2]: *** [CMakeFiles/termsequel.dir/build.make:63: CMakeFiles/termsequel.dir/src/system.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:73: CMakeFiles/termsequel.dir/all] Error 2
make: *** [Makefile:84: all] Error 2Relevant print output
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
