All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 9991] New: SGX Error implicit declaration of function ‘dmac_map_area’
@ 2017-06-29 13:05 bugzilla at busybox.net
  2017-07-01 10:14 ` [Buildroot] [Bug 9991] " bugzilla at busybox.net
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2017-06-29 13:05 UTC (permalink / raw)
  To: buildroot

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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [Bug 9991] SGX Error implicit declaration of function ‘dmac_map_area’
  2017-06-29 13:05 [Buildroot] [Bug 9991] New: SGX Error implicit declaration of function ‘dmac_map_area’ bugzilla at busybox.net
@ 2017-07-01 10:14 ` bugzilla at busybox.net
  2017-07-04 14:40 ` bugzilla at busybox.net
  2017-07-04 15:01 ` bugzilla at busybox.net
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2017-07-01 10:14 UTC (permalink / raw)
  To: buildroot

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

--- Comment #1 from Arnout Vandecappelle <arnout@mind.be> ---
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?

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [Bug 9991] SGX Error implicit declaration of function ‘dmac_map_area’
  2017-06-29 13:05 [Buildroot] [Bug 9991] New: SGX Error implicit declaration of function ‘dmac_map_area’ bugzilla at busybox.net
  2017-07-01 10:14 ` [Buildroot] [Bug 9991] " bugzilla at busybox.net
@ 2017-07-04 14:40 ` bugzilla at busybox.net
  2017-07-04 15:01 ` bugzilla at busybox.net
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2017-07-04 14:40 UTC (permalink / raw)
  To: buildroot

https://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!

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [Bug 9991] SGX Error implicit declaration of function ‘dmac_map_area’
  2017-06-29 13:05 [Buildroot] [Bug 9991] New: SGX Error implicit declaration of function ‘dmac_map_area’ bugzilla at busybox.net
  2017-07-01 10:14 ` [Buildroot] [Bug 9991] " bugzilla at busybox.net
  2017-07-04 14:40 ` bugzilla at busybox.net
@ 2017-07-04 15:01 ` bugzilla at busybox.net
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2017-07-04 15:01 UTC (permalink / raw)
  To: buildroot

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

--- Comment #3 from Arnout Vandecappelle <arnout@mind.be> ---
(In reply to michalciolek from comment #2)
> 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?

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-07-04 15:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-29 13:05 [Buildroot] [Bug 9991] New: SGX Error implicit declaration of function ‘dmac_map_area’ bugzilla at busybox.net
2017-07-01 10:14 ` [Buildroot] [Bug 9991] " bugzilla at busybox.net
2017-07-04 14:40 ` bugzilla at busybox.net
2017-07-04 15:01 ` bugzilla at busybox.net

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.