Received: from hxhsvr03.internetintuitive.net ([80.254.228.43]) by linuxtogo.org with esmtp (Exim 4.69) (envelope-from ) id 1OVNaB-0004hs-RJ for openembedded-devel@lists.openembedded.org; Sun, 04 Jul 2010 13:42:00 +0200 Received: from durham.keylevel.com ([109.224.134.115]:7872 helo=[192.168.1.98]) by hxhsvr03.internetintuitive.net with esmtpa (Exim 4.69) (envelope-from ) id 1OVNVZ-0004yq-S1 for openembedded-devel@lists.openembedded.org; Sun, 04 Jul 2010 12:37:13 +0100 Message-Id: From: Chris Tapp To: openembedded-devel@lists.openembedded.org Mime-Version: 1.0 (Apple Message framework v936) Date: Sun, 4 Jul 2010 12:37:11 +0100 X-Mailer: Apple Mail (2.936) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - hxhsvr03.internetintuitive.net X-AntiAbuse: Original Domain - lists.openembedded.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - keylevel.com X-SA-Exim-Connect-IP: 80.254.228.43 X-SA-Exim-Mail-From: dokuwiki@keylevel.com X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on discovery X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.2.5 X-SA-Exim-Version: 4.2.1 (built Wed, 25 Jun 2008 17:20:07 +0000) X-SA-Exim-Scanned: Yes (on linuxtogo.org) Subject: Cross compile badness - /usr/include in /usr/include X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jul 2010 11:42:00 -0000 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit I sometimes get "Cross compile badness - /usr/include in /usr/ include", most recently when trying to build libsdl-ttf. I finally tracked down that the cause was having part of the SDL development environment installed on the build host, leading to me having a /usr/include/SDL directory. Uninstalling this package from the host allowed the build to work. 1) Is this a 'known issue' with building? 2) Is there any way I can guard against it? I do now have a clue to what it means, but the cause may not always be so obvious. 3) Can I modify the .bb files to prevent this? Is it possible to 'chroot' (or so such) so that the likes of /usr are constrained to the build environment? Chris