[openib-general] tvflash utility

Grant Grundler iod00d at hp.com
Mon May 16 15:31:44 PDT 2005


On Mon, May 16, 2005 at 10:07:57AM -0700, Roland Dreier wrote:
>     Shirley> It doesn't compile. pci_alloc is not in -lpci. Any
>     Shirley> library I forgot to install? The README file is not
>     Shirley> clear.
> 
> -lpci should include pci_alloc() -- what version of pciutils do you
> have installed?  One possibility is that you need to install the
> pciutils-devel package as well as the pciutils package.

tvflash builds fine for me on ia64 (Debian).
I have (debian) pciutils-dev installed.
I don't think there are any other unusual dependencies though.

grant


grundler at gsyprf3:/usr/src/openib_gen2/src/userspace/tvflash$ make clean
test -z "src/tvflash" || rm -f src/tvflash
rm -f *.o
grundler at gsyprf3:/usr/src/openib_gen2/src/userspace/tvflash$ make
make  all-am
make[1]: Entering directory `/home/src/openib_gen2/src/userspace/tvflash'
if gcc -DHAVE_CONFIG_H -I. -I. -I.    -Wall -g -O2 -MT src_tvflash-tvflash.o -MD -MP -MF ".deps/src_tvflash-tvflash.Tpo" -c -o src_tvflash-tvflash.o `test -f 'src/tvflash.c' || echo './'`src/tvflash.c; \
then mv -f ".deps/src_tvflash-tvflash.Tpo" ".deps/src_tvflash-tvflash.Po"; else rm -f ".deps/src_tvflash-tvflash.Tpo"; exit 1; fi
gcc  -g -O2   -o src/tvflash  src_tvflash-tvflash.o  -lpci 
make[1]: Leaving directory `/home/src/openib_gen2/src/userspace/tvflash'
grundler at gsyprf3:/usr/src/openib_gen2/src/userspace/tvflash$ dpkg -l pci\* 
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
ii  pciutils       2.1.11-15      Linux PCI Utilities
ii  pciutils-dev   2.1.11-15      Linux PCI Utilities (development files)
grundler at gsyprf3:/usr/src/openib_gen2/src/userspace/tvflash$



More information about the general mailing list