ls-icons icon indicating copy to clipboard operation
ls-icons copied to clipboard

The <sys/sysctl.h> header is deprecated and will be removed.

Open wojciechGaudnik opened this issue 4 years ago • 5 comments

In file included from lib/nproc.c:50: /usr/include/x86_64-linux-gnu/sys/sysctl.h:21:2: error: #warning "The <sys/sysctl.h> header is deprecated and will be removed." [-Werror=cpp] 21 | #warning "The <sys/sysctl.h> header is deprecated and will be removed." | ^~~~~~~ cc1: all warnings being treated as errors make[2]: *** [Makefile:10024: lib/nproc.o] Error 1 make[2]: Leaving directory '/home/bq666/Downloads/ls-icons' make[1]: *** [Makefile:12675: all-recursive] Error 1 make[1]: Leaving directory '/home/bq666/Downloads/ls-icons' make: *** [Makefile:6835: all] Error 2

wojciechGaudnik avatar Aug 01 '20 12:08 wojciechGaudnik

same

irfanhilmi000 avatar Sep 08 '20 15:09 irfanhilmi000

same

irfanhilmi000 avatar Sep 08 '20 15:09 irfanhilmi000

I have this error too when compiling.

coaxial avatar Nov 16 '20 10:11 coaxial

My fork compiles, although I had to reset it onto coreutils upstream after trying and failing to merge. It's available here.

FWIW, I was also able to compile the current repository. Did you all export CC=clang CXX=clang++ before ./configureing?

omentic avatar Nov 18 '20 01:11 omentic

My fork compiles, although I had to reset it onto coreutils upstream after trying and failing to merge. It's available here.

FWIW, I was also able to compile the current repository. Did you all export CC=clang CXX=clang++ before ./configureing?

No, if settings these variables explicitly, then it fails configuring because it can't find the compiler (I don't remember the exact error message off the top of my head, but it would only configure without exporting these two vars)

coaxial avatar Nov 22 '20 12:11 coaxial