Hi Ken,
thanks for the reply
Also, pentium-M and p4 are not that different from each
other, at least from the programming point of view.
> loading cache ./config.cache
> checking host system type... i686-pc-linux-gnu
> checking target system type... i686-pc-linux-gnu
> checking build system type... i686-pc-linux-gnu
You aren't cross-compiling! Please re-read the beginning of the
book, particularly section 5.3, Build Variables.
so do you think I can Use LFS instead of CLFS for PentiumM PrPMC TARGET on
a Pentium 4 HOST?
If not, what TARGET setting do i have to do for CLFS?
Lalith..
From: Ken Moffat <[EMAIL PROTECTED]>
Reply-To: Cross-LFS Support List <[email protected]>
To: Cross-LFS Support List <[email protected]>
Subject: Re: [Clfs-support] Cross gcc-4.1.1 configure fails
Date: Thu, 25 Jan 2007 22:48:30 +0000
MIME-Version: 1.0
Received: from ducati.linux-phreak.biz ([209.147.121.166]) by
bay0-mc7-f21.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2444); Thu,
25 Jan 2007 14:49:14 -0800
Received: from ducati.linux-phreak.biz (localhost.localdomain
[127.0.0.1])by ducati.linux-phreak.biz (Postfix) with ESMTP id
F0A886FF4F;Thu, 25 Jan 2007 14:49:03 -0800 (PST)
Received: from mtaout01-winn.ispmail.ntl.com
(mtaout01-winn.ispmail.ntl.com[81.103.221.47])by ducati.linux-phreak.biz
(Postfix) with ESMTP id 67EE56FF4Efor
<[email protected]>;Thu, 25 Jan 2007 14:48:45 -0800 (PST)
Received: from aamtaout03-winn.ispmail.ntl.com ([81.103.221.35])by
mtaout01-winn.ispmail.ntl.com with ESMTP
id<[EMAIL PROTECTED]>for
<[email protected]>;Thu, 25 Jan 2007 22:48:32 +0000
Received: from localhost.localdomain ([81.102.241.11])by
aamtaout03-winn.ispmail.ntl.com with ESMTP
id<[EMAIL PROTECTED]>for
<[email protected]>;Thu, 25 Jan 2007 22:48:32 +0000
Received: by localhost.localdomain (Postfix, from userid 500)id 2593C490DE;
Thu, 25 Jan 2007 22:48:30 +0000 (GMT)
X-Message-Info: txF49lGdW40Ji2xfxI2+QnSPnN3EhbyK/r7VYzFbOFk=
X-Original-To: [email protected]
Delivered-To: [EMAIL PROTECTED]
References: <[EMAIL PROTECTED]>
User-Agent: Mutt/1.5.12-2006-07-14
X-BeenThere: [email protected]
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Cross-LFS Support List <clfs-support.lists.cross-lfs.org>
List-Unsubscribe:
<http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support>,<mailto:[EMAIL PROTECTED]>
List-Archive: <http://lists.linux-phreak.biz/pipermail/clfs-support>
List-Post: <mailto:[email protected]>
List-Help: <mailto:[EMAIL PROTECTED]>
List-Subscribe:
<http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support>,<mailto:[EMAIL PROTECTED]>
Errors-To: [EMAIL PROTECTED]
Return-Path: [EMAIL PROTECTED]
X-OriginalArrivalTime: 25 Jan 2007 22:49:14.0165 (UTC)
FILETIME=[094CBE50:01C740D3]
On Thu, Jan 25, 2007 at 09:26:23PM +0000, Lalith Kumar Tenneti wrote:
> I am still a novice on Linux
>
> I am working on chapter 5.6.1.
>
> I am working on ubuntu 6.10 host
>
> Let me give some background: I am trying to develop a CLFS fro a
pentium-M
> PrPMC board on a Pentium4 desktop. I have 2.6.18 kernel, and
rest(Binutils,
> gcc and glibc) are same as in the book. I could make it work till
> chapter5.7.1 glibc configure. make failed with threading errors as I was
> building for i386 ( I wanted pentium-M or i686 platform).
>
> So, I went back, cleaned up everything and started from scratch and on
> chapter 5.6.1 installing GCC 4.1.1. The only stupid thing I did was to
try
> to install some 686 kernel headers which failed because of some
> dependencies.
>
I'm not sure you've fully understood how the book works - the only
headers you need are in the book, and missing dependencies normally
mean you need to add something to the host system (e.g. 'bison' is
commonly missing on minimal ubuntu installs). So, I'm puzzled by
what you mean by i686 headers - within the kernel headers it's all
just x86. Also, pentium-M and p4 are not that different from each
other, at least from the programming point of view.
> configure command fails with the following report:
>
> loading cache ./config.cache
> checking host system type... i686-pc-linux-gnu
> checking target system type... i686-pc-linux-gnu
> checking build system type... i686-pc-linux-gnu
You aren't cross-compiling! Please re-read the beginning of the
book, particularly section 5.3, Build Variables.
> checking for a BSD compatible install... /usr/bin/install -c
> checking whether ln works... yes
> checking whether ln -s works... yes
> checking for gcc... gcc
> checking whether the C compiler (gcc ) works... no
> configure: error: installation or configuration problem: C compiler
cannot
> create executables.
>
> HERE is the CONFIG.log output:
>
> configure:1825: checking for gcc
> configure:1938: checking whether the C compiler (gcc ) works
> configure:1954: gcc -o conftest conftest.c 1>&5
> /home/lalith/airtegrity/video-codec/tools/bin/ld: warning:
ld-linux.so.2,
> needed by /lib/libc.so.6, not found (try using -rpath or -rpath-link)
> /lib/libc.so.6: undefined reference to [EMAIL PROTECTED]'
The version of ld which you built in the previous step doesn't seem
to know where ld-linux is. I'm not a toolchain expert, but I think
you need to start chapter 5 again - make sure CLS_HOST and
CLFS_TARGET are set correctly, and that the /cross-tools and /tools
symlinks point to the right places.
ĸen
--
das eine Mal als Tragödie, das andere Mal als Farce
_______________________________________________
Clfs-support mailing list
[email protected]
http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support
_________________________________________________________________
Catch all the cricketing action right here. Live score, match reports,
photos et al. http://content.msn.co.in/Sports/Cricket/Default.aspx
_______________________________________________
Clfs-support mailing list
[email protected]
http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support