From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2658 invoked by alias); 19 Dec 2007 15:00:25 -0000 Received: (qmail 2643 invoked by uid 22791); 19 Dec 2007 15:00:24 -0000 X-Spam-Check-By: sourceware.org Received: from pne-smtpout4-sn2.hy.skanova.net (HELO pne-smtpout4-sn2.hy.skanova.net) (81.228.8.154) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 19 Dec 2007 15:00:13 +0000 Received: from [192.168.0.53] (88.193.134.7) by pne-smtpout4-sn2.hy.skanova.net (7.3.129) id 471A7B0C003498AE; Wed, 19 Dec 2007 15:59:13 +0100 Message-ID: <476933CB.6060700@mbnet.fi> Date: Wed, 19 Dec 2007 15:00:00 -0000 From: Kai Ruottu User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: Thomas Mittelstaedt CC: gcc-help@gcc.gnu.org Subject: Re: Problem building gcc-4.2.2 on 64-bit ubuntu linux References: <4768E104.2000801@cadenas.de> <47691F4A.4010607@cadenas.de> <47692CD3.7040708@cadenas.de> In-Reply-To: <47692CD3.7040708@cadenas.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2007-12/txt/msg00344.txt.bz2 Thomas Mittelstaedt wrote: > Okay, restartet from scratch with the following, but the I/usr/include/i486-linux-gnu/ would still not propagate. A 64-bit Linux should have its bi-arch (for 64- and 32-bit) native headers in fully usual '/usr/include'. So your '-I' should be totally vain.... > /usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory This should come with the optional 32-bit development headers & libraries, in an install package like: ftp://ftp.funet.fi/pub/Linux/mirrors/ubuntu/archive/pool/main/g/glibc/libc6-dev-i386_2.7-4ubuntu1_amd64.deb Just check what your installed glibc version is and then try to find the missing component for it. Maybe there is some simple "package installer" in Ubuntu, letting you to choose something like "32-bit development libraries" to be installed.