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

Omnishare Fuse #6

Closed
lordqwerty opened this issue Oct 12, 2015 · 3 comments
Closed

Omnishare Fuse #6

lordqwerty opened this issue Oct 12, 2015 · 3 comments

Comments

@lordqwerty
Copy link

Hello I am experiencing the following issue when building. All of the other projects build but this one.
I have installed fuse via apt both libfuse-dev and libfuse-dev:i386

ERROR: /usr/bin/g++ -Wl,--unresolved-symbols=ignore-in-shared-libs '-Wl,-rpath,$ORIGIN' 
-Wl,-rpath-link=/home/jorden/Android/Open-TEE/gcc-debug -lfuse -pthread -o /home/jorden/
Android/Open-TEE/gcc-debug/omnishare-fuse /home/jorden/Android/Open-TEE/gcc-debug/
omnishare-fuse.gcc.cecfaec5/.obj/3a52ce780950d4d9/omnishare_fuse.c.o /home/
jorden/Android/Open-TEE/gcc-debug/.socopy/libtee.so /home/jorden/Android/Open-TEE/
gcc-debug/.socopy/libomnishare.so

../omnishare_fuse.c.o: In function `recurse_dir':
/home/jorden/Android/Open-TEE/CAs/omnishare_fuse/omnishare_fuse.c:48:
 undefined reference to `fuse_get_context'

../omnishare_fuse.c.o: In function `fixup_root_path':
/home/jorden/Android/Open-TEE/CAs/omnishare_fuse/omnishare_fuse.c:194: 
undefined reference to `fuse_get_context'

../omnishare_fuse.c.o: In function `oms_init':
/home/jorden/Android/Open-TEE/CAs/omnishare_fuse/omnishare_fuse.c:771: 
undefined reference to `fuse_get_context'

./omnishare_fuse.c.o: In function `main':
/home/jorden/Android/Open-TEE/CAs/omnishare_fuse/omnishare_fuse.c:994: 
undefined reference to `fuse_main_real'

collect2: error: ld returned 1 exit status
ERROR: Process failed with exit code 1.

Is it just me getting this?

I understand you are obviously going to be very busy with preparation for TEE Seminar tomorrow. Best of luck.

@lordqwerty
Copy link
Author

If I change line 25 to

cpp.defines: ["OT_LOGGING", "FUSE_USE_VERSION=26", "D_FILE_OFFSET_BITS=64"]

in omnishare_fuse.qbs and also remove apt-get remove libfuse-dev:i386 && apt-get autoremove it seems a lot happier. But this means the qbs file needs updating each time a repo sync is performed?

Is there a better way to manage this?

@mikatammi
Copy link
Member

@lordqwerty
Copy link
Author

Awesome! Can confirm it is building for me.

Cheers.

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

2 participants