gpt4 book ai didi

c - Ubuntu 64 上的 gethostbyaddr

转载 作者:太空宇宙 更新时间:2023-11-03 23:35:26 24 4
gpt4 key购买 nike

运行 mozart oz 的配置脚本给我这个:


checking for stdint.h... (cached) yes<br/>
checking for gethostbyaddr in -lnsl... no<br/>
checking for gethostbyaddr in -lc... no<br/>
checking for gethostbyaddr... no<br/>
configure: error: Function gethostbyaddr is not available.<br/>
The system cannot be built.



configure: error: /home/stewart/dev/mozart/mozart/platform/emulator/configure failed for emulator<br/>
configure: error: /home/stewart/dev/mozart/mozart/platform/configure failed for platform<br/>

如何在我最新的 ubuntu 64 机器上获取 gethostbyaddr?

最佳答案

做一个

sudo apt-get install tk-dev tcl-dev build-essential libc6-dev g++-multilib ia32-libs lib32z1-dev lib32gmp3-dev

这修复了它。

关于c - Ubuntu 64 上的 gethostbyaddr,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5031833/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com