c compiler problems

1. error: (.text+0x9bd): undefined reference to 'exp'

solution: add '-lm' while compiling
e.g.
gcc -Wall simulator.c -lm -o simulator

Popular Posts