我已经在我的PC上通过cygwin安装了所有带有gcc的软件包,并且运行了./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发布于 2015-10-20 13:00:52
它是错误的源代码;您必须调试它或使用https://github.com/fareoffice/htmldoc存储库。
如果您在Debian或Ubuntu上,甚至可以使用命令apt-get install htmldoc
https://unix.stackexchange.com/questions/182152
复制相似问题