[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: error while compiling nixio
- From: Martin <wtxnh-lua@...>
- Date: Mon, 27 Jul 2009 19:50:28 +0200
While compiling nixio I got this error:
It seems it can not find 'splice' function and related macros.
I have Debian etch installed.
Maybe I need to install some additional headers file - from which package?
gcc -O2 --std=gnu99 -Wall -Werror -pedantic -I/usr/include/lua5.1 -fPIC -c -o src/splice.o src/splice.c
cc1: warnings being treated as errors
src/splice.c: In function ‘nixio_splice’:
src/splice.c:84: warning: implicit declaration of function ‘splice’
src/splice.c: In function ‘nixio_splice_flags’:
src/splice.c:104: error: ‘SPLICE_F_MOVE’ undeclared (first use in this function)
src/splice.c:104: error: (Each undeclared identifier is reported only once
src/splice.c:104: error: for each function it appears in.)
src/splice.c:106: error: ‘SPLICE_F_NONBLOCK’ undeclared (first use in this function)
src/splice.c:108: error: ‘SPLICE_F_MORE’ undeclared (first use in this function)