ProjectEuler: [travis] C building: weird behavior at travis server, -lm not found
$ python stats.py --all --build
Command: All Build
Builded Problem001/C/solution_1.c: Answer: 233168: 0.00s
Builded Problem002/C/solution_1.c: Answer: 4613732: 0.00s
@Building next Problem027/C/solution_1.c: /tmp/cch6tzam.o: In function `is_prime':
/home/travis/build/DestructHub/ProjectEuler/Problem027/C/solution_1.c:36: undefined reference to `sqrt'
collect2: ld returned 1 exit status
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 22 (22 by maintainers)
Commits related to this issue
- [travis, stats] add modular build, remove c/c++ because #13 and others move travis python libs installing to requirements.txt little fix at stats printing ignored solutions, aligment vertical with th... — committed to DestructHub/ProjectEuler by ryukinix 8 years ago
- Try fix #13 about -lm library on C compilation Well... let's see if travis now can handle this. — committed to DestructHub/ProjectEuler by ryukinix 7 years ago
- Trying again fix the C build on travis: fixes #13 The problem is: Maybe the version of gcc on travis need to have the link libraries on the end of the command. On the earlier version of the stats.py... — committed to DestructHub/ProjectEuler by ryukinix 7 years ago
- [stats.py] fix C build about -lm flag, close #13 The link flags need to be on end of command because seems not supported non-ordered linker flags on ancient versions of gcc (like the used on ubuntu t... — committed to DestructHub/ProjectEuler by ryukinix 7 years ago
- [stats.py] fix C build about -lm flag, close #13 The link flags need to be on end of command because seems not supported non-ordered linker flags on ancient versions of gcc (like the used on ubuntu t... — committed to lubien/ProjectEuler by ryukinix 7 years ago
Great.
@rafaelcn On my machine works, BTW. I think the problem is your existence. @