From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1FySbV-0005YC-7D for garchives@archives.gentoo.org; Thu, 06 Jul 2006 12:05:09 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k66C2prU015518; Thu, 6 Jul 2006 12:02:51 GMT Received: from smtp.nexusalpha.com (smtp.nexusalpha.com [213.48.13.50]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k66C2nbX021503 for ; Thu, 6 Jul 2006 12:02:51 GMT Received: from LXP0004 ([192.168.1.82]) by smtp.nexusalpha.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 6 Jul 2006 13:02:49 +0100 From: "Ryan Baldwin" To: Subject: RE: [gentoo-embedded] Problem cross compiling modular X Date: Thu, 6 Jul 2006 13:02:48 +0100 Organization: Nexus Alpha Ltd Message-ID: <001201c6a0f4$194451d0$1a06a8c0@LXP0004> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-embedded@gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 Thread-Index: Acag7AyGTsqyCEIORaOkMIumSQ8UsQABtPLQ In-Reply-To: <000101c6a0ec$0ca2f510$1a06a8c0@LXP0004> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 X-OriginalArrivalTime: 06 Jul 2006 12:02:49.0994 (UTC) FILETIME=[1A46A6A0:01C6A0F4] X-Archives-Salt: 1b402665-3a9a-494d-888f-c0f191b0d4f3 X-Archives-Hash: 27739980f9026a929357c5b6a983e2e4 Hi, Since sending my last post I have found: cp -r /tmp/target/usr/include/X11 /usr/i686-pc-linux-uclibc/sys-include/ 'fools' it into building. Does anyone know a 'proper' way of getting this working ? This then leads onto the next problem emerge'ing 'libX11'. 'checking whether malloc(0) returns NULL... configure: error: cannot run test program while cross compiling'. I'm quite new to cross compiling. I can see what the problem is - configure cant run any programs in the target environment to fill out config.guess - because its running on the host. Is there any well known way of working around this other then trying to manually write a config.guess for the packages that can't configure themselves for the target environment? Thanks Ryan -- gentoo-embedded@gentoo.org mailing list