LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   URGENT:BINUTILS Problem (https://www.linuxquestions.org/questions/linux-newbie-8/urgent-binutils-problem-615092/)

J_Preetam 01-20-2008 11:55 PM

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

BASHCuresCancer 01-21-2008 12:59 AM

What distribution and release are you using?

For RH based, try:

Code:

yum install bison-devel
For deb based:
Code:

apt-get install bisonc++

gilead 01-21-2008 01:02 AM

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.

J_Preetam 01-21-2008 02:54 AM

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 (Post 3029848)
What distribution and release are you using?

For RH based, try:

Code:

yum install bison-devel
For deb based:
Code:

apt-get install bisonc++


BASHCuresCancer 01-21-2008 11:26 AM

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.

archtoad6 01-25-2008 09:43 AM

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.


All times are GMT -5. The time now is 08:38 PM.