Closed B1nd00 closed 2 years ago
Looking a acipher/host/Makefile, your should get -L$(TEEC_EXPORT)/lib
next to -lteec
at linker invocation.
LDADD += -lteec -L$(TEEC_EXPORT)/lib
(...)
$(BINARY): $(OBJS)
$(CC) $(LDFLAGS) -o $@ $< $(LDADD)
Maybe try to add some traces in the Makefile to understand which arguments are passed to gcc.
Yes I am getting that. I switched i
Looking a acipher/host/Makefile, your should get
-L$(TEEC_EXPORT)/lib
next to-lteec
at linker invocation.LDADD += -lteec -L$(TEEC_EXPORT)/lib (...) $(BINARY): $(OBJS) $(CC) $(LDFLAGS) -o $@ $< $(LDADD)
Maybe try to add some traces in the Makefile to understand which arguments are passed to gcc.
I am getting that! It was the wrong image for the output. My bad
I'm building op-tee on qemu with Armv8 and I've built optee_os and optee_client. I'm unable to make the example files as it returns the error cannot find -lteec.
This is what I do before make
export HOST_CROSS_COMPILE=/User_data/home/nramu/optee-qemuv8-3.14.0/toolchains/aarch64/bin/aarch64-linux-gnu-
export TA_CROSS_COMPILE=/User_data/home/nramu/optee-qemuv8-3.14.0/toolchains/aarch32/bin/arm-linux-gnueabihf-
export TEEC_EXPORT=/User_data/home/nramu/optee-qemuv8-3.14.0/optee_client/out/export
export TA_DEV_KIT_DIR=/User_data/home/nramu/optee-qemuv8-3.14.0/optee_os/out/arm/export-ta_arm32/
And this is my error
If I do the make individually, the ta compiles not the host