Forum

Build error?

Unsure
14 August 2018, 02:58
10.8.1 builds fine for me with:

mkdir build; cd build;cmake .. -DENABLE_IPV6=on -DENABLE_MONITOR=off -DENABLE_TOMAHAWK=off -DENABLE_TOOLKIT=on -DENABLE_XSLT=off -DENABLE_TLS=off -DUSE_SYSTEM_MBEDTLS=off -DENABLE_RPROXY=off;make

Using same command, 10.8.2 build terminates with:

/tmp/hiawatha-10.8.2/src/target.c: In function ‘execute_cgi’:
/tmp/hiawatha-10.8.2/src/target.c:567:95: error: ‘t_host {aka struct type_host}’ has no member named ‘show_index’
} else if ((session->cgi_type == fastcgi) && session->fcgi_server->localhost && session->host->show_index) {
^~
/tmp/hiawatha-10.8.2/src/target.c:1221:24: warning: this statement may fall through [-Wimplicit-fallthrough=]
session->keep_alive = false;
^
/tmp/hiawatha-10.8.2/src/target.c:1222:3: note: here
case rs_QUIT:
^~~~

CMakeFiles/hiawatha.dir/build.make:614: recipe for target 'CMakeFiles/hiawatha.dir/src/target.c.o' failed
make[2]: *** [CMakeFiles/hiawatha.dir/src/target.c.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/hiawatha.dir/all' failed
make[1]: *** [CMakeFiles/hiawatha.dir/all] Error 2
Makefile:151: recipe for target 'all' failed
make: *** [all] Error 2
Hugo Leisink
21 August 2018, 20:57
Thanks. Will be fixed in the next release.
This topic has been closed.