[Buildroot] Question about pkg-config pc files

Patricia Holden pholden at nklabs.com
Thu Jul 22 23:38:06 UTC 2021


I switched from ti-gfx to ti-sgx, now I get another error:

/home/patricaholden/williamson/build07062021/Pro3-Linux/buildroot-2020.02/output/build/ti-sgx-km-4519ed3b83d1d72207ddc2874c7eb5e5a7f20d8d/eurasia_km/eurasiacon/binary_omap_linux_xorg_release/target_armhf/kbuild/services4/srvkm/env/linux/mm.c:69:10:
fatal error: linux/dma-direct.h: No such file or directory
   69 | #include <linux/dma-direct.h>
      |          ^~~~~~~~~~~~~~~~~~~~


I checked linux-headers and only see "include/linux/dma-direction.h", no
"include/linux/dma-direct.h".

Not sure if this is the same file this package is looking for, but just
renamed.  Looking through config for the kernel to see if I missed
something.



On Thu, Jul 22, 2021 at 3:52 PM Patricia Holden <pholden at nklabs.com> wrote:

> Thanks, I will try that!
>
> On Thu, Jul 22, 2021 at 3:40 PM Arnout Vandecappelle <arnout at mind.be>
> wrote:
>
>>
>>
>> On 22/07/2021 19:36, Patricia Holden wrote:
>> > Hi Thomas,
>> >
>> > The saga continues.  I found that multimedia is not added
>> > because BR2_PACKAGE_QT5_GL_AVAILABLE is not set.  In order to configure
>> QT
>> > OpenGL, I enabled ti-gfx since our board is a beaglebone-x15.
>>
>>  Not that I've ever used this board, but AFAIK for AM57xx you should use
>> ti-sgx,
>> not ti-gfx.
>>
>>  Regards,
>>  Arnout
>>
>>
>> >  Now I can't get
>> > past building ti-gfx.  I have a local source directory for the kernel,
>> since we
>> > had to add our own drivers for some proprietary devices on the design
>> based on
>> > beaglebone X15.  I also use the local source directory to generate
>> > linux-headers.  We based the kernel from TI's SDK.  I checked the
>> kernel config,
>> > fbdev omap is selected.  But I get the following error:
>> >
>> >  CC [M]
>> >
>>  /home/patricaholden/williamson/build07062021/Pro3-Linux/buildroot-2020.02/output/build/ti-gfx-5_01_01_02/GFX_Linux_KM/services4/srvkm/common/pvrsrv.o
>> >   CC [M]
>> >
>>  /home/patricaholden/williamson/build07062021/Pro3-Linux/buildroot-2020.02/output/build/ti-gfx-5_01_01_02/GFX_Linux_KM/services4/srvkm/common/handle.o
>> >
>> /home/patricaholden/williamson/build07062021/Pro3-Linux/buildroot-2020.02/output/build/ti-gfx-5_01_01_02/GFX_Linux_KM/services4/3rdparty/dc_omapfb3_linux/omaplfb_linux.c:133:10:
>> > fatal error: omapfb/omapfb.h: No such file or directory
>> >   133 | #include <omapfb/omapfb.h>
>> >       |          ^~~~~~~~~~~~~~~~~
>> >
>> >
>> > The file "omapfb.h" is in drivers/video/fbdev/omap2/omapfb, but for
>> some reason
>> > the ti-gfx package does not find it.  We are using
>> buildroot-2020-20.02.12.
>> >
>> > I did not see this error in the buildroot issues, I am wondering why it
>> is
>> > causing problems.  My only guess is that it may have something to do
>> with the
>> > fact that I have a local kernel source directory.
>>
>> [snip]
>>
>
>
> --
> Patricia A. Holden
>


-- 
Patricia A. Holden
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20210722/a9697f73/attachment.html>


More information about the buildroot mailing list