Comments (16)
I've been testing this from scratch earlier today and it is working fine. You have probably missed installing a dependency or diverged from our official instructions of how to setup QEMU.
from build.
@jbech-linaro Great, thanks for checking!
I created a new user and it did indeed work.
I had changed $HOME on my other account because I already had a version in ~/optee/devel could it be that the scripts determine the home directory differently?
from build.
could it be that the scripts determine the home directory differently?
No, I don't think so, everything we are doing is relative to the root of the repo forest. I've been using it from $HOME
, /mnt/...
, /opt/...
etc. But anyhow, glad you got it to work!
from build.
It doesn't work if $HOME is different from /home/user!
from build.
It also doesn't work in a different directory than /home/user/optee/devel if $HOME points to /home/user!
from build.
I'm sure I follow you here, my QEMU setup is like this:
jbech@debby /media/jbech/SSHD_LINUX/devel/optee_projects/qemu/build [(no branch)]
$ pwd
/media/jbech/SSHD_LINUX/devel/optee_projects/qemu/build
jbech@debby /media/jbech/SSHD_LINUX/devel/optee_projects/qemu/build [(no branch)]
$ echo $HOME
/home/jbech
I.e., I'm having $HOME
as $HOME
is expected to be. But I still can have my QEMU setup in any other folder on any disk. I probably misunderstand something you are trying to tell me.
from build.
Hm..no that's exactly what I am trying to tell you. Not sure what the problem is then.
from build.
Damn. Seems I had some stale environment variables lying around. It works in a fresh shell.
from build.
Alright! Problem solved! Great!
from build.
@jbech-linaro Yeah, maybe add a comment to the readme where it tells you to use $HOME/optee/devel that any directory will work.
from build.
@simonjj22 , you are referring to the lines in 7.3 here? I thought it was understood implicitly that any folder will do. But, I can add something that clarifies is a bit more next time I'm about to update the README.md.
from build.
Yes. Should I create a pull request? Changing this seems like a matter of seconds. :)
from build.
Yes. Should I create a pull request? Changing this seems like a matter of seconds. :)
Please go a head!
from build.
when I do make run only in qemu build after adding my own applicatio to optee_examples in qemu from optee_examples in optee I got following error
/******************************************************************************************/
CMake Error at basic/CMakeLists.txt:11 (target_link_libraries):
Attempt to add link library "teec" to target "hello_world" which is not
built in this directory.
CMake Error at basic/CMakeLists.txt:13 (install):
install TARGETS given target "hello_world" which does not exist in this
directory.
-- Configuring incomplete, errors occurred!
See also "/home/takkaakb/qemu/out-br/build/optee_examples-1.0/CMakeFiles/CMakeOutput.log".
package/pkg-generic.mk:211: recipe for target '/home/takkaakb/qemu/out-br/build/optee_examples-1.0/.stamp_configured' failed
make[2]: *** [/home/takkaakb/qemu/out-br/build/optee_examples-1.0/.stamp_configured] Error 1
Makefile:16: recipe for target '_all' failed
make[1]: *** [_all] Error 2
make[1]: Leaving directory '/home/takkaakb/qemu/out-br'
common.mk:198: recipe for target 'buildroot' failed
make: *** [buildroot] Error 2
from build.
Attempt to add link library "teec" to target "hello_world" which is not
built in this directory.
So, you need to remove references to "hello_world" in your "
basic`" TA's makefiles. I believe that is what the above message is saying, that you are trying to link to something that is not in this particular directory.
from build.
thank you
from build.
Related Issues (20)
- CXX tests again failing to build with Arm gcc 11.3.1 release HOT 17
- failure to run with error "qemu-system-aarch64: -netdev user,id=vmnic: network backend 'user' is not compiled into this binary" HOT 5
- Unavaliabilty of optee_client_java_api. HOT 5
- How the memory size set in the qemu.mk file (such as 1057 at this time) is allocated to REE and TEE? HOT 9
- How to integrate OP-TEE in android studio HOT 1
- Failed to boot on RPI3
- [RFC] Makefiles for RISC-V platforms HOT 13
- Fail to build OP-TEE 3.21.0 for Hikey 960 HOT 7
- Optee build failed on RPi 3B+ due to make[4]: *** [Makefile:2377: s-automata] Error 137 HOT 2
- Build latest version on debian 11 fails HOT 1
- OP-TEE building under company proxy HOT 1
- Error building op-tee for QEMUv8 HOT 6
- Using hikey620's uart0 to console NW world HOT 1
- Issue with building image - v3.22.0 on Raspberry Pi 3B+ HOT 1
- Modify the linux kernel but not working HOT 3
- Failure to run with manifest qemu_v8.xml and SPMC_AT_EL=2 HOT 2
- AMD Versal ACAP - do not update to BSP 2023.1 HOT 4
- cannot find -lpci error while cross compiling for LS1043 HOT 1
- Who can help me!make -f qemu.mk all and get a error :ccache: error: Exec format error HOT 5
- Openssl doesn't get built in when build called from qemu.mk HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from build.