LinuxQuestions.org
Review your favorite Linux distribution.
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 08-08-2007, 09:02 PM   #1
sjcoder
LQ Newbie
 
Registered: Dec 2005
Posts: 13

Rep: Reputation: 0
Cross compiler error


I try cross build a arm toolchain on the Fedora 2.6 kernel.
I got this error. Can someone has any suggestion.
***********************************************************
/usr/tem/armutils_2.5.167.0/build_arm/gcc-2.95.3/gcc/config/arm/arm.c: In function ‘arm_override_options’:
/usr/tem/armutils_2.5.167.0/build_arm/gcc-2.95.3/gcc/config/arm/arm.c:287: warning: assignment discards qualifiers from pointer

target type
/usr/temp/armutils_2.5.167.0/build_arm/gcc-2.95.3/gcc/config/arm/arm.c:531: error: invalid lvalue in assignment
make[2]: *** [arm.o] Error 1
make[2]: Leaving directory `/usr/temp/armutils_2.5.167.0/build_arm/gcc-build/gcc'
make[1]: ***

[all-gcc] Error 2
make[1]: Leaving directory `/usr/temp/armutils_2.5.167.0/build_arm/gcc-build'
make: ***

[/usr/temp/armutils_2.5.167.0/build_arm/gcc-build/.compiled] Error 2
**************************************************************

- sjcoder
 
Old 09-07-2007, 06:27 PM   #2
davesmith
Member
 
Registered: Sep 2007
Location: Near Dallas, TX
Distribution: Debain and Ubuntu
Posts: 36

Rep: Reputation: 15
Hi sjcoder,

What version of gcc do you have?
Code:
rpm -qa | grep gcc
Have you looked at the document at http://gcc.gnu.org/install/index.html to check you have what you need?

Dave
 
  


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
My c compiler doesn't work after the cross-compiler installed heracles.cn Linux - Newbie 1 06-05-2007 03:55 AM
glib Error: while building Cross-Compiler for PPC Dhana_pal Linux From Scratch 2 12-28-2006 12:57 AM
Kernel compilation error using cross compiler bond_7942 Linux - Software 0 02-02-2005 12:18 AM
Cross compiler help please daveschile Linux - Software 1 04-09-2004 07:24 PM

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

All times are GMT -5. The time now is 07:11 AM.

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