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 [EMAIL PROTECTED]:/usr/src/openib_gen2/src/userspace/tvflash$ make clean test -z "src/tvflash" || rm -f src/tvflash rm -f *.o [EMAIL PROTECTED]:/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' [EMAIL PROTECTED]:/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) [EMAIL PROTECTED]:/usr/src/openib_gen2/src/userspace/tvflash$ _______________________________________________ openib-general mailing list [email protected] http://openib.org/mailman/listinfo/openib-general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
