LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-21-2008, 12:55 AM   #1
J_Preetam
LQ Newbie
 
Registered: Jan 2008
Posts: 2

Rep: Reputation: 0
URGENT:BINUTILS Problem


Hello all,

I am having a tough time to build binutils package 2.16. I initiallly got an error: /bin/sh: no : not found. I got away with that error by configuring the package with sudo ./confgure --disable-nls


But now during make i get an error saying undefined reference to yyparse . On googling and going thru the mailing list i found that error was due to bison and flex hence i installed the same but i still get the same error.

Any Help would be appreciated.

Thanks ,

Preetam
 
Old 01-21-2008, 01:59 AM   #2
BASHCuresCancer
LQ Newbie
 
Registered: Jan 2008
Posts: 19

Rep: Reputation: 0
What distribution and release are you using?

For RH based, try:

Code:
yum install bison-devel
For deb based:
Code:
apt-get install bisonc++
 
Old 01-21-2008, 02:02 AM   #3
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,125

Rep: Reputation: 164Reputation: 164
Can you give us more information please? What command did you type just prior to the first error? It looks like the shell couldn't find the no command. You shouldn't need to use sudo to run the configure script (assuming you're the owner of the source directory).

Also, please don't mark your posts as urgent.
 
Old 01-21-2008, 03:54 AM   #4
J_Preetam
LQ Newbie
 
Registered: Jan 2008
Posts: 2

Original Poster
Rep: Reputation: 0
Binutils Error:

I have done bisonc++ install as well. still i get the same error.

I am using binutils version 2.16.1cvs20060117

I have also applied the diff related to ubuntu2.1 for the same.


Quote:
Originally Posted by BASHCuresCancer View Post
What distribution and release are you using?

For RH based, try:

Code:
yum install bison-devel
For deb based:
Code:
apt-get install bisonc++
 
Old 01-21-2008, 12:26 PM   #5
BASHCuresCancer
LQ Newbie
 
Registered: Jan 2008
Posts: 19

Rep: Reputation: 0
You are missing a header file. When you do the build, send it to and output file. Like so

Code:
make 2>&1 | tee make.out
Then after it fails, look above where the error came out. It should say something about a missing .h file. That's the file you need. On RH systems, the is two packages for bison, a regular and devel package which provides the headers. I don't know about deb systems, except that I could not find a dev, as deb calls them, package.
 
Old 01-25-2008, 10:43 AM   #6
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 233Reputation: 233Reputation: 233
I'm really surprised no one has commented on/criticized your use of "URGENT" in your (original) thread title ("URGENT:BINUTILS Problem"). In short, at LQ it's considered rude. For more info, search the fora for "URGENT", you should be able to find several polite explanations. Meanwhile, I believe you can edit your thread title.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Startup Problem: Binutils rvijay Linux From Scratch 10 06-15-2007 09:54 AM
Problem on building Binutils bitrux Linux From Scratch 8 10-05-2006 11:04 AM
5.3 Binutils problem dupree Linux From Scratch 2 07-20-2005 08:36 PM
binutils problem?? alaios Linux From Scratch 4 01-17-2005 10:17 AM
Installation of binutils....can't mkdir...../binutils-build hmonster Linux From Scratch 6 08-22-2004 05:07 AM


All times are GMT -5. The time now is 04:56 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration