Welcome to the Builder Academy

Question Races

More
07 Mar 2025 15:09 #10577 by zi
Replied by zi on topic Re: Races
future devs could see these errors upon compiling this snippet like I did...
Code:
undefined reference to `race_menu'

but do not dismay... you have to update the makefile ! Thomas provided the answer in another thread but I'm going to post it here and save the forum search time. He writes:

To fix this, open Makefile in your favorite text editor, find the lines with SRCFILES and OBJFILES and add race.c / race.o to them (you'll recognize the pattern). Then do the same with Makefile.in (so it won't go away after you reconfigure).
Now run
Code:
make clean && make depend && make

this first removes any old .o files, recreates the dependency info for the linker and finally builds the binary.


Thank you Thomas and Liko for this!

Please Log in or Create an account to join the conversation.

Time to create page: 0.242 seconds