error in build

gilkar

New member
Joined
Mar 31, 2019
Messages
3
hello dear
i want change nginx webserver to nginx_apache or apache , but i have this error.

Code:
.....
.....
template.h:517:50: error: expression list treated as compound expression in functional cast [-fpermissive]
 inline int run_app(std::function<int(int, char **)> app, int argc,
                                                  ^
template.h:517:34: error: expected primary-expression before 'int'
 inline int run_app(std::function<int(int, char **)> app, int argc,
                                  ^
template.h:517:58: error: expected primary-expression before 'int'
 inline int run_app(std::function<int(int, char **)> app, int argc,
                                                          ^
template.h:518:20: error: expected primary-expression before 'char'
                    char **argv) {
                    ^
template.h:518:31: error: expression list treated as compound expression in initializer [-fpermissive]
                    char **argv) {
                               ^
template.h:518:33: error: expected ',' or ';' before '{' token
                    char **argv) {
                                 ^
nghttp.cc:3098:1: error: expected '}' at end of input
 }
 ^
make[3]: *** [nghttp.o] Error 1
make[3]: Leaving directory `/usr/local/directadmin/custombuild/nghttp2-1.38.0/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/directadmin/custombuild/nghttp2-1.38.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/directadmin/custombuild/nghttp2-1.38.0'
make: *** [all] Error 2

*** The make has failed, would you like to try to make again? (y,n):
i press y , but again its replay this question ,i updated every thing but i cant fix this, can you help me , what is this error ?
Thanks dear
 
Back
Top