src/flock.c:223:2: error: implicit declaration of function ‘flock’ [-Werror=implicit-function-declaration] · Issue #7 · discoteq/flock · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
vagrant@debian-jessie:~/flock-0.2.0$ make
make all-am
make[1]: Entering directory '/home/vagrant/flock-0.2.0'
CC src/flock.o
src/flock.c: In function ‘main’:
src/flock.c:223:2: error: implicit declaration of function ‘flock’ [-Werror=implicit-function-declaration]
while (0 != flock(fd, type | block)) {
^
src/flock.c:223:2: error: nested extern declaration of ‘flock’ [-Werror=nested-externs]
cc1: all warnings being treated as errors
Makefile:657: recipe for target 'src/flock.o' failed
make[1]: *** [src/flock.o] Error 1
make[1]: Leaving directory '/home/vagrant/flock-0.2.0'
Makefile:540: recipe for target 'all' failed
make: *** [all] Error 2
The text was updated successfully, but these errors were encountered:
on debian 8.2.2, getting
The text was updated successfully, but these errors were encountered: