Using gcc 2.95.2 on a (slightly patched) 2.2.17 kernel running Red Hat 6.2,
I get the following
warnings and errors when trying to compile using kaio-1.3-2.2.17
Note that without the -ansi switch, it will compile (but still with warnings).
Can the maintainers clean this up?
g++ -Wall -pedantic -O6 -mpentium -I. -s -ansi -I/usr/src/linux/include -c -o
In file included from /usr/include/errno.h:36,
/usr/include/bits/errno.h:32: warning: `ECANCELED' redefined
/usr/src/linux/include/asm/errno.h:133: warning: this is the location of the
In file included from libserial.C:12:
/usr/src/linux/include/linux/aio.h:76: syntax error before `;'
libserial.C: In method `int Serial::WriteDataAIO(const char *, int)':
libserial.C:218: `struct aiocb' has no member named `aio_sigevent'
libserial.C:218: `SIGEV_NONE' undeclared (first use this function)
libserial.C:218: (Each undeclared identifier is reported only once
libserial.C:218: for each function it appears in.)
libserial.C:219: `struct aiocb' has no member named `aio_sigevent'
libserial.C: In method `int Serial::ReadDataAIO(void *, int)':
libserial.C:369: `struct aiocb' has no member named `aio_sigevent'
libserial.C:370: `struct aiocb' has no member named `aio_sigevent'
gmake: *** [libserial.o] Error 1