Closed BernardRobbins closed 11 months ago
Compiling varnish 7.3 & libvmod-dynamic-master from source on AL2023. Varnish is running fine.
Running make gives me this error:
make[2]: Entering directory '/home/ec2-user/libvmod-dynamic-master/src' CC vmod_dynamic.lo vmod_dynamic.c: In function 'dom_healthy': vmod_dynamic.c:319:31: error: implicit declaration of function 'IS_CLI' [-Werror=implicit-function-declaration] 319 | if (retval || IS_CLI()) | ^~~~~~ cc1: all warnings being treated as errors make[2]: *** [Makefile:708: vmod_dynamic.lo] Error 1 make[2]: Leaving directory '/home/ec2-user/libvmod-dynamic-master/src' make[1]: *** [Makefile:500: all-recursive] Error 1 make[1]: Leaving directory '/home/ec2-user/libvmod-dynamic-master' make: *** [Makefile:411: all] Error 2
make -v GNU Make 4.3 Built for x86_64-amazon-linux-gnu
varnishd -V varnishd (varnish-7.3.0 revision 84d79120b6d17b11819a663a93160743f293e63f)
gcc -v gcc version 11.4.1 20230605 (Red Hat 11.4.1-2) (GCC)
Downloaded https://github.com/nigoroll/libvmod-dynamic/tree/7.3 and now compiles. 17/17 checks passed.
Compiling varnish 7.3 & libvmod-dynamic-master from source on AL2023. Varnish is running fine.
Running make gives me this error:
make[2]: Entering directory '/home/ec2-user/libvmod-dynamic-master/src' CC vmod_dynamic.lo vmod_dynamic.c: In function 'dom_healthy': vmod_dynamic.c:319:31: error: implicit declaration of function 'IS_CLI' [-Werror=implicit-function-declaration] 319 | if (retval || IS_CLI()) | ^~~~~~ cc1: all warnings being treated as errors make[2]: *** [Makefile:708: vmod_dynamic.lo] Error 1 make[2]: Leaving directory '/home/ec2-user/libvmod-dynamic-master/src' make[1]: *** [Makefile:500: all-recursive] Error 1 make[1]: Leaving directory '/home/ec2-user/libvmod-dynamic-master' make: *** [Makefile:411: all] Error 2
make -v GNU Make 4.3 Built for x86_64-amazon-linux-gnu
varnishd -V varnishd (varnish-7.3.0 revision 84d79120b6d17b11819a663a93160743f293e63f)
gcc -v gcc version 11.4.1 20230605 (Red Hat 11.4.1-2) (GCC)