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

Incompatible libteec.so #8

Closed
Pavel-Konarik opened this issue Aug 4, 2015 · 0 comments
Closed

Incompatible libteec.so #8

Pavel-Konarik opened this issue Aug 4, 2015 · 0 comments

Comments

@Pavel-Konarik
Copy link

Hi everyone, I was trying to run the hello_world code, but I fail to "make" due to incompatible libteec.so. (at least it seems to be the case).
I have the latest OP-TEE projects (obtained by the android repo sync).
In Makefile in /host/ I have noticed that $(TEEC_EXPORT) returned nothing, (i got the same error as bellow, but without "skipping incomatible" line) so I replaced this variable with path to optee_client/out/export. Now I get


root@debian:/devel/optee/lcu14_optee_hello_world# make
make[1]: Entering directory '/root/devel/optee/lcu14_optee_hello_world'
make -C host CROSS_COMPILE=
make[2]: Entering directory '/root/devel/optee/lcu14_optee_hello_world/host'
gcc -lteec -L/root/devel/optee/optee_client/out/export/lib -o hello_world hello_world.o
/usr/bin/ld: skipping incompatible /root/devel/optee/optee_client/out/export/lib/libteec.so when searching for -lteec
/usr/bin/ld: cannot find -lteec
collect2: error: ld returned 1 exit status
Makefile:25: recipe for target 'hello_world' failed
make[2]: *** [hello_world] Error 1
make[2]: Leaving directory '/root/devel/optee/lcu14_optee_hello_world/host'
Makefile:6: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/root/devel/optee/lcu14_optee_hello_world'
root@debian:
/devel/optee/lcu14_optee_hello_world#

screenshot from 2015-08-04 11 36 21
_world#


I know this is a year old code, did anything change since then?
Thanks for your help
Crispy

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

No branches or pull requests

1 participant