[openib-general] Re: mods to tvflash/configure.in broke build

Bernhard Fischer rep.nop at aon.at
Wed Mar 1 08:08:25 PST 2006


On Wed, Mar 01, 2006 at 05:18:43PM +0200, Jack Morgenstein wrote:
>Hi,
>Last night, you checked in a mod to tvflash/configure.in which makes 
><pci/pci.h> a required file:
>
>svn log -v trunk/src/userspace/tvflash    yields:
>------------------------------------------------------------------------
>r5518 | roland | 2006-02-28 07:03:32 +0200 (Tue, 28 Feb 2006) | 6 lines
>Changed paths:
>   M /gen2/trunk/src/userspace/tvflash/configure.in
>
>- check for pci/pci.h and bail out if it is not found.
>- check for needed functions provided by libpci
>
>Signed-off-by: Bernhard Fischer <rep.nop at aon.at>
>Signed-off-by: Roland Dreier <rolandd at cisco.com>
>
>------------------------------------------------------------------------
>
>This has broken our build, since <pci/pci.h> is not in the userspace include 
>search list.

# dpkg -S /usr/include/pci/pci.h
pciutils-dev: /usr/include/pci/pci.h

respectively on a SuSE box
# rpm -qf /usr/include/pci/pci.h 
pciutils-devel-2.1.99_test9-3

Which pci/pci.h did you use on your box when it compiled successfully
before the recent checkin? Does tvflash build if you revert that patch?

>The only place <pci/pci.h> does appear is in the kernel, in pci source code 
>directories: under drivers/pci, and arch/i386/pci, and that does not sound 
>correct for outside inclusion:
>
>The default search path for gcc is:  (verified by running gcc -v)
>
> /usr/local/include
> /usr/lib/gcc/i586-suse-linux/4.0.2/include
> /usr/lib/gcc/i586-suse-linux/4.0.2/../../../../i586-suse-linux/include
> /usr/include
>
>Maybe you wished to check <asm/pci.h>, which does exist in userspace includes?

Perhaps you need to install the pciutils-devel package?



More information about the general mailing list