libpciaccess

Dwijadas Dey dwijad at gmail.com
Mon Oct 24 03:29:47 PDT 2011


Hi
   WH
          Yes, i was missing -lpciaccesss parameter in the configure
option though lib path was there. When i did pkg-config --cflags
--libs libpciaccess i find out that missing part. Now xorg has been
installed, but startx is not working, i will post it separately.

Many thanks for you suggestion/time
Dwdy

On 10/22/11, walter harms <wharms at bfs.de> wrote:
> "undefined reference to" means there is an object file or library missing
> in the final stage of linking.
>
> re,
>  wh
>
> Am 22.10.2011 16:13, schrieb Dwijadas Dey:
>> Hi
>>    list
>>            Able to solve the problem (
>> http://lists.freedesktop.org/archives/xorg/2011-October/053700.html
>> )related to drmsetserverinfo , the problem was in xorg compilation
>> where i set the location of LIBDRM_CFLAGS and LIBS to an old version
>> of libdrm (2.0.4), correcting these LIBDRM_CFLAGS and LIBDRM_LIBS
>> location solves the problem.
>>
>>  Now i am trying to recompile xorg with libpciaccess but at the last
>> stage of make command I got the errors which are given below.
>>
>>
>> *************************
>>
>> ./.libs/libxorg.a(xf86Helper.o): In function `xf86MatchPciInstances':
>> xf86Helper.c:(.text+0x3583): undefined reference to
>> `pci_slot_match_iterator_create'
>> xf86Helper.c:(.text+0x3597): undefined reference to `pci_device_next'
>> xf86Helper.c:(.text+0x35ab): undefined reference to `pci_iterator_destroy'
>> xf86Helper.c:(.text+0x35ce): undefined reference to
>> `pci_slot_match_iterator_create'
>> xf86Helper.c:(.text+0x3805): undefined reference to `pci_device_next'
>> xf86Helper.c:(.text+0x381d): undefined reference to `pci_iterator_destroy'
>> ./.libs/libxorg.a(xf86Init.o): In function
>> `probe_devices_from_device_sections':
>> xf86Init.c:(.text+0x693): undefined reference to
>> `pci_id_match_iterator_create'
>> xf86Init.c:(.text+0x74c): undefined reference to `pci_device_next'
>> xf86Init.c:(.text+0x764): undefined reference to `pci_iterator_destroy'
>> ./.libs/libxorg.a(xf86Init.o): In function
>> `add_matching_devices_to_configure_list':
>> xf86Init.c:(.text+0xaae): undefined reference to
>> `pci_id_match_iterator_create'
>> xf86Init.c:(.text+0xc64): undefined reference to `pci_device_next'
>> xf86Init.c:(.text+0xc7c): undefined reference to `pci_iterator_destroy'
>> ./.libs/libxorg.a(xf86Configure.o): In function
>> `bus_pci_newdev_configure':
>> xf86Configure.c:(.text+0x169): undefined reference to
>> `pci_device_get_vendor_name'
>> xf86Configure.c:(.text+0x177): undefined reference to
>> `pci_device_get_device_name'
>> ./.libs/libxorg.a(xf86pciBus.o): In function `xf86PciProbe':
>> xf86pciBus.c:(.text+0xae): undefined reference to
>> `pci_slot_match_iterator_create'
>> xf86pciBus.c:(.text+0x147): undefined reference to `pci_device_probe'
>> xf86pciBus.c:(.text+0x15f): undefined reference to `pci_device_next'
>> xf86pciBus.c:(.text+0x1cd): undefined reference to
>> `pci_device_cfg_read_u16'
>> xf86pciBus.c:(.text+0x29d): undefined reference to
>> `pci_device_get_vendor_name'
>> xf86pciBus.c:(.text+0x2ab): undefined reference to
>> `pci_device_get_device_name'
>> ./.libs/libxorg.a(xf86AutoConfig.o): In function
>> `listPossibleVideoDrivers':
>> xf86AutoConfig.c:(.text+0xf66): undefined reference to
>> `pci_slot_match_iterator_create'
>> xf86AutoConfig.c:(.text+0xf85): undefined reference to `pci_device_next'
>> xf86AutoConfig.c:(.text+0xf99): undefined reference to
>> `pci_iterator_destroy'
>> ./.libs/libxorg.a(linuxPci.o): In function `get_parent_bridge':
>> linuxPci.c:(.text+0x410): undefined reference to
>> `pci_id_match_iterator_create'
>> linuxPci.c:(.text+0x43e): undefined reference to
>> `pci_device_get_bridge_info'
>> linuxPci.c:(.text+0x464): undefined reference to `pci_device_next'
>> linuxPci.c:(.text+0x478): undefined reference to `pci_iterator_destroy'
>> ./.libs/libxorg.a(Pci.o): In function `xf86scanpci':
>>
>>
>> **************************************************************************
>>
>> I checked pciaccess.h where each of these definitions are there and it
>> is included in the include path.
>>
>> I want to know from the list, is it a bug related to libpciaccess(0.10.9)
>> ?
>>
>> Thanks
>> Dwdy
>> _______________________________________________
>> xorg at lists.freedesktop.org: X.Org support
>> Archives: http://lists.freedesktop.org/archives/xorg
>> Info: http://lists.freedesktop.org/mailman/listinfo/xorg
>> Your subscription address: wharms at bfs.de
>>
>



More information about the xorg mailing list