<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Mesa fails to build with flex 2.6.2"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=98473">98473</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Mesa fails to build with flex 2.6.2
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>git
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Mesa core
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>emil.l.velikov@gmail.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Messages like the following can be seen which indicate that, the defines are
missing and one has to manually change the leading "yy" with the appropriate
prefix.

Issue covers all three lexers - glsl, glcpp an mesa/program.

./src/compiler/glsl/glsl_lexer.ll: In function ‘void
_mesa_glsl_lexer_ctor(_mesa_glsl_parse_state*, const char*)’:
./src/compiler/glsl/glsl_lexer.ll:631:44: error: ‘yylex_init_extra’ was not
declared in this scope
    yy_scan_string(string, state->scanner);
                                            ^
./src/compiler/glsl/glsl_lexer.ll:632:41: error: ‘yy_scan_string’ was not
declared in this scope
 }
                                         ^
./src/compiler/glsl/glsl_lexer.ll: In function ‘void
_mesa_glsl_lexer_dtor(_mesa_glsl_parse_state*)’:
./src/compiler/glsl/glsl_lexer.ll:638:32: error: ‘yylex_destroy’ was not
declared in this scope
 }
                                ^</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>