我想安装 nodogsplash,并按照说明下载了该软件包。安装时出现以下错误:
$ make
cc -O0 -g -Wall -Isrc -c src/gateway.c -o src/gateway.o
src/gateway.c: In function ‘main_loop’:
src/gateway.c:257:8: error: ‘MHD_OPTION_LISTENING_ADDRESS_REUSE’ undeclared (first use in this function)
MHD_OPTION_LISTENING_ADDRESS_REUSE, 1,
^
src/gateway.c:257:8: note: each undeclared identifier is reported only once for each function it appears in
Makefile:20: recipe for target 'src/gateway.o' failed
make: *** [src/gateway.o] Error 1
如何纠正这个问题并使其正常工作?
答案1
看起来最新 pi 中的版本是 libmicrohttpd10 (= 0.9.37+dfsg-1+b1),如果我没读错的话,这也是 debians 存储库中的版本。 https://packages.debian.org/search?keywords=libmicrohttpd-dev
所以我认为问题可能出在其他地方?