79771700

Date: 2025-09-22 14:00:43
Score: 1
Natty:
Report link

My final compilation step was not linking to -lpthread, which was why it was failing. Adding $(CXXFLAGS) to the main target resolved the issue.

$(TARGET): $(OBJS)
        $(CXX) $(CXXFLAGS) $(OBJS) -o $@
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Kungfunk