[Clfs-dev] util-linux GIT-20120314-x86_64-Multilib

Martin Ward macros_the_black at ntlworld.com
Wed May 2 13:09:04 PDT 2012


On 02/05/12 21:00, John Harrigan wrote:
> I'm mostly following the 2.x development version of the x86_64-Multilib
> book.  My host is a pure 64bit LFS 7.1.  I'm following the chroot path,
> using gcc-4.6.3 and util-linux-2.20.1.tar.bz2.
>
> In chapter 8.2 the configure step of util-linux fails for me with an
> error:
>
>     checking needed scanf type modifiers... configure: error: in `/mnt/clfs/build/util-linux-2.20.1':
>     configure: error: cannot run test program while cross compiling
>
> The following change to the configure step allows util-linux to build
> successfully.  (I haven't made it much past chapter 8.2 so I don't know
> if this change is going to cause any problems later on)
>
> echo "scanf_cv_type_modifier=as">  config.cache
>
>   CC="${CC} ${BUILD64}" ./configure --prefix=/tools \
>      --build=${CLFS_HOST} --host=${CLFS_TARGET} \
>      --disable-makeinstall-chown \
>      --cache-file=config.cache
> _______________________________________________
> Clfs-dev mailing list
> Clfs-dev at lists.cross-lfs.org
> http://lists.cross-lfs.org/listinfo.cgi/clfs-dev-cross-lfs.org
>
Hi

that's fine and what i've been using


martin



More information about the Clfs-dev mailing list