Hello, I am trying compile exmple "usb_dev_serial" from TivaWare but this error with libdriver.a. I am using Eclipse and Sourcery CodeBench arm-none-eabi. Thak you for any answer.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello, I am trying compile exmple "usb_dev_serial" from TivaWare but this error with libdriver.a. I am using Eclipse and Sourcery CodeBench arm-none-eabi. Thak you for any answer.
Yes. It's that library finds. Those errors are from the compilation this library.
How is the Eclipse project set-up to compile the library?Marek Prochazka said:Yes. It's that library finds. Those errors are from the compilation this library.
From the screen shot it looks like the compiler is trying to compile the libdriver.a library file as if the file was a C source file. Whereas the libdriver.a library file should be passed as a library to the linker.
Can you post the build console output from Eclipse when the failure occurs, to show the compiler and linker command lines used?