![如何通过 cygwin 安装 htmldoc?](https://linux22.com/image/47193/%E5%A6%82%E4%BD%95%E9%80%9A%E8%BF%87%20cygwin%20%E5%AE%89%E8%A3%85%20htmldoc%EF%BC%9F.png)
我已经通过 cygwin 在我的电脑上安装了所有标题中带有 gcc 的软件包以及 FLTK,并且我运行了./configure
并且./configure ENTER
没有错误,但现在运行后make
我收到了错误:
Compiling http-addrlist.c...
http-addrlist.c: In function ‘httpAddrConnect’:
http-addrlist.c:59:5: error: ‘errno’ undeclared (first use in this function)
errno = EINVAL;
^
http-addrlist.c:59:5: note: each undeclared identifier is reported only once for each function it appears in
http-addrlist.c:59:13: error: ‘EINVAL’ undeclared (first use in this function)
errno = EINVAL;
^
../Makedefs:76: recipe for target 'http-addrlist.o' failed
make[1]: *** [http-addrlist.o] Error 1
答案1
有 bug 的是源代码;你必须调试它或使用https://github.com/fareoffice/htmldoc存储库
如果你使用的是 Debian 或 Ubuntu,你甚至可以使用 then 命令
apt-get install htmldoc