On Fri, Mar 29, 2019 at 07:24:10PM +0100, Dr Dee Minecrafter wrote:
>    Hello LFS team!
>    I have a problem compiling the inetutils-1.9.4 package.
>    Although the configuration of Make worked, the following error message was
>    displayed at the end of the compilation:
>    In file included from system.c:23:
>    system/linux.c: In function 'pnd_read':
>    system/linux.c:415:15: error: 'PATH_PROCNET_DEV' undeclared (first use in
>    this function); did you mean 'PATH_CONSOLE'?
>       fp = fopen (PATH_PROCNET_DEV, "r");
>                   ^~~~~~~~~~~~~~~~
>                   PATH_CONSOLE
>    system/linux.c:415:15: note: each undeclared identifier is reported only
>    once for each function it appears in
>    system/linux.c: In function 'linux_if_nameindex':
[...]
> 
>    I downloaded the package again, but it did not work.
>    I hope you know what the problem is.
>    Greeting Dr_Dee
>    PS: I hope everything with the mail everything works, because I speak
>    German (I have used the Google translator).
>     
PATH_PROCNET_DEV is defined in 'paths' within inetutils.

If I run configure (no arguments, just trying to debug this problem)
and grep for PATH_PROCNET_DEV I see that it gets defined in several
Makefiles, including

./ifconfig/Makefile:PATHDEV_PROCNET_DEV = -DPATH_PROCNET_DEV=\"/proc/net/dev\"

So I have to assume that you did something odd when running
configure, but I have no idea what.  We disable things, but if you
disabled ifconfig it would not attempt to build.  And if you used
odd values for --prefix or --localstatedir that would be unlikely to
prevent it building.

I suggest that you delete the extracted directory, untar it again,
run configure as in the book, and then

  find -type f | xargs grep 'PATH_PROCNET_DEV'

to confirm it appears in several of hte Makefiles.

ĸen
-- 
  It is said that there are two great unsolved problems in computer
  science: naming, cache invalidation, and off-by-one errors.
                         -- Ben Bullock
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to