http://bugs.winehq.org/show_bug.cgi?id=17474
Summary: winhlp32.exe.so exports flex/yacc-related symbols Product: Wine Version: unspecified Platform: Other URL: http://blog.flameeyes.eu/2008/02/09/flex-and-linking- conflicts-or-a-possible-reason-why-php-and-recode-are- so-crashy OS/Version: other Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: flameeyes@gmail.com
yamato ~ # nm -D /usr/lib/wine/winhlp32.exe.so | grep yy 00024780 T yy_create_buffer 00024040 T yy_delete_buffer 0003a910 B yy_flex_debug 00023e30 T yy_flush_buffer 00024540 T yy_scan_buffer 00024600 T yy_scan_bytes 000246a0 T yy_scan_string 00024480 T yy_switch_to_buffer 00024250 T yyalloc 00024010 T yyfree 00023fc0 T yyget_debug 00023ee0 T yyget_in 00023f20 T yyget_leng 00023ec0 T yyget_lineno 00023f00 T yyget_out 00023f40 T yyget_text 0003a908 B yyin 0003a94c B yyleng 000248f0 T yylex 00024160 T yylex_destroy 0003a7c0 D yylineno 0003a954 B yylval 0003a90c B yyout 000240b0 T yypop_buffer_state 000243b0 T yypush_buffer_state 00024220 T yyrealloc 00024810 T yyrestart 00023fe0 T yyset_debug 00023f80 T yyset_in 00023f60 T yyset_lineno 00023fa0 T yyset_out 0003a950 B yytext 00024000 T yywrap
These symbols should be hidden somehow so that they don't risk colliding with the same symbol as exported by other libraries loaded in the same process's address space. The risk of that is not too low since I see at least one Unix ODBC implementation exports yylex at least.
HTH, Diego