Hello,

Sorry for the bother but I’ve been struggling with compiling uclibc-ng. All I did was clone; make defconfig; make.

I get the following error:

 

  CC ldso/ldso/ldso.oS

In file included from ./include/bits/posix1_lim.h:152:0,

                 from ./include/limits.h:144,

                 from ./include/sys/param.h:25,

                 from ./ldso/include/ldso.h:43,

                 from ldso/ldso/ldso.c:32:

./include/bits/local_lim.h:38:26: fatal error: linux/limits.h: No such file or directory

compilation terminated.

Makerules:370: recipe for target 'ldso/ldso/ldso.oS' failed

make: *** [ldso/ldso/ldso.oS] Error 1

 

I’ve tried to remove -nostdinc, the compilation then proceeds but with no success. I also tried to install the following packages: kernel-package, linux-libc-dev, binutils, libc-dev-bin, linux-headers-4.10.0-35 and linux-headers-generic.

 

Can anyone help?

 

Best regards,
Daniel Dubinsky