building binutils-2.8.1 on ‘Modern’ systems

You are bound to run into this fun:

# ./ldlex.l:477:7: error: 'yy_current_buffer' undeclared (first use in this function)

And basically look for the following (case sensitive!)


And replace it with:



Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.