I tried to build a ARM version of findutils in my ubuntu 10.10 (x86_64)
with below commands
      CC=arm-linux-gnueabi-gcc CFLAGS="-g" ./configure --build
arm-cross-linux-gnueabi --host i686-pc-linux-gnu
      make

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
but do not quite understand what happened. Any helps are appreciated.

Reply via email to