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

Jack Morgenstein jackm at mellanox.co.il
Wed Mar 1 07:18:43 PST 2006


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.
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?

-- Jack



More information about the general mailing list