Opened 20 years ago
Closed 20 years ago
#1065 closed defect (invalid)
missing -lfl || worked out have solution
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | lowest | Milestone: | |
Component: | Book | Version: | 6.0 |
Severity: | major | Keywords: | |
Cc: |
Description
When I built Binutils Pass 2 (I was using Binutils 2.15.91.0.2) LD exited with the error message: cannot find -lfl. I found out that LFL refered to the libfl, part of the Flex package. If I build/install Flex before building Binutils Pass 2, everything works fine. In the book you should move 5.32 Flex before 5.14. Binutils-2.15.91.0.2 - Pass 2.
Change History (3)
comment:1 by , 20 years ago
comment:2 by , 20 years ago
I was using the included CD that I downloaded off the LFS site. The problem was easily fixed by building Flex first. I can't reproduce the error message because I've nearly finished building the system (it was like: LD [filenames] -lfl) sorry if I wasn't any help there.
comment:3 by , 20 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Well, if it failed in pass 2, then one would imagine it should have failed in pass 2 too. Flex is listed as a dependency in pass 1, hence is required to be installed on the host prior to building LFS. This may be a bug on the LiveCD, though it's development is fairly rapid so may have been fixed already.
Verify that your host distro has libfl.a in a lib directory. Also tell us what distro you were using to build your LFS. Send in a complete error, for us to validate, (the actual error message)