New: SGX Error implicit declaration of function ‘dmac_map_area’
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_GLIBCBR2_TOOLCHAIN_BUILDROOT_CXXBR2_PACKAGE_TI_GFXBR2_PACKAGE_TI_GFX_ES8BR2_PACKAGE_QT5BR2_PACKAGE_QT5BASE_EXAMPLESBR2_PACKAGE_QT5BASE_GUIBR2_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 errorsscripts/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 2package/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?
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.
[Buildroot] [Bug 9991] SGX Error implicit declaration of function ‘dmac_map_area’
https://bugs.busybox.net/show_bug.cgi?id=9991
--- Comment #1 from Arnout Vandecappelle <[email protected]> ---
As far as I know, ti-gfx is no longer supported and for recent SoCs with recent kernels you should use ti-gfx-km (and -um). That's why beaglebone_qt5_defconfig selects it. Is there any reason why you don't use that defconfig?
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.
[Buildroot] [Bug 9991] SGX Error implicit declaration of function ‘dmac_map_area’
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=9991
michalciolek at gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED--- Comment #2 from michalciolek at gmail.com ---
I followed the tutorial:
http://vanguardiasur.com.ar/opengl-es-on-beaglebone-black/ and I did not know that ti-gfx is no longer supported... With (beaglebone_qt5_defconfig) ti-gfx-km (and -um) options works! Thanks!
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.
[Buildroot] [Bug 9991] SGX Error implicit declaration of function ‘dmac_map_area’
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=9991
--- Comment #3 from Arnout Vandecappelle <[email protected]> --- (In reply to michalciolek from comment #2)
Quoted 1 line
I followed the tutorial: http://vanguardiasur.com.ar/opengl-es-on-beaglebone-black/
Could you contact the people on that site and ask them to update their page to use the beaglebone_qt5_defconfig?
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.