amd-gpu-bin-mx51 libGLESv2.so linking error

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

amd-gpu-bin-mx51 libGLESv2.so linking error

1,579 Views
vyacheslav_maty
Contributor I

Hi!

I have a RSB4210 board (i.MX536) from Advantech running Linux 2.6.35.3.

I am building Qt 5.5 using Ubuntu 14.04 rootfs and gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabihf compilter.

I want to use EGLFS backend which requires OpenGL ES libraries.

I've downloaded amd-gpu-bin-mx51 (and unpacked to my rootfs) libraries from here:

https://www.freescale.com/webapp/Download?colCode=IMX53_LINUX_1109_BSP_PATCH&appType=license&locatio...

But when I try to configure Qt, I get the following error:

...path/to/rootfs/usr/lib/libGLESv2.so: undefined reference to `operator new[](unsigned int)@GLIBCXX_3.4'

...path/to/rootfs/usr/lib/libGLESv2.so: undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)@GLIBCXX_3.4'

...path/to/rootfs/usr/lib/libGLESv2.so: undefined reference to `__aeabi_atexit@CXXABI_ARM_1.3.3'

...path/to/rootfs/usr/lib/libGLESv2.so: undefined reference to `std::string::assign(std::string const&)@GLIBCXX_3.4'

...path/to/rootfs/usr/lib/libGLESv2.so: undefined reference to `std::string::_Rep::_M_destroy(std::allocator<char> const&)@GLIBCXX_3.4'

...path/to/rootfs/usr/lib/libGLESv2.so: undefined reference to `std::string::resize(unsigned int, char)@GLIBCXX_3.4'

...path/to/rootfs/usr/lib/libGLESv2.so: undefined reference to `operator delete(void*)@GLIBCXX_3.4'

[... and lots of other undefined references]

collect2: error: ld returned 1 exit status

I suspect that those libraries from amd-gpu-bin-mx51 archive are not compatible with new glibc from ubuntu 14.04.

Is there an updated version of those libraries? The version I found on Freescale site is from 2011.

Or is there a way to work around this error?

Thanks!

Labels (3)
0 Kudos
Reply
2 Replies

1,274 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hi Vyacheslav,

You are correct!, those files are not compatible with latest ubuntu 14, and as far as I know there is no any upgrade on those AMD gpu binaries, also, kernel 2.6 is not possible to be compiled gcc 4.9.

You can contact AMD for support on it. Or try to use the Yocto community project for using amd gpu library and QT4 or QT5

Regards

0 Kudos
Reply

1,274 Views
vyacheslav_maty
Contributor I

bump

0 Kudos
Reply