Am Freitag, 17. Februar 2017, 13:48:09 CET schrieb Thanos Baloukas:
> On 17/02/2017 12:45 μμ, Markus wrote:
> > Hey folks,
> > 
> > Thanks again for help on my first posting..
> > 
> > Meanwhile I've made it to chapter 6 and ironed out some problems I've
> > caused myself.
> > 
> > I had to start over once  with the backup I've made at the end of chapter
> > 5, but now everything seems correctly set up.
> > 
> > But...
> > When trying to build inetutils 1.9.4, I get this error message:
> > 
> > =====
> > 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.4/ifconfig'
> > make[2]: *** [Makefile:1536: all-recursive] Error 1
> > make[2]: Leaving directory '/sources/inetutils-1.9.4/ifconfig'
> > make[1]: *** [Makefile:1491: all-recursive] Error 1
> > make[1]: Leaving directory '/sources/inetutils-1.9.4'
> > make: *** [Makefile:1428: all] Error 2
> > root:/sources/inetutils-1.9.4#
> > =====
> > 
> > First I thought I've made a mistake again, but so far I couldn't find
> > anything suspicious...
> > 
> > With a quick web search I found a patch for v1.9.1 (
> > https://git.congatec.com/
> > yocto/meta-openembedded/commit/3402bfac6b595c622e4590a8ff5eaaa854e2a2a3 )
> > but I don't want to apply it (or add the missing definition by hand)
> > before asking the gurus ;-)
> > 
> > I hope I didn't mess something up (again) that may be the cause for this
> > problem :-)
> > 
> > Thanks, Markus
> 
> Is proc mounted on $LFS/proc?

hmm..
I just made a quick check with a mount command and got

---
root:/sources/inetutils-1.9.4# mount
mount: failed to read mtab: No such file or directory 
---

I don't know if that should give a different result at this point?

when exiting the chroot environment everything looks okay (mount, environment 
$LFS...) 
I don't have the time at the moment, but in the evening I want to take a 
closer look on the issue again...

Thanks, Markus

Attachment: signature.asc
Description: This is a digitally signed message part.

-- 
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