dinotools / liblcfg Goto Github PK
View Code? Open in Web Editor NEWThis project is only keept for historical reasons
This project is only keept for historical reasons
I was trying to install it under Arch using this tutorial:
https://www.dinotools.de/en/2016/02/06/how-to-install-dionaea-on-arch-linux/
When I got to the point where I ran yaourt -S dionaea-git
, it was working fine until I got to installing liblcfg.
Note, I am testing this in a vagrant arch box terrywang/archlinux
Here is where the error occurs:
Making all in tools
make[2]: Entering directory '/tmp/yaourt-tmp-vagrant/aur-liblcfg-git/src/liblcfg-git/code/tools'
gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I ../.. -Werror -Wall -g -D_FORTIFY_SOURCE=2 -D _GNU_SOURCE -I/usr/local/include -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -MT lcfg.o -MD -MP -MF .deps/lcfg.Tpo -c -o lcfg.o lcfg.c
lcfg.c: In function ‘main’:
lcfg.c:134:13: error: comparison between pointer and zero character constant [-Werror=pointer-compare]
if( key == '\0' )
^~
lcfg.c:134:9: note: did you mean to dereference the pointer?
if( key == '\0' )
^
cc1: all warnings being treated as errors
make[2]: *** [Makefile:402: lcfg.o] Error 1
make[2]: Leaving directory '/tmp/yaourt-tmp-vagrant/aur-liblcfg-git/src/liblcfg-git/code/tools'
make[1]: *** [Makefile:407: all-recursive] Error 1
make[1]: Leaving directory '/tmp/yaourt-tmp-vagrant/aur-liblcfg-git/src/liblcfg-git/code'
make: *** [Makefile:339: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build liblcfg-git.
Thank you.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.