[mvapich-discuss] [mvapich-dis] How to compile without setting -lpciaccess

Ju JiaJia jujj603 at gmail.com
Sat Jul 6 04:00:23 EDT 2013


New build mvapich2-1.9 uses libpciaccess
When i compile previous programs i got a lot of undefined references, like
below
changelog says libpciaccess is used to replace libpci.

I don't want to modify every Makefile to use this new build, any convenient
way to do this ?


topology-pci.c:(.text+0xe63): undefined reference to `pci_system_init'
topology-pci.c:(.text+0xea3): undefined reference to
`pci_slot_match_iterator_create'
topology-pci.c:(.text+0xeb6): undefined reference to `pci_device_next'
topology-pci.c:(.text+0xecf): undefined reference to `pci_device_probe'
topology-pci.c:(.text+0xef3): undefined reference to `pci_device_cfg_read'
topology-pci.c:(.text+0x1314): undefined reference to
`pci_device_get_vendor_name'
topology-pci.c:(.text+0x133c): undefined reference to
`pci_device_get_device_name'
topology-pci.c:(.text+0x14a6): undefined reference to `pci_device_next'
topology-pci.c:(.text+0x14c1): undefined reference to `pci_iterator_destroy'
topology-pci.c:(.text+0x14c6): undefined reference to `pci_system_cleanup'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.cse.ohio-state.edu/pipermail/mvapich-discuss/attachments/20130706/2206bef0/attachment-0001.html


More information about the mvapich-discuss mailing list