[Buildroot] [Bug 9991] New: SGX Error implicit declaration of function ‘dmac_map_area’

bugzilla at busybox.net bugzilla at busybox.net
Thu Jun 29 13:05:25 UTC 2017


https://bugs.busybox.net/show_bug.cgi?id=9991

            Bug ID: 9991
           Summary: SGX Error implicit declaration of function
                    ‘dmac_map_area’
           Product: buildroot
           Version: 2017.02.1
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned at buildroot.uclibc.org
          Reporter: michalciolek at gmail.com
                CC: buildroot at uclibc.org
  Target Milestone: ---

Hello, 

I would like to compile the image for BeagleBone Black with QT5 and SGX
(eglfs). 

My host: 
4.10.0-21-generic 
Ubuntu 17.04 x64 

I tried with branch 2017.05 and 2017.02.3: 

make beaglebone_defconfig
make menuconfig

I enabled: 
BR2_TOOLCHAIN_BUILDROOT_GLIBC
BR2_TOOLCHAIN_BUILDROOT_CXX
BR2_PACKAGE_TI_GFX
BR2_PACKAGE_TI_GFX_ES8
BR2_PACKAGE_QT5
BR2_PACKAGE_QT5BASE_EXAMPLES
BR2_PACKAGE_QT5BASE_GUI
BR2_PACKAGE_QT5BASE_EGLFS

After make I get error: 

/mnt/ssd2/buildroot/output/build/ti-gfx-5_01_01_02/GFX_Linux_KM/services4/srvkm/env/linux/osfunc.c:
In function ‘pvr_dmac_inv_range’:
/mnt/ssd2/buildroot/output/build/ti-gfx-5_01_01_02/GFX_Linux_KM/services4/srvkm/env/linux/osfunc.c:4331:2:
error: implicit declaration of function ‘dmac_map_area’
[-Werror=implicit-function-declaration]
  dmac_map_area(pvStart, pvr_dmac_range_len(pvStart, pvEnd), DMA_FROM_DEVICE);
  ^
  CC [M] 
/mnt/ssd2/buildroot/output/build/ti-gfx-5_01_01_02/GFX_Linux_KM/services4/srvkm/devices/sgx/sgxtransfer.o
  CC [M] 
/mnt/ssd2/buildroot/output/build/ti-gfx-5_01_01_02/GFX_Linux_KM/services4/srvkm/devices/sgx/sgxinit.o
  CC [M] 
/mnt/ssd2/buildroot/output/build/ti-gfx-5_01_01_02/GFX_Linux_KM/services4/srvkm/devices/sgx/sgxutils.o
  CC [M] 
/mnt/ssd2/buildroot/output/build/ti-gfx-5_01_01_02/GFX_Linux_KM/services4/srvkm/devices/sgx/sgxkick.o
  CC [M] 
/mnt/ssd2/buildroot/output/build/ti-gfx-5_01_01_02/GFX_Linux_KM/services4/srvkm/devices/sgx/pb.o
  CC [M] 
/mnt/ssd2/buildroot/output/build/ti-gfx-5_01_01_02/GFX_Linux_KM/services4/srvkm/devices/sgx/mmu.o
  CC [M] 
/mnt/ssd2/buildroot/output/build/ti-gfx-5_01_01_02/GFX_Linux_KM/services4/srvkm/devices/sgx/sgxreset.o
  CC [M] 
/mnt/ssd2/buildroot/output/build/ti-gfx-5_01_01_02/GFX_Linux_KM/services4/srvkm/devices/sgx/sgxpower.o
  CC [M] 
/mnt/ssd2/buildroot/output/build/ti-gfx-5_01_01_02/GFX_Linux_KM/services4/srvkm/bridged/bridged_support.o
  CC [M] 
/mnt/ssd2/buildroot/output/build/ti-gfx-5_01_01_02/GFX_Linux_KM/services4/srvkm/bridged/bridged_pvr_bridge.o
  CC [M] 
/mnt/ssd2/buildroot/output/build/ti-gfx-5_01_01_02/GFX_Linux_KM/services4/srvkm/bridged/sgx/bridged_sgx_bridge.o
cc1: some warnings being treated as errors
scripts/Makefile.build:258: polecenia dla obiektu
'/mnt/ssd2/buildroot/output/build/ti-gfx-5_01_01_02/GFX_Linux_KM/services4/srvkm/env/linux/osfunc.o'
nie powiodły się
make[4]: ***
[/mnt/ssd2/buildroot/output/build/ti-gfx-5_01_01_02/GFX_Linux_KM/services4/srvkm/env/linux/osfunc.o]
Błąd 1
make[4]: *** Oczekiwanie na niezakończone zadania....
Makefile:1401: polecenia dla obiektu
'_module_/mnt/ssd2/buildroot/output/build/ti-gfx-5_01_01_02/GFX_Linux_KM' nie
powiodły się
make[3]: ***
[_module_/mnt/ssd2/buildroot/output/build/ti-gfx-5_01_01_02/GFX_Linux_KM] Błąd
2
Makefile:478: polecenia dla obiektu 'all' nie powiodły się
make[2]: *** [all] Błąd 2
package/pkg-generic.mk:227: polecenia dla obiektu
'/mnt/ssd2/buildroot/output/build/ti-gfx-5_01_01_02/.stamp_built' nie powiodły
się
make[1]: *** [/mnt/ssd2/buildroot/output/build/ti-gfx-5_01_01_02/.stamp_built]
Błąd 2
Makefile:79: polecenia dla obiektu '_all' nie powiodły się
make: *** [_all] Error 2

How to fix it?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the buildroot mailing list