|
freetds驱动在X86环境下编译可以,但因为项目需要,要交叉编译其静态库,但configure的时候就已经出错了,有谁碰到同样情况嘛??
[root at liang freetds-0.63]# ./configure --host=arm-linux
.....
......
checking for which type of getservbyname_r... six
checking for which type of gethostbyaddr_r... eight
checking for which type of getpwuid_r... configure: error: cannot run test
program while cross compiling
See `config.log' for more details.
我开始怀疑是arm-linux-gcc版本问题,但换了多个版本后,结果同样在该地方错。。。configure的代码比较难看明,看了半天,感觉还是晕晕的。。。 |
|