LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-15-2014, 12:52 AM   #1
Babli Kumari
LQ Newbie
 
Registered: Dec 2014
Posts: 1

Rep: Reputation: Disabled
GCC make Error


Hi All,

I am trying to build my code using cross-compiler, for testing our application On Itanium machine,

we followed below steps:
1. we copied all the include and library files of an Itanium machine to machine where we will build the cross-compiler.

2.Then configured the libc.so file (set it to: GROUP ( /usr/local/ia64-linux/lib/libc.so.6.1 /usr/local/ia64-linux/lib/libc_nonshared.a )

3.Installed binutils-2.24.51 package,
and also installing gcc-4.6.4 package,
configure --enable-threads=posix --with-libs=/usr/local/linuxia64/files/lib/ --with-headers=/usr/local/linuxia64/files/include --target=ia64-linux --prefix=/usr/local --enable-languages=c,c++ --with-gmp=/usr/local --with-mpfr=/usr/local --with-mpc=/usr/local

Its make command is giving me following Error:

gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:4189: $? = 1
configure:4178: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files


configure:5758: result: no
configure:5772: checking for version 0.11 (revision 0 or later) of PPL
configure:5789: gcc -c -g -O2 -I/usr/local/include -I/usr/local/include -I/usr/local//include conftest.c >&5
conftest.c:10:19: fatal error: ppl_c.h: No such file or directory
compilation terminated.

How can i resolve This??
 
Old 12-15-2014, 09:28 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,292

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Code:
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:4189: $? = 1
configure:4178: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
It looks like it's doing a check for gcc < 5.x, (Line 4178) and running 'gcc -V' when it wants 'gcc --version.' (Line 4189)

I would try a gentle hack of the script around there. Presume that every line you write will be wrong, and retain the original commented out. You may need it.
 
  


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
collect2: error: ld returned 1 exit status , for make install gcc-4.8.1 in gcc-pass1 cola Linux From Scratch 1 02-16-2014 10:51 PM
gcc-4.4.3 make error - failed to build gcc-4.4.3--please help aayu09 Fedora 4 03-05-2010 09:20 AM
[SOLVED] Make error with GCC-4.4.1 EricTRA Linux From Scratch 10 08-30-2009 12:55 PM
6.12. GCC-4.1.2 make error. rcg1984 Linux From Scratch 5 08-12-2008 01:59 AM
gcc 4.0.3 make error RiSK Linux From Scratch 3 07-30-2007 10:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:51 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