nodogsplash 빌드: 선언되지 않은 식별자

nodogsplash 빌드: 선언되지 않은 식별자

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

그렇다면 문제는 다른 곳에 있는 것 같은데요?

관련 정보