[lfs-dev] lfs-dev Digest, Vol 2288, Issue 1

David Buchan davidsbuchan at gmail.com
Tue Jan 28 10:22:54 PST 2014


Perfect.

Thanks Bruce.


On 28 January 2014 07:00, <lfs-dev-request at linuxfromscratch.org> wrote:

> Send lfs-dev mailing list submissions to
>         lfs-dev at linuxfromscratch.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://linuxfromscratch.org/mailman/listinfo/lfs-dev
> or, via email, send a message with subject or body 'help' to
>         lfs-dev-request at linuxfromscratch.org
>
> You can reach the person managing the list at
>         lfs-dev-owner at linuxfromscratch.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of lfs-dev digest..."
>
>
> Today's Topics:
>
>    1.  util-linux chapter 5 (cannot find -ltinfo) (David Buchan)
>    2. Re:  util-linux chapter 5 (cannot find -ltinfo) (Bruce Dubbs)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 27 Jan 2014 22:57:18 +0000
> From: David Buchan <davidsbuchan at gmail.com>
> Subject: [lfs-dev] util-linux chapter 5 (cannot find -ltinfo)
> To: lfs-dev at linuxfromscratch.org
> Message-ID:
>         <
> CAOsfDnfqk33pe5x76SM7kcGHf5LXnK1QY+W-_kAk9oYYw3ZpjQ at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi,
>
> I'm getting the following error when compiling util-linux in chapter 5.
> Tried from dev 2014 onwards.
>   CCLD     more
>
> /mnt/lfs/tools/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../x86_64-unknown-linux-gnu/bin/ld:
> cannot find -ltinfo
> collect2: error: ld returned 1 exit status
> Makefile:5603: recipe for target 'more' failed
> make[2]: *** [more] Error 1
> make[2]: Leaving directory '/mnt/lfs/home/lfs/sources/util-linux-2.24.1'
> Makefile:10303: recipe for target 'all-recursive' failed
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory '/mnt/lfs/home/lfs/sources/util-linux-2.24.1'
> Makefile:4315: recipe for target 'all' failed
> make: *** [all] Error 2
>
> The above error comes with MAKEFLAGS unset. If it is set to -j 4 then I
> get:
> fdisks/cfdisk.c: In function 'get_string':
> fdisks/cfdisk.c:465:20: warning: comparison between signed and unsigned
> integer expressions [-Wsign-compare]
>   if ((c = getch()) == ERR) {
>
> and
>
> unknown-linux-gnu/bin/ld: cannot find -ltinfo
> collect2: error: ld returned 1 exit status
> Makefile:6251: recipe for target 'ul' failed
>
> I've tried stabbing in the dark with --disable-ul but the error moves onto
> something else.
> Any ideas?
>
> Ta
>
> David
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://linuxfromscratch.org/pipermail/lfs-dev/attachments/20140127/203a4046/attachment-0001.html
>
> ------------------------------
>
> Message: 2
> Date: Mon, 27 Jan 2014 17:07:08 -0600
> From: Bruce Dubbs <bruce.dubbs at gmail.com>
> Subject: Re: [lfs-dev] util-linux chapter 5 (cannot find -ltinfo)
> To: LFS Developers Mailinglist <lfs-dev at linuxfromscratch.org>
> Message-ID: <52E6E69C.8040501 at gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> David Buchan wrote:
> > Hi,
> >
> > I'm getting the following error when compiling util-linux in chapter 5.
> > Tried from dev 2014 onwards.
> >    CCLD     more
> >
> /mnt/lfs/tools/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../x86_64-unknown-linux-gnu/bin/ld:
> > cannot find -ltinfo
> > collect2: error: ld returned 1 exit status
> > Makefile:5603: recipe for target 'more' failed
> > make[2]: *** [more] Error 1
> > make[2]: Leaving directory '/mnt/lfs/home/lfs/sources/util-linux-2.24.1'
> > Makefile:10303: recipe for target 'all-recursive' failed
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory '/mnt/lfs/home/lfs/sources/util-linux-2.24.1'
> > Makefile:4315: recipe for target 'all' failed
> > make: *** [all] Error 2
> >
> > The above error comes with MAKEFLAGS unset. If it is set to -j 4 then I
> get:
> > fdisks/cfdisk.c: In function 'get_string':
> > fdisks/cfdisk.c:465:20: warning: comparison between signed and unsigned
> > integer expressions [-Wsign-compare]
> >    if ((c = getch()) == ERR) {
> >
> > and
> >
> > unknown-linux-gnu/bin/ld: cannot find -ltinfo
> > collect2: error: ld returned 1 exit status
> > Makefile:6251: recipe for target 'ul' failed
> >
> > I've tried stabbing in the dark with --disable-ul but the error moves
> onto
> > something else.
> > Any ideas?
>
> Try:
>
>
> ./configure --prefix=/tools                \
>              --disable-makeinstall-chown    \
>              --without-systemdsystemunitdir \
>              PKG_CONFIG=""
>
>    -- Bruce
>
>
> ------------------------------
>
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-dev
> FAQ: http://www.linuxfromscratch.org/faq/
> Unsubscribe: See the above information page
>
>
> End of lfs-dev Digest, Vol 2288, Issue 1
> ****************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-dev/attachments/20140128/fae2858a/attachment.html>


More information about the lfs-dev mailing list