Link failure with libGLESv2.so

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Link failure with libGLESv2.so

Jump to solution
2,983 Views
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 Solution
1,418 Views
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.

View solution in original post

5 Replies
1,418 Views
OtavioSalvador
Senior Contributor II

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

0 Kudos
1,419 Views
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,418 Views
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 Kudos
1,418 Views
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 Kudos
1,418 Views
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.