Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.


  Search this Thread
Old 02-05-2007, 08:56 AM   #1
LQ Newbie
Registered: Feb 2007
Location: Belgium
Distribution: FC6
Posts: 4

Rep: Reputation: 0
Compiling Binutils on FC6, with bison en flex installed


Tried compiling binutils but got the error that yylex was missing. I've searched this forum and the net, and found out that i had to install bison, bison-devel and flex. Installed all three, but still got the same error.
Does anybody has any hints?
Thnx in advance
Old 02-05-2007, 10:43 AM   #2
ReliaFree Maintainer
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
You don't provide much to go actual error messages.

Did you try to build binutils, have it fail, install bison and flex, then try make again? If so, run the configure script again then try make. If you want a real clean slate, delete the binutils build directory and the source tree, unpack binutils and start again.
Old 02-05-2007, 11:44 AM   #3
LQ Newbie
Registered: Feb 2007
Location: Belgium
Distribution: FC6
Posts: 4

Original Poster
Rep: Reputation: 0
yeah, sorry for the lack of information. But your info did help, the problem was just that I had to remove the binutils-build folder before I could retry. I removed it, but then got another error. This one was a conflict between my gcc and binutils 2.16. I used the one from the LFS in development and it worked.
So thanks for the helping hand...



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
Do flex and bison support C++? ankit4u1 Programming 7 08-08-2011 05:56 PM
installing bison and flex rameshsena Linux - Software 10 06-21-2010 12:33 PM
bison / flex zaman Programming 1 08-16-2005 11:19 AM
Problem with binutils first pass / bison & flex installation peristaltic Linux From Scratch 3 03-20-2005 11:17 AM
bison, flex and make problem ChimpFace9000 Programming 4 05-19-2002 08:49 PM > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 03:30 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration