[ucLibc/buildroot compile problem]: Conflicting types forposix_fadvise
Joakim Tjernlund
joakim.tjernlund at transmode.se
Wed Oct 26 06:49:07 UTC 2005
> `/buildroot/buildroot/toolchain_build_i686/uClibc/libc/sysdeps
> /linux/common'
> /buildroot/buildroot/build_i686/staging_dir/bin/i686-linux-ucl
> ibc-gcc -Wall
> -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing
> -march=pentium3
> -fno-builtin -nostdinc -D_LIBC -I../../../../include -I.
> -mpreferred-stack-boundary=2 -falign-jumps=0 -falign-loops=0
> -Os -isystem
> /buildroot/buildroot/build_i686/staging_dir/lib/gcc-lib/i686-l
> inux-uclibc/3.3.6/include
> -DNDEBUG -fPIC -c posix_fadvise.c -o posix_fadvise.o
> posix_fadvise.c:22: error: conflicting types for `posix_fadvise'
> ./../../../include/fcntl.h:141: error: previous declaration
> of `posix_fadvise'
> make[5]: *** [posix_fadvise.o] Error 1
>
> Any clues where to even start debugging this build fault? I
> did some quick
> tests with gcc -E to see the preprocessor's output, and it
> looked like the
> right include files were brought in.
I think this was just fixed in SVN. Try updating your uClibc sources.
Jocke
More information about the uClibc
mailing list