Results 1 to 1 of 1
i need to cross compile pango for arm board and the native system im working on is fedora-2.621 .
as part of this i had to compile pkg-config-0.23 into my ...
- 11-03-2008 #1Just Joined!
- Join Date
- Oct 2008
- Posts
- 8
error in pkg-config-0.23
i need to cross compile pango for arm board and the native system im working on is fedora-2.621 .
as part of this i had to compile pkg-config-0.23 into my own path /root/usr/moz .while i try ./configure --host=i686-linux --build=arm-linux --prefix=/root/usr/moz/ --without-x
i get the following error
checking whether arm-linux-gnu-gcc accepts -g... (cached) yes
checking for arm-linux-gnu-gcc option to accept ISO C89... (cached) none needed
checking dependency style of arm-linux-gnu-gcc... (cached) gcc3
checking for arm-linux-gnu-gcc option to accept ANSI C... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking for extra flags to get ANSI library prototypes... configure: error: cannot run test program while cross compiling
See `config.log' for more details.
configure: error: ./configure failed for glib-1.2.10
this is what the config.log says in the pkg-config-0.23/glib-1.2.10
configure:20256: checking dependency style of arm-linux-gnu-gcc
configure:20339: result: gcc3
configure:20359: checking for arm-linux-gnu-gcc option to accept ANSI C
configure:20427: arm-linux-gnu-gcc -c -g -O2 conftest.c >&5
configure:20433: $? = 0
configure:20453: result: none needed
configure:20477: checking for a BSD-compatible install
configure:20533: result: /usr/bin/install -c
configure:20564: checking for extra flags to get ANSI library prototypes
configure:20570: error: cannot run test program while cross compiling
See `config.log' for more details.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=arm-unknown-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=set
could anyone help me sole this error and let know why this error occured , so that i can proceed with my furthur libraries to be compiled


Reply With Quote