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!)

yy_current_buffer

And replace it with:

YY_CURRENT_BUFFER

Yep!

This entry was posted in binutils by neozeed. Bookmark the permalink.
avatar

About neozeed

What is there to tell? I’ve loved UNIX like things since I was first exposed to QNX in highschool (we had the Unisys ICONS!), and spent the better time of my teenage years trying to get my own UNIX… I should have bought Coherent in retrospect.. Anyways latched onto Linux in 1992, and then got some old BSD admin books and have been hooked on the VAX BSD & other big/ancient things since…!

Leave a Reply

Your email address will not be published.

Notify me of followup comments via e-mail. You can also subscribe without commenting.