LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1251|回复: 2

有没有交叉编译freetds驱动通过的???

[复制链接]
发表于 2007-1-24 12:01:25 | 显示全部楼层 |阅读模式
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的代码比较难看明,看了半天,感觉还是晕晕的。。。
 楼主| 发表于 2007-1-26 19:46:18 | 显示全部楼层
用maillist提问,freetds的开发者测试后发了个patch给我,问题终于解决了。。。
回复 支持 反对

使用道具 举报

发表于 2007-9-30 12:14:28 | 显示全部楼层
能把Patch共享一下吗?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表