Hi all,
when I try to Cross Compile (for powerpc ppc_8xx) Freetype libraries (2.1.4), i find this error:
Code:
checking for C compiler default outpu... configure: error: C compiler cannot create executables check 'config.log' for details.
Log file:
Code:
gcc version 4.0.0 (DENX ELDK 4.1 4.0.0)
configure:1843: $? = 0
configure:1845: ppc_8xx-gcc -V </dev/null >&5
ppc_8xx-gcc: '-V' must come at the start of the command line
configure:1848: $? = 1
configure:1868: checking for C compiler default output
configure:1871: ppc_8xx-gcc conftest.c >&5
/opt/eldk/usr/bin/../lib/gcc/powerpc-linux/4.0.0/../../../../powerpc-linux/bin/ld: warning: ld.so.1, needed by /opt/eldk/usr/../ppc_8xx/lib/libc.so.6, not found (try using -rpath or -rpath-link)
/opt/eldk/usr/../ppc_8xx/lib/libc.so.6: undefined reference to `_rtld_global@GLIBC_PRIVATE'
/opt/eldk/usr/../ppc_8xx/lib/libc.so.6: undefined reference to `__libc_enable_secure@GLIBC_PRIVATE'
/opt/eldk/usr/../ppc_8xx/lib/libc.so.6: undefined reference to `_rtld_global_ro@GLIBC_PRIVATE'
/opt/eldk/usr/../ppc_8xx/lib/libc.so.6: undefined reference to `_dl_out_of_memory@GLIBC_PRIVATE'
/opt/eldk/usr/../ppc_8xx/lib/libc.so.6: undefined reference to `_r_debug@GLIBC_2.0'
/opt/eldk/usr/../ppc_8xx/lib/libc.so.6: undefined reference to `__tls_get_addr@GLIBC_2.3'
/opt/eldk/usr/../ppc_8xx/lib/libc.so.6: undefined reference to `_dl_argv@GLIBC_PRIVATE'
collect2: ld returned 1 exit status
configure:1874: $? = 1
configure: failed program was:
#line 1851 "configure"
#include "confdefs.h"
int
main ()
{
;
return 0;
}
configure:1901: error: C compiler cannot create executables
check `config.log' for details.
When I Cross compile under ubuntu 11.04 i have no problem.
Can someone help me?
Thanks in advance!