[Ocfs2-test-devel] [REPORT] splice_test.h: conflicting types for ‘splice' comes again

Coly Li coly.li at suse.de
Sun Apr 12 11:21:59 PDT 2009


Several days passed since last time I observed the splice conflicted definition
and submitted a patch[1]. Today I saw the same error again.

This time, I pull the code up-to-date, run autogen.sh and make. The similar
error comes:
make -C splice
make[2]: Entering directory `/root/ocfs2-test/programs/splice'
gcc -O2 -Wall -g       -MD -MP -MF ./.splice_read.d -o splice_read.o -c
splice_read.c
In file included from splice_read.c:2:
splice_test.h:34: error: conflicting types for ‘splice’
/usr/include/bits/fcntl.h:244: error: previous declaration of ‘splice’ was here
make[2]: *** [splice_read.o] Error 1
make[2]: Leaving directory `/root/ocfs2-test/programs/splice'
make[1]: *** [splice] Error 2
make[1]: Leaving directory `/root/ocfs2-test/programs'
make: *** [programs] Error 2

I past the whole compile log on: http://nopaste.com/p/aRz7tukuc , will be
available for several days.

Can anybody reproduce the issue ?

Thanks.


Reference:
[1]: [PATCH] splice: fix splice() conflicted definitions
     http://oss.oracle.com/pipermail/ocfs2-test-devel/2009-March/000252.html


-- 
Coly Li
SuSE Labs



More information about the Ocfs2-test-devel mailing list