Closed CPC954 closed 5 years ago
[root@ libvmod-xkey] make
make all-recursive make[1]: Entering directory `/root/libvmod-xkey' Making all in src make[2]: Entering directory `/root/libvmod-xkey/src' /usr/share/varnish/vmodtool.py ../src/vmod_xkey.vcc make all-am make[3]: Entering directory `/root/libvmod-xkey/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I/usr/include/varnish -Wall -Werror -g -O2 -MT vcc_if.lo -MD -MP -MF .deps/vcc_if.Tpo -c -o vcc_if.lo vcc_if.c libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I/usr/include/varnish -Wall -Werror -g -O2 -MT vcc_if.lo -MD -MP -MF .deps/vcc_if.Tpo -c vcc_if.c -fPIC -DPIC -o .libs/vcc_if.o libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I/usr/include/varnish -Wall -Werror -g -O2 -MT vcc_if.lo -MD -MP -MF .deps/vcc_if.Tpo -c vcc_if.c -o vcc_if.o >/dev/null 2>&1 mv -f .deps/vcc_if.Tpo .deps/vcc_if.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I/usr/include/varnish -Wall -Werror -g -O2 -MT vmod_xkey.lo -MD -MP -MF .deps/vmod_xkey.Tpo -c -o vmod_xkey.lo vmod_xkey.c libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I/usr/include/varnish -Wall -Werror -g -O2 -MT vmod_xkey.lo -MD -MP -MF .deps/vmod_xkey.Tpo -c vmod_xkey.c -fPIC -DPIC -o .libs/vmod_xkey.o cc1: warnings being treated as errors vmod_xkey.c:455: error: ‘enum exp_event_e’ declared inside parameter list vmod_xkey.c:455: error: parameter 3 (‘event’) has incomplete type vmod_xkey.c: In function ‘xkey_cb’: vmod_xkey.c:464: error: ‘EXP_INSERT’ undeclared (first use in this function) vmod_xkey.c:464: error: (Each undeclared identifier is reported only once vmod_xkey.c:464: error: for each function it appears in.) vmod_xkey.c:465: error: ‘EXP_INJECT’ undeclared (first use in this function) vmod_xkey.c:468: error: ‘EXP_REMOVE’ undeclared (first use in this function) vmod_xkey.c: In function ‘purge’: vmod_xkey.c:508: error: ‘struct objcore’ has no member named ‘exp’ vmod_xkey.c:508: error: ‘struct objcore’ has no member named ‘exp’ vmod_xkey.c:512: error: ‘struct objcore’ has no member named ‘exp’ vmod_xkey.c:512: error: ‘struct objcore’ has no member named ‘exp’ vmod_xkey.c:514: error: ‘struct objcore’ has no member named ‘exp’ vmod_xkey.c: In function ‘vmod_event’: vmod_xkey.c:545: error: implicit declaration of function ‘EXP_Register_Callback’ vmod_xkey.c:558: error: implicit declaration of function ‘EXP_Deregister_Callback’ make[3]: *** [vmod_xkey.lo] Error 1 make[3]: Leaving directory `/root/libvmod-xkey/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/root/libvmod-xkey/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/libvmod-xkey' make: *** [all] Error 2
I'm using varnish 5.2.1 on CentOS 6.9 Any suggestion?
Can you attach the output of ./configure and config.log? I can build the master branch just fine against 5.2.1 but before I try on CentOS 6.9 I'd like to see what you see.
./configure
config.log
ETIMEDOUT
[root@ libvmod-xkey] make
I'm using varnish 5.2.1 on CentOS 6.9 Any suggestion?