LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 06-27-2011, 09:19 PM   #1
just2012
LQ Newbie
 
Registered: Jun 2011
Posts: 2

Rep: Reputation: Disabled
use gcc command to compile a *.c file error:unrecognized option '--eh-frame-hdr'


use gcc command to compile a *.c file error:unrecognized option '--eh-frame-hdr'
why is it?
and how to solution it?
thanks!
 
Old 06-27-2011, 10:16 PM   #2
just2012
LQ Newbie
 
Registered: Jun 2011
Posts: 2

Original Poster
Rep: Reputation: Disabled
more infomation

gcc -o test test.c
/usr/local/bin/ld:unrecognized option '--eh-frame-hdr'
/usr/local/bin/ld:use the --help for usage information
colletc2:ld return 1 exit status
 
Old 06-30-2011, 10:19 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Quote:
/usr/local/bin/ld:unrecognized option '--eh-frame-hdr'
Probably because --eh-frame-hdr is a non existing option.

Suggest : Find it in your text and delete 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
gcc unrecognized option ruben22 Linux From Scratch 9 11-12-2008 04:41 AM
cc1: error: unrecognized command line option "-mapcs-32" vengat Linux - Hardware 0 04-29-2008 02:18 AM
gcc-giving error as as: unrecognized option `-Qy' nidhimittal Linux - Newbie 4 03-27-2008 05:44 AM
pkg-get install gcc ERROR: gcc unrecognized Raidmax Solaris / OpenSolaris 10 08-30-2007 12:51 PM
gcc: unrecognized option `-prefer-non-pic' Noodles25 Linux - Software 3 04-19-2007 07:44 PM

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

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