Comments (3)
Can you please detail how are you trying to build it?
from libvmod-digest.
The build has been broken using libvmod-digest@master with Varnish 4.1.9, however the tag 1.0.2 is working. I'll try to add more details soon.
from libvmod-digest.
Hi all!
My varnish version is 4.1.9
When I run make from master branch I get a such result
make all-recursive
make[1]: Entering directory '/libvmod-digest'
Making all in src
make[2]: Entering directory '/libvmod-digest/src'
/usr/share/varnish/vmodtool.py ../src/vmod_digest.vcc
/bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I/usr/include/varnish -Wall -Wextra -Werror -g -O2 -MT vmod_digest.lo -MD -MP -MF .deps/vmod_digest.Tpo -c -o vmod_digest.lo vmod_digest.c
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I/usr/include/varnish -Wall -Wextra -Werror -g -O2 -MT vmod_digest.lo -MD -MP -MF .deps/vmod_digest.Tpo -c vmod_digest.c -fPIC -DPIC -o .libs/vmod_digest.o
In file included from vmod_digest.c:53:
vcc_if.h:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_hmac_sha256'
vcc_if.h:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_hmac_sha1'
vcc_if.h:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_hmac_md5'
vcc_if.h:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_base64'
vcc_if.h:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_base64_hex'
vcc_if.h:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_base64_decode'
vcc_if.h:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_base64url'
vcc_if.h:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_base64url_hex'
vcc_if.h:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_base64url_decode'
vcc_if.h:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_base64url_nopad'
vcc_if.h:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_base64url_nopad_hex'
vcc_if.h:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_base64url_nopad_decode'
vcc_if.h:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_hash_sha1'
vcc_if.h:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_hash_sha224'
vcc_if.h:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_hash_sha256'
vcc_if.h:27: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_hash_sha384'
vcc_if.h:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_hash_sha512'
vcc_if.h:29: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_hash_gost'
vcc_if.h:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_hash_md2'
vcc_if.h:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_hash_md4'
vcc_if.h:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_hash_md5'
vcc_if.h:33: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_hash_crc32'
vcc_if.h:34: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_hash_crc32b'
vcc_if.h:35: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_hash_adler32'
vcc_if.h:36: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_hash_haval128'
vcc_if.h:37: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_hash_haval160'
vcc_if.h:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_hash_haval192'
vcc_if.h:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_hash_haval224'
vcc_if.h:40: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_hash_haval256'
vcc_if.h:41: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_hash_ripemd128'
vcc_if.h:42: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_hash_ripemd160'
vcc_if.h:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_hash_ripemd256'
vcc_if.h:44: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_hash_ripemd320'
vcc_if.h:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_hash_tiger'
vcc_if.h:46: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_hash_tiger128'
vcc_if.h:47: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_hash_tiger160'
vcc_if.h:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_hash_snefru128'
vcc_if.h:49: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_hash_snefru256'
vcc_if.h:50: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_hash_whirlpool'
vcc_if.h:51: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_version'
vcc_if.h:54: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'event_function'
vmod_digest.c:291: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_hmac_generic'
vmod_digest.c:340: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_base64_generic'
vmod_digest.c:364: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_base64_decode_generic'
vmod_digest.c:389: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_hash_generic'
vmod_digest.c:423: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_hash_sha1'
vmod_digest.c:424: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_hash_sha224'
vmod_digest.c:425: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_hash_sha256'
vmod_digest.c:426: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_hash_sha384'
vmod_digest.c:427: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_hash_sha512'
vmod_digest.c:428: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_hash_gost'
vmod_digest.c:429: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_hash_md2'
vmod_digest.c:430: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_hash_md4'
vmod_digest.c:431: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_hash_md5'
vmod_digest.c:432: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_hash_crc32'
vmod_digest.c:433: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_hash_crc32b'
vmod_digest.c:434: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_hash_adler32'
vmod_digest.c:435: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_hash_haval128'
vmod_digest.c:436: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_hash_haval160'
vmod_digest.c:437: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_hash_haval192'
vmod_digest.c:438: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_hash_haval224'
vmod_digest.c:439: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_hash_haval256'
vmod_digest.c:440: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_hash_ripemd128'
vmod_digest.c:441: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_hash_ripemd160'
vmod_digest.c:442: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_hash_ripemd256'
vmod_digest.c:443: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_hash_ripemd320'
vmod_digest.c:444: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_hash_tiger'
vmod_digest.c:445: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_hash_tiger128'
vmod_digest.c:446: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_hash_tiger160'
vmod_digest.c:447: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_hash_snefru128'
vmod_digest.c:448: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_hash_snefru256'
vmod_digest.c:449: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_hash_whirlpool'
vmod_digest.c:476: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_base64'
vmod_digest.c:476: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_base64_hex'
cc1: warnings being treated as errors
vmod_digest.c: In function 'vmod_base64_decode':
vmod_digest.c:476: error: implicit declaration of function 'vmod_base64_decode_generic'
vmod_digest.c:476: error: return makes pointer from integer without a cast
vmod_digest.c: At top level:
vmod_digest.c:477: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_base64url'
vmod_digest.c:477: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_base64url_hex'
vmod_digest.c: In function 'vmod_base64url_decode':
vmod_digest.c:477: error: return makes pointer from integer without a cast
vmod_digest.c: At top level:
vmod_digest.c:478: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_base64url_nopad'
vmod_digest.c:478: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_base64url_nopad_hex'
vmod_digest.c: In function 'vmod_base64url_nopad_decode':
vmod_digest.c:478: error: return makes pointer from integer without a cast
vmod_digest.c: At top level:
vmod_digest.c:497: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_hmac_sha256'
vmod_digest.c:498: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_hmac_sha1'
vmod_digest.c:499: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_hmac_md5'
vmod_digest.c:503: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmod_version'
make[2]: *** [vmod_digest.lo] Error 1
make[2]: Leaving directory '/libvmod-digest/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/libvmod-digest'
make: *** [all] Error 2
I've tried to use tag 1.0.2 and it works!
from libvmod-digest.
Related Issues (20)
- Don't work digest.base64_decode HOT 4
- Compile issue on CentOS 7 HOT 15
- Compile issue on RHEL7 HOT 9
- centos 6.4 compile error due to dependency HOT 2
- Using "hmac_*" causes 0x to be prefixed. HOT 2
- Request, add feature to verify RS256 signed JWT tokens HOT 2
- How to install? HOT 2
- build fails with Varnish 5.2/master, @ '# error "include vrt.h before vcl.h"' HOT 2
- Compile broken on FreeBSD HOT 6
- VCL compilation fails with current varnish (6.2.0) HOT 7
- Unknown types in file included from vmod_digest HOT 1
- digest.base64 not working HOT 1
- test02.vtc fails on i386 HOT 3
- New release (for varnish 6.2+) anytime soon? HOT 1
- distcheck fails against Varnish 6.4 HOT 8
- Cannot compile for Varnish 6.4 (or any other version) HOT 6
- The clean target should remove vmod_digest.3 HOT 1
- WS_ReserveAll Error HOT 1
- Error using Alpine on Mac M1 Pro HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libvmod-digest.