[openib-general] tvflash utility

Shirley Ma xma at us.ibm.com
Mon May 16 15:35:08 PDT 2005


Hi, Grant,

> I have (debian) pciutils-dev installed.
I did a fully installation, still missed this package. I need to install 
this package.

JS20 daughtercard has been successfully loaded with 3.3.2 cougar firmware 
(fw-23108-a1-rel.mlx + MTPB23108_128MB.brd).

Thanks
Shirley Ma
IBM Linux Technology Center
15300 SW Koll Parkway
Beaverton, OR 97006-6063
Phone(Fax): (503) 578-7638





Grant Grundler <iod00d at hp.com> 
05/16/2005 03:31 PM

To
Roland Dreier <roland at topspin.com>
cc
Shirley Ma/Beaverton/IBM at IBMUS, openib-general at openib.org
Subject
Re: [openib-general] tvflash utility






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$

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20050516/50bb75b5/attachment.html>


More information about the general mailing list