Return-Path: Received: from mail-pz0-f171.google.com ([209.85.222.171]:34024 "EHLO mail-pz0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751871AbZKZDLn (ORCPT ); Wed, 25 Nov 2009 22:11:43 -0500 Received: by mail-pz0-f171.google.com with SMTP id 1so243445pzk.33 for ; Wed, 25 Nov 2009 19:11:50 -0800 (PST) MIME-Version: 1.0 Date: Thu, 26 Nov 2009 11:11:50 +0800 Message-ID: <2986b3940911251911x14e57c19s2fe7c8eb140798bf@mail.gmail.com> Subject: about headers_instal From: Zhi Li Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kbuild-owner@vger.kernel.org List-ID: To: linux-kbuild@vger.kernel.org Hello, I'm building OS via LFS similar mode. Now I'm trying to build kernel 2.6.31.5, then upon it building application packages. Now my trouble is on those header files generated by kernel build option - "header_install". Until now I met 2 problems: 1) 2.6.31.5 generated several include sub folders: asm, asm-generic, drm, linux, mtd, rdma, scsi, sound, video, xen. After I copied them into /usr/include, I found some packages like cdrtools, eject, hdparm, util-linux can not be compiled, because in scsi/scsi.h line 145 "u8" is undefined. I checked it, it seems that u8 definition is for kernel build not for application. 2) perl (5.8.8) and raidtools (1.00.3) need "asm/page.h", but there's none generated. Previously, I built my system under kernel 2.6.27.7. There's no above problems. Could some kindly answer my questions? Thanks a lot. Zhi