LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 05-28-2017, 05:12 PM   #1
marcin1509
LQ Newbie
 
Registered: May 2017
Location: Nowy Dwor Gdanski, Poland
Distribution: Ubuntu 16.04
Posts: 20

Rep: Reputation: Disabled
[LFS 8.0] inetutils 1.9.4 can't compile


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.

Last edited by marcin1509; 05-28-2017 at 05:19 PM.
 
Old 05-28-2017, 06:17 PM   #2
Terry Coats
Member
 
Registered: Mar 2017
Posts: 122

Rep: Reputation: 54
This post from the lfs-support list seems relevant:

http://lists.linuxfromscratch.org/pi...ry/050817.html
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Can't compile expect5.45 in LFS 7.10 bsmith52 Linux From Scratch 6 12-05-2016 03:55 PM
[SOLVED] Can't compile libstdc++-v3 in LFS 7.10 bsmith52 Linux From Scratch 9 12-01-2016 08:31 PM
Help!! LFS 7.6 6.41 Inetutils bwags93 Linux From Scratch 3 10-14-2014 08:59 PM
inetutils compile problem rconan Linux From Scratch 3 07-16-2005 02:05 PM
Inetutils-1.4.2 luna Linux From Scratch 2 02-19-2004 10:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 04:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration