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
[email protected]
http://lists.cross-lfs.org/listinfo.cgi/clfs-dev-cross-lfs.org

Hi

that's fine and what i've been using


martin
_______________________________________________
Clfs-dev mailing list
[email protected]
http://lists.cross-lfs.org/listinfo.cgi/clfs-dev-cross-lfs.org

Reply via email to