Re: Trying to cross compile glib-2.18.2 for ARM



* Chuck Kuecker <ckuecker ckent org> wrote:

Hi,

> checking for posix getpwuid_r... (cached) yes
> checking for posix getgrgid_r... configure: error: in
> `/opt/Freescale1/ltib/rpm/BUILD/glib-2.18.2':
> configure: error: cannot run test program while cross compiling
> See `config.log' for more details.
> error: Bad exit status from /opt/Freescale1/ltib/tmp/rpm-tmp.29960 (%
> build)

That's because certain people missed the last decade and still assume 
that the building system is identical (yes, identical and not just equal)
with the target system. General braindead misconception.

Solution: get rid of all the AC_TRY_RUN()'s in configure.ac+friends.
There are better ways to do this.


cu
-- 
----------------------------------------------------------------------
 Enrico Weigelt, metux IT service -- http://www.metux.de/

 phone:  +49 36207 519931  email: weigelt metux de
 mobile: +49 151 27565287  icq:   210169427         skype: nekrad666
----------------------------------------------------------------------
 Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme
----------------------------------------------------------------------


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