Sorry, you need to enable JavaScript to visit this website.

Adding lib bug in SDK?

Zedboard forums is currently read-only while it under goes maintenance.

Unsolved
2 posts / 0 new
jochem
Junior(0)
Adding lib bug in SDK?

Hi guys,

By default I have the following rules as libraries added in my project:

-Wl,--start-group,-lxil,-lfreertos,-lgcc,-lc,--end-group -Wl,--start-group,-lxil,-llwip4,-lgcc,-lc,--end-group

As soon as I add my own library, the project gets corrupted.

cannot find -l-Wl,--start-group,-lxil,-llwip4,-lgcc,-lc,--end-group

The SDK places a -l in front of both rules.

I can temporary fix this by removing them in my objects.mk file, but next rebuild you will have the same issue.

How can I fix this?

Dave74321
Junior(0)
Set Software Platform Inferred Flags

Hopefully you are not still working on this after 5 years but...
Don't add it under Libraries but instead add it under Application / Properties / C/C++Build  /ARM v7 gcc linker / Software Platform / Software Platfrom Inferred Flags
https://forums.xilinx.com/t5/Embedded-Development-Tools/Linker-problem-w...