[Clfs-support] Make error in diffutils-3.6

William Harrington kb0iic at berzerkula.org
Mon Mar 12 16:02:45 PDT 2018


On Mon, 12 Mar 2018 19:49:00 +0100
Daniel GSJ <audobra at gmail.com> wrote:

> Hello,
> 
> I have found an error during the make step of diffutils (Chapter 6 of CLFS).
> There is a deviation respect of the original book, I'm trying to install
> version 3.6 instead of 3.3.
> 
> In fact, I'm trying to build CLFS with the most updated versions of the
> programs. The installation according to Chapters 5 and 6 (with updated
> versions) seems to work fine, except for diffutils and texinfo (that I'll
> comment in another thread). Please see the details below.
> 
> Thank you in advanced for your help.
> 
> Daniel Gutiérrez
> ------------------
> 
> 3.0.0-SYSVINIT
> Linux 4.13.0-36-generic 16.04.1-Ubuntu x86_64 GNU/Linux
> 
> CLFS_HOST="x86_64-cross-linux-gnu"
> CLFS_TARGET="x86_64-unknown-linux-gnu"
> CLFS_TARGET32="i686-pc-linux-gnu"
> 
> ./configure \
> --prefix=/tools \
> --build=${CLFS_HOST} \
> --host=${CLFS_TARGET}
> 
> xstrtol-error.c: In function 'xstrtol_error':
> xstrtol-error.c:84:26: error: invalid use of undefined type 'struct
> rpl_option'
>      option = long_options[opt_idx].name;
>                           ^

You will probably need this before configure:
sed -i '/rpl_$/d' lib/config.h

Same for texinfo.

Sincerely,

William Harrington



More information about the Clfs-support mailing list