Linking custom library error
Posted: Tue Apr 09, 2019 3:48 pm
I'm trying to link a custom library i've downloaded (https://github.com/IAIK/armageddon) to use with Erika.
I've included the header file which contains the library function declarations and the path to the library as you can see below:
But somehow i receive many errors saying that there are undefined references to most of the functions included in the library.
When i try to compile a linux code that uses the library functions using the following command:
It compiles without errors. Do you have any idea what might be the problem with compiling the Erika code?
I've included the header file which contains the library function declarations and the path to the library as you can see below:
Code: Select all
CFLAGS = "-I/home/joao/armageddon/libflush/libflush";
LIBS = "-lflush";
LDFLAGS = "-L/home/joao/armageddon/libflush/build/armv8/release";
When i try to compile a linux code that uses the library functions using the following command:
Code: Select all
aarch64-linux-gnu-gcc linux_code.c -L/home/joao/armageddon/libflush/build/armv8/release -lflush -o linux_code.o