LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-12-2012, 05:28 AM   #1
gilaforever
LQ Newbie
 
Registered: Sep 2012
Posts: 1

Rep: Reputation: Disabled
Error CrossCompile ppc_8xx (Ubuntu 12.04)


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!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apache-php arm crosscompile issue dhaneshsnair Linux - Newbie 1 05-02-2011 11:26 PM
which binary should I use to crosscompile binaries in /bin for arm mrmuds Linux - Wireless Networking 1 06-23-2009 07:44 AM
madplay crosscompile Jinho Kim Linux - Embedded & Single-board computer 1 06-16-2009 11:10 AM
Linking (ld) syntax and Floating Point crosscompile question Caesurus Linux - Software 0 06-08-2009 08:36 AM
Crosscompile:kernel cann't execute any shell xhlxhl Linux - Kernel 0 09-19-2006 09:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration