Giter Club home page Giter Club logo

Comments (16)

jbech-linaro avatar jbech-linaro commented on May 18, 2024

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.

simonjj22 avatar simonjj22 commented on May 18, 2024

@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.

jbech-linaro avatar jbech-linaro commented on May 18, 2024

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.

simonjj22 avatar simonjj22 commented on May 18, 2024

It doesn't work if $HOME is different from /home/user!

from build.

simonjj22 avatar simonjj22 commented on May 18, 2024

It also doesn't work in a different directory than /home/user/optee/devel if $HOME points to /home/user!

from build.

jbech-linaro avatar jbech-linaro commented on May 18, 2024

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.

simonjj22 avatar simonjj22 commented on May 18, 2024

Hm..no that's exactly what I am trying to tell you. Not sure what the problem is then.

from build.

simonjj22 avatar simonjj22 commented on May 18, 2024

Damn. Seems I had some stale environment variables lying around. It works in a fresh shell.

from build.

jbech-linaro avatar jbech-linaro commented on May 18, 2024

Alright! Problem solved! Great!

from build.

simonjj22 avatar simonjj22 commented on May 18, 2024

@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.

jbech-linaro avatar jbech-linaro commented on May 18, 2024

@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.

simonjj22 avatar simonjj22 commented on May 18, 2024

Yes. Should I create a pull request? Changing this seems like a matter of seconds. :)

from build.

jbech-linaro avatar jbech-linaro commented on May 18, 2024

Yes. Should I create a pull request? Changing this seems like a matter of seconds. :)

Please go a head!

from build.

akbarsaleemt avatar akbarsaleemt commented on May 18, 2024

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.

jbech-linaro avatar jbech-linaro commented on May 18, 2024

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.

akbarsaleemt avatar akbarsaleemt commented on May 18, 2024

thank you

from build.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.