On 23/01/16 10:55 AM, remotezen wrote:


On 23/01/16 10:43 AM, Pierre Labastie wrote:
On 23/01/2016 15:50, remotezen wrote:

On 23/01/16 09:05 AM, remotezen wrote:

On 22/01/16 04:31 PM, Ken Moffat wrote:
On Fri, Jan 22, 2016 at 04:15:40PM -0500, remotezen wrote:
Hi, trying to install lfs 7.8 util-linux on deb8 host.

./configure --prefix=/tools
--without-python
--disable-makeinstall-chown
--without-systemdsystemunitdir
PKG_CONFIG=""

make error results


/tools/lib/libpthread.so.0: undefined reference to
`__getrlimit@GLIBC_PRIVATE'
Googling for
   /tools/lib/libpthread.so undefined reference
provides, at least for me, a couple of lfs threads.

Both point to configuring binutils pass 2.  The oldest reference
was apparently fixed by adding "--with-sysroot" when configuring
binutils pass 2 (and we have been using that switch since then), the
more recent had a mistyped --with-lib-path in the configure.

If your lfs user's command history goes back as far as binutils pass
2, I suggest you check how you ran configure.

ĸen
     Thanks Ken I will retrace my binutils configuration options.
Checked binutils options still no go. However interestingly enough this time as before [ I have compiled this more then a couple of time ] the
error enumeration varies. I appreciate any and all feed back.

Could you run:
echo 'int main(){}' > dummy.c
cc -v -Wl,-verbose -lrt dummy.c >& dummy.log
readelf -l a.out | grep ': /tools'
grep libpthread dummy.log

and tell us what comes out?

Did perl compile OK?

Pierre
Will have to get to you on that Pierre. While searching I went to an old post Dmitry z set a value for
--sysroot I didn't read the whole thread and followed his example.
I corrected my mistake now binutil won't compile.
Seems like everything is coming apart at the seams.
I am going to attempt an new install of binutil
recompile and get back to you. Perl did initially compile but it was dirty.

../../binutils-2.25.1/libiberty/fibheap.c -o fibheap.o
checking for open... ../../binutils-2.25.1/libiberty/fibheap.c:
In function 'fibheap_replace_key_data':
../../binutils-2.25.1/libiberty/fibheap.c:38:24:
error: 'LONG_MIN' undeclared (first use in this function)
 #define FIBHEAPKEY_MIN LONG_MIN
../../binutils-2.25.1/libiberty/fibheap.c: In function 'fibheap_delete_node': ../../binutils-2.25.1/libiberty/fibheap.c:38:24: error: 'LONG_MIN' undeclared (first use in this function)


I just rolled my sleeves up and re did 'er. Turns out there might've been disk permission errors evidenced I guess with umount. As well Dufus here forgot to apply the glib patch. Funny how little things can add up. First there was symlink hack for perl , then another for texinfo...

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