[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to do findutils cross-compilation for ARM platform?
From: |
Bruno Haible |
Subject: |
Re: how to do findutils cross-compilation for ARM platform? |
Date: |
Mon, 02 Jan 2012 19:52:13 +0100 |
User-agent: |
KMail/4.7.4 (Linux/3.1.0-1.2-desktop; KDE/4.7.4; x86_64; ; ) |
> > 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: how to do findutils cross-compilation for ARM platform?,
Bruno Haible <=