Hello again,
I'm trying to compile LFS on debian 8.6 x64.
When trying to make inetutils 1.9.4 I get this error message :
Code:
In file included from system.c:23:0:
system/linux.c: In function 'pnd_read':
system/linux.c:415:15: error: 'PATH_PROCNET_DEV' undeclared (first use in this function)
fp = fopen (PATH_PROCNET_DEV, "r");
^~~~~~~~~~~~~~~~
system/linux.c:415:15: note: each undeclared identifier is reported only once for each function it appears in
In file included from system.c:23:0:
system/linux.c: In function 'linux_if_nameindex':
system/linux.c:917:24: error: 'PATH_PROCNET_DEV' undeclared (first use in this function)
content = read_file (PATH_PROCNET_DEV, &length);
^~~~~~~~~~~~~~~~
make[3]: *** [Makefile:1516: system.o] Error 1
make[3]: Leaving directory '/sources/inetutils-1.9.3/ifconfig'
make[2]: *** [Makefile:1536: all-recursive] Error 1
make[2]: Leaving directory '/sources/inetutils-1.9.3/ifconfig'
make[1]: *** [Makefile:1490: all-recursive] Error 1
make[1]: Leaving directory '/sources/inetutils-1.9.3'
make: *** [Makefile:1427: all] Error 2
When I compiled it on ubuntu 16.04, it worked fine.
I tried to compile 1.9.3 too, but still the same.