6. 一些常见错误的解决方法
6.1 Error1 多出现在./configure阶段
/bin/sh../libtool --tag=CC --mode=linkgcc -g -O2 -no-undefined -o xtractprotos
libtool:link: gcc -g -O2 -o .libs/xtractprotos ./.libs/ -Wl,-rpath-Wl,/usr/local/lib
./.libs/:undefined reference to `sincos'
./.libs/:undefined reference to `sqrt'
./.libs/:undefined reference to `ceil'
./.libs/:undefined reference to `tan'
./.libs/:undefined reference to `powf'
./.libs/:undefined reference to `sqrtf'
./.libs/:undefined reference to `expf'
./.libs/:undefined reference to `log'
./.libs/:undefined reference to `sincosf'
./.libs/:undefined reference to `atan'
./.libs/:undefined reference to `logf'
./.libs/:undefined reference to `floorf'
./.libs/:undefined reference to `sin'
./.libs/:undefined reference to `tanf'
./.libs/:undefined reference to `atan2'
collect2:ld returned 1 exit status
make[2]:*** [xtractprotos] Error 1
make[2]:Leaving directory `/root/Downloads/leptonlib-1.67/src'
make[1]:*** [all-recursive] Error 1
make[1]:Leaving directory `/root/Downloads/leptonlib-1.67'
make: ***[all] Error 2