On Mon, 16 Jan 2006, Clemens Haupt wrote:

On Monday 16 January 2006 02:10, Ken Moffat wrote:
On Sun, 15 Jan 2006, Clemens Haupt wrote:

#endif
#ifdef __cplusplus
extern "C" void std::exit (int) throw (); using std::exit;

configure: exit 1

  You should have an error message somewhere, perhaps a 'paragraph'
or two before the test program that you've shown us.  Perhaps, failed
to find headers, or failed to find a working c++ compiler.  From
memory, this is the first package which needs to be compiled in
chroot, so it might be the recurrent problem of something linked
against libraries on the host (/lib, or /usr/lib) which are now
inaccessible.

Ken

Well then, back to start.

 Sorry, I misread your post and thought you were in chapter 6.
But, you haven't reached 5.7, you are still in 5.6.

But now that I realise you are in chapter 5, I expect c++ builds to fail until you have built gcc a second time - the first gcc is built with enable-languages=c. So, going back to your original question:

(i) you looked at the output, but you showed us a failing program instead of the associated error message (search for 'Error' with a capital 'E').

(ii) you probably didn't find the correct failure - almost always, a configure script will generate lots of failure messages because it tests for things that you don't have. Mostly, you need to find the _last_ 'Error' message.

HTH

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

Reply via email to