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

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

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

1,589 次查看
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!

标签 (3)
0 项奖励
回复
2 回复数

1,284 次查看
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 项奖励
回复

1,284 次查看
vyacheslav_maty
Contributor I

bump

0 项奖励
回复