我已经通过 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