SIMH diesn't compile "undefinied reference to [fmod|clock_getres" although -lrt/-lm
Hello,
I wanted to compile SIMH (http://simh.trailing-edge.com/), but following happens: Code:
<thosch97@darkstar:~/simh> What is wrong with it? Thank you for you help, thosch97 |
1) sudo apt-get install g++-4.4
2) Edit line 15 in 'makefile' from Code:
CC = gcc -std=c99 -U__STRICT_ANSI__ -g $(OS_CCDEFS) -I . Code:
CC = gcc-4.4 -std=c99 -U__STRICT_ANSI__ -g $(OS_CCDEFS) -I . . |
Thanks! It works great now!
(Well, that also explains why it worked on a Sun Ultra5 with Debian Lenny: it has gcc version 4.3.2 (Debian 4.3.2-1.1)) |
All times are GMT -5. The time now is 06:03 PM. |