Subject: | Compilation error on fedora 28 |
See subject. Build log:
...
cc -c -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"0.04\" -DXS_VERSION=\"0.04\" -fPIC "-I/opt/perl-5.28.0/lib/5.28.0/x86_64-linux/CORE" ZBar.c
ZBar.xs: In function 'XS_Barcode__ZBar_version':
ZBar.xs:202:9: error: too few arguments to function 'zbar_version'
zbar_version(&major, &minor);
^~~~~~~~~~~~
In file included from ZBar.xs:29:
/usr/include/zbar.h:251:12: note: declared here
extern int zbar_version(unsigned *major,
^~~~~~~~~~~~
make: *** [Makefile:344: ZBar.o] Error 1
(/usr/bin/make exited with 512)
...