JayXon / Leanify

lightweight lossless file minifier/optimizer
MIT License
831 stars 75 forks source link

fatal error: 'stdio.h' file not found #77

Closed K0-RR closed 2 years ago

K0-RR commented 2 years ago

Building fails on OpenMandriva, works fine on Fedora so IDK what's going on. Full log

$ make
cc -Wall -Wno-unused-parameter -Werror -O3 -msse2 -mfpmath=sse -flto -D _7ZIP_ST -Wno-parentheses -I./lib  -c -o lib/LZMA/Alloc.o lib/LZMA/Alloc.c
lib/LZMA/Alloc.c:6:10: fatal error: 'stdio.h' file not found
#include <stdio.h>
         ^~~~~~~~~
1 error generated.
make: *** [<builtin>: lib/LZMA/Alloc.o] Error 1
K0-RR commented 2 years ago

Solved by installing glibc-devel. (There was a new error after this one that got resolved by installing gcc-c++)