Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: Format error reading "../src/vmod_geoip.vcc": 'Unknown keyword: $Init' #13

Open
supermasita opened this issue Dec 16, 2015 · 0 comments

Comments

@supermasita
Copy link

Hi!

I find this error when compiling:

[root@d148c4a87432 geoip-vmod]# make
make  all-recursive
make[1]: Entering directory `/usr/local/src/geoip-vmod'
Making all in src
make[2]: Entering directory `/usr/local/src/geoip-vmod/src'
/usr/share/varnish/vmodtool.py ../src/vmod_geoip.vcc
ERROR: Format error reading "../src/vmod_geoip.vcc": 'Unknown keyword: $Init'

make[2]: *** [vcc_if.c] Error 254
make[2]: Leaving directory `/usr/local/src/geoip-vmod/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/geoip-vmod'
make: *** [all] Error 2
[root@d148c4a87432 geoip-vmod]#

If i delete this line in "src/vmod_geoip.vcc" it seems to work OK:

$Init init_function

Is this an error?
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant