Object files are not link #269
Replies: 3 comments 3 replies
-
Hi, @BeardPower. I tested this[1] on my end and it works. Do the following to build and test it:
See if you can adapt that for your use case and figure out why yours doesn't work. Or you could provide a repository link so we can check it out. [1] https://github.com/cs-pub-ro/app-empty (branch |
Beta Was this translation helpful? Give feedback.
-
It seems that the following works fine for me in my test, so it likely works for you as well:
The ALIBS variable seems to be meant for exactly this purpose, but is not documented as far as I see or the existing documentation has a mistake. See more info about this in #350 |
Beta Was this translation helpful? Give feedback.
-
Everyone, since we are already (viciously) using the Unikraft Discord server for discussions, meetings, brainstorming and jokes (mostly bad, we do what we can), we will close the Discussions tab. We will do this on Friday, March 31, 2023. Please move any discussions or questions on the Unikraft Discord server. See you all there! 🤝 |
Beta Was this translation helpful? Give feedback.
-
Hi,
I have this Makefile.uk, but the object file is not linked to the application. It is picked up (make print-obj), but the linker does not link it (I checked with make V=1). Did I miss something?
APPHELLOWORLD_SRCS-y += $(APPHELLOWORLD_BASE)/main.c
APPHELLOWORLD_OBJS-y += $(APPHELLOWORLD_BASE)/hw.o
Beta Was this translation helpful? Give feedback.
All reactions