Download your favorite Linux distribution at LQ ISO.
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 04-29-2005, 05:27 PM   #1
LQ Newbie
Registered: Apr 2005
Location: Stockholm
Distribution: Slackware 10.2, 2.6.15 kernel
Posts: 28

Rep: Reputation: 15
Error in binutils

Hi, I am trying to build LFS using Ubuntu 5.04 as host system. But I do not reach far. When I try to compile the first package, binutils, it ends up with this error, after the make LDFLAGS="-all-static":

../../binutils- warning: the use of `mktemp' is dangerous, better use `mkstemp'
arparse.o(.text+0xe): In function `yyerror':
/mnt/lfs/sources/binutils-build/binutils/../../binutils- rparse.y:201: undefined reference to `linenumber'
arparse.o(.text+0x2c2): In function `yyparse':
/mnt/lfs/sources/binutils-build/binutils/ undefined reference to `yy lex'
arparse.o(.text+0x4c3):/mnt/lfs/sources/binutils-build/binutils/ und efined reference to `yylex'
collect2: ld returned 1 exit status
make[3]: *** [ar] Error 1
make[3]: Leaving directory `/mnt/lfs/sources/binutils-build/binutils'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/mnt/lfs/sources/binutils-build/binutils'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/mnt/lfs/sources/binutils-build/binutils'
make: *** [all-binutils] Error 2

Please, can anybody please help me find out what is wrong?
Old 04-29-2005, 05:39 PM   #2
LQ Newbie
Registered: Apr 2005
Location: Stockholm
Distribution: Slackware 10.2, 2.6.15 kernel
Posts: 28

Original Poster
Rep: Reputation: 15
Sorry, I did a search after posting here. Seems I should try install the bison or flex package, that might solve the problem. Although I thought that ./configure would complain if those packages were missing...


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
Binutils Error hell_carnage Linux From Scratch 1 06-26-2005 08:33 AM
#Error: 5.4. Binutils- - Pass 1 ukyo Linux From Scratch 2 06-02-2005 04:37 AM
Binutils Error! chakkaradeepcc Linux From Scratch 2 04-28-2005 04:53 AM
binutils- first pass, error rogerslin Linux From Scratch 7 12-20-2004 05:44 PM
binutils error lordtweety Linux From Scratch 5 12-01-2004 08:37 AM

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