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!

Leave a Reply