bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

how to do findutils cross-compilation for ARM platform?


From: chunrong lai
Subject: how to do findutils cross-compilation for ARM platform?
Date: Mon, 26 Dec 2011 13:27:42 +0800

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

[Prev in Thread] Current Thread [Next in Thread]