Link failure with libGLESv2.so

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Link failure with libGLESv2.so

跳至解决方案
3,430 次查看
henkfijnvandraa
Contributor II

After updating with gpu-viv-bin-mx6q-3.0.35-4.0.0.gz our Qt5 application no longer links correctly.

errors are:

libGLESv2.so: undefined reference to `gcoOS_MemCopy'

libGLESv2.so: undefined reference to `gcoOS_StrLen'

libGLESv2.so: undefined reference to `gcoOS_ZeroMemory'

I found that prototypes of these (and some other) calls were removed from the updated include file HAL/gc_hal_base.h so these

changes must be deliberate.

So my questions are:

Is the file libGLESv2.so.2.0.0 not correctly updated?

or

Is there another library that needs to be linked to provide these functions?

regards,

Henk

1 解答
1,865 次查看
karina_valencia
NXP Apps Support
NXP Apps Support

Employee

Those functions are no more public and defined a static functions. Can you please try to rebuild the QT5 framwork and the application with the  new binaries.

在原帖中查看解决方案

5 回复数
1,865 次查看
OtavioSalvador
Senior Contributor II

You seem to lack a '-lGAL' gcc option.

0 项奖励
回复
1,866 次查看
karina_valencia
NXP Apps Support
NXP Apps Support

Employee

Those functions are no more public and defined a static functions. Can you please try to rebuild the QT5 framwork and the application with the  new binaries.

1,865 次查看
tomschuring
Contributor I

i've got the same problem, could you point me to where i can download

gpu-viv-bin-mx6q-3.0.35-4.0.0.gz please ?

0 项奖励
回复
1,865 次查看
tomschuring
Contributor I

i found one here: http://repository.timesys.com/buildsources/g/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q-3.0.35-4.0.0/

but i'd rather get it directly from freescale for security purposes.

0 项奖励
回复
1,865 次查看
henkfijnvandraa
Contributor II

Go to: https://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=IMX6_SW

click the i.MX6 SoloLit Evaluation Kit dropdown box under the software and updates paragraph

select Linux source

Through the licence agreement this will bring you to:

https://freescale.securehttp.internapcdn.net/secure_freescale/ssl/secured/bsps/L3.0.35_4.1.0_130816_...

Within that tar file you will find further tar files, among which the gpu-viv-bin

I solved my original problem, one of the files was not correctly updated.

regards,

Henk.