This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

desktop-linux-sdk building error

Hi,

I have downloaded desktop-linux-sdk_01_00_00_02.bin and when i build it using make it give error

root@tushar-Z3-7529:/opt/ti/desktop-linux-sdk_01_00_00_02# make all
make -C /opt/ti/desktop-linux-sdk_01_00_00_02/sdk/pciedrv
make[1]: Entering directory `/opt/ti/desktop-linux-sdk_01_00_00_02/sdk/pciedrv'
gcc -Werror  -I . -I inc -I .. -I ../config  -D _FILE_OFFSET_BITS=64   -c src/pciedrv.c -o obj/pciedrv.o
src/pciedrv.c:51: fatal error: pciaccess.h: No such file or directory
compilation terminated.
make[1]: *** [obj/pciedrv.o] Error 1
make[1]: Leaving directory `/opt/ti/desktop-linux-sdk_01_00_00_02/sdk/pciedrv'
make: *** [driver] Error 2

I have checked that following two header file are not available,

pciaccess.h and bfd.h which are referred in drivers src file. Is there any mistake from my side in installation or  anything else....?



  • The following packages are pre-requisites for desktop-linux-sdk.
    • libpciaccess-dev
    • binutils-dev
    Please do the following commands to install the packages.
    sudo apt-get install libpciaccess-dev
    sudo apt-get install binutils-dev
    This is already mentioned in the getting started guide for your reference.
    http://processors.wiki.ti.com/index.php/Desktop-linux-sdk_01.00.00_Getting_Started_Guide