> > I met errors as
> > arm-linux-gnueabi-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..
> > -I../../intl -g -MT areadlink-with-size.o -MD -MP -MF $depbase.Tpo -c -
o
> > areadlink-with-size.o areadlink-with-size.c &&\
> > mv -f $depbase.Tpo $depbase.Po
> > In file included from ./stdio.h:31,
> > from areadlink-with-size.c:25:
> > /usr/arm-linux-gnueabi/include/stdio.h:742: error: expected
> > declaration specifiers or ‘...’ before ‘(’ token
> > /usr/arm-linux-gnueabi/include/stdio.h:742: error: conflicting
> > types for ‘rpl_fseeko’
> > ./stdio.h:275: note: previous declaration of ‘rpl_fseeko’ was
> > here
gnulib tries to arrange things such that the libc's <stdio.h> file is read
and processed before gnulib's <stdio.h> file. Apparently here it did not
work as expected.
If you can reproduce this error with corrected --build and --host values,
please can you post the output of the preprocessing, i.e.
$ arm-linux-gnueabi-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. \
-I../../intl -g -MT areadlink-with-size.o -E areadlink-with-size.c
Bruno