Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

linking of test app needs libUMP #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

linking of test app needs libUMP #12

wants to merge 1 commit into from

Conversation

fperrad
Copy link

@fperrad fperrad commented Jul 4, 2015

issue detected on Buildroot, with r2p4

make[2]: Entering directory `/home/buildroot/build/instance-0/output/build/sunxi-mali-d343311efc8db166d8371b28494f0f27b6a58724/test'
/home/buildroot/build/instance-0/output/host/usr/bin/armv5-ctng-linux-gnueabi-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64   -Os  -lm -ldl -lpthread -o test test.c -lEGL -lGLESv2
/home/buildroot/build/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/armv5-ctng-linux-gnueabi/4.8.3/../../../../armv5-ctng-linux-gnueabi/bin/ld: warning: libUMP.so.2, needed by /home/buildroot/build/instance-0/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/lib/libMali.so, not found (try using -rpath or -rpath-link)
/home/buildroot/build/instance-0/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/lib/libEGL.so: undefined reference to `ump_close'
/home/buildroot/build/instance-0/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/lib/libEGL.so: undefined reference to `ump_mapped_pointer_get'
/home/buildroot/build/instance-0/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/lib/libEGL.so: undefined reference to `ump_secure_id_get'
/home/buildroot/build/instance-0/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/lib/libEGL.so: undefined reference to `ump_mapped_pointer_release'
/home/buildroot/build/instance-0/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/lib/libMali.so: undefined reference to `ump_reference_add'
/home/buildroot/build/instance-0/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/lib/libMali.so: undefined reference to `ump_size_get'
/home/buildroot/build/instance-0/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/lib/libEGL.so: undefined reference to `ump_reference_release'
/home/buildroot/build/instance-0/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/lib/libEGL.so: undefined reference to `ump_open'
collect2: error: ld returned 1 exit status

issue detected on Buildroot, with `r2p4`

```
make[2]: Entering directory `/home/buildroot/build/instance-0/output/build/sunxi-mali-d343311efc8db166d8371b28494f0f27b6a58724/test'
/home/buildroot/build/instance-0/output/host/usr/bin/armv5-ctng-linux-gnueabi-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64   -Os  -lm -ldl -lpthread -o test test.c -lEGL -lGLESv2
/home/buildroot/build/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/armv5-ctng-linux-gnueabi/4.8.3/../../../../armv5-ctng-linux-gnueabi/bin/ld: warning: libUMP.so.2, needed by /home/buildroot/build/instance-0/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/lib/libMali.so, not found (try using -rpath or -rpath-link)
/home/buildroot/build/instance-0/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/lib/libEGL.so: undefined reference to `ump_close'
/home/buildroot/build/instance-0/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/lib/libEGL.so: undefined reference to `ump_mapped_pointer_get'
/home/buildroot/build/instance-0/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/lib/libEGL.so: undefined reference to `ump_secure_id_get'
/home/buildroot/build/instance-0/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/lib/libEGL.so: undefined reference to `ump_mapped_pointer_release'
/home/buildroot/build/instance-0/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/lib/libMali.so: undefined reference to `ump_reference_add'
/home/buildroot/build/instance-0/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/lib/libMali.so: undefined reference to `ump_size_get'
/home/buildroot/build/instance-0/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/lib/libEGL.so: undefined reference to `ump_reference_release'
/home/buildroot/build/instance-0/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/lib/libEGL.so: undefined reference to `ump_open'
collect2: error: ld returned 1 exit status
```
@RomainNaour
Copy link

Hi,

It's not only the test app but any application linking with libEGL.so

See (efl in this case):
http://lists.busybox.net/pipermail/buildroot/2017-February/183500.html

Best regards,
Romain

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants