LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-14-2022, 11:44 AM   #1
linuxuxmaker
LQ Newbie
 
Registered: Feb 2022
Posts: 2

Rep: Reputation: 0
[LFS] problem with the compilation of inetutils


Hello everyone, I had a problem with the compilation of inetutils

Code:
In file included from system.c:24:
system/linux.c: In function 'pnd_read':
system/linux.c:418:15: error: 'PATH_PROCNET_DEV' undeclared (first use in this function)
  418 |   fp = fopen (PATH_PROCNET_DEV, "r");
      |               ^~~~~~~~~~~~~~~~
system/linux.c:418:15: note: each undeclared identifier is reported only once for each function it appears in
system/linux.c: In function 'linux_if_nameindex':
system/linux.c:935:24: error: 'PATH_PROCNET_DEV' undeclared (first use in this function)
  935 |   content = read_file (PATH_PROCNET_DEV, 0, &length
Has anyone come across such? Have solutions?
 
Old 02-14-2022, 12:13 PM   #2
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,688

Rep: Reputation: Disabled
See this thread. Which boils down to
Quote:
Originally Posted by Bruce Dubbs
You don't have the virtual file systems mounted properly.
It's 7.3. Preparing Virtual Kernel File Systems in LFS 11.0.

Last edited by shruggy; 02-14-2022 at 12:24 PM.
 
Old 02-14-2022, 12:43 PM   #3
linuxuxmaker
LQ Newbie
 
Registered: Feb 2022
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by shruggy View Post
See this thread. Which boils down to

It's 7.3. Preparing Virtual Kernel File Systems in LFS 11.0.
I checked virtual filesystems but Problem still showing up
 
Old 02-14-2022, 04:05 PM   #4
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,688

Rep: Reputation: Disabled
Quote:
Originally Posted by linuxuxmaker View Post
I checked virtual filesystems but Problem still showing up
Then you didn't check them properly. PATH_PROCNET_DEV is defined as /proc/net/dev.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] LFS-v11 can't compile Inetutils-2.1 anon1593 Linux From Scratch 2 01-16-2022 01:39 AM
[LFS 8.0] inetutils 1.9.4 can't compile marcin1509 Linux From Scratch 1 05-28-2017 06:17 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
problem installing inetutils sharmashikha Linux From Scratch 8 06-18-2005 10:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:31 AM.

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