On Tue, 9 Aug 2005, Lyn St George wrote:
> Hallo all
>
> Hope someone here can help on this. Building LFS6.1, I've got
> as far as ch 5.9, expect 5.43. It refuses to compile, claiming that
> gcc is cross-compiling with:
>
> "WNOHANG requires _POSIX_SOURCE... configure: error: Expect can't be cross
> compiled"
>
> Omitting the initial
>
> "env CC=${target}-gcc \"
> from
> "env CC=${target}-gcc \
> ./configure --prefix=/tools --with-tcl=/tools/lib \
> --with-tclinclude=../tcl8.4.10 --with-x=no"
>
> lets it compile, but then make fails with:
> No rule to make target `pty_.c', needed by `pty_.o'
>
Hmm, I don't think you've got the right book there, Lyn. Certainly,
the CC=${target}-gcc isn't in the 6.1 book, because it shows you are
indeed cross-compiling. But, when people cros-compile, they don't build
the test tools (tcl, expect, dejagnu) until considerably later. Also,
LFS-6.1 was tcl-8.4.9.
The fact you reference $target indicates you are cross-compiling, but
the cross-lfs book happens to use $LFS_TARGET so you're deinitely not on
that. Which book is it ?
Ken
--
das eine Mal als Tragödie, das andere Mal als Farce
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page