Hi everyone, I'm new to contributing to Wine and I would like to apply to Outreachy Internship. I'm generally comfortable with C, but I don't understand Wine's code yet. I tried to download and build Wine on my computer, I followed this: https://wiki.winehq.org/Developer_FAQ#How_do_I_download_and_build_the_very_l... and make fails (linking actually) with undefined reference to yywrap in function yylex in file programs/winhlp32/macro.lex.yy.c line 1032. I'm using gcc 5.4.0. Could anyone help me solve this compilation issue? And suggest some small bugs to work on after succesfully compiling wine? Thanks in advance for help! Iwona Kotlarska
2017-03-21 6:06 GMT-06:00 Iwona Kotlarska iwona260909@gmail.com:
Hi everyone, I'm new to contributing to Wine and I would like to apply to Outreachy Internship. I'm generally comfortable with C, but I don't understand Wine's code yet. I tried to download and build Wine on my computer, I followed this: https://wiki.winehq.org/Developer_FAQ#How_do_I_download_and_build_the_very_l... and make fails (linking actually) with undefined reference to yywrap in function yylex in file programs/winhlp32/macro.lex.yy.c line 1032. I'm using gcc 5.4.0. Could anyone help me solve this compilation issue? And suggest some small bugs to work on after succesfully compiling wine? Thanks in advance for help!
It's a bug in Flex; try downgrading to Flex 2.6.2 or wait a few months for Flex 2.6.4.
Wine is big and complicated, so you'll want to pick something very specific for your Outreachy proposal. Good luck!
-Alex
Hi Iwona,
If you are using Arch or Antergos, the package maintainer for flex has released a patched version of flex-2.6.3 that avoids that particular bug. Make sure you update your flex package to 2.6.3-2.
Filip
On Tue, Mar 21, 2017 at 9:25 PM, Alex Henrie alexhenrie24@gmail.com wrote:
2017-03-21 6:06 GMT-06:00 Iwona Kotlarska iwona260909@gmail.com:
Hi everyone, I'm new to contributing to Wine and I would like to apply to Outreachy Internship. I'm generally comfortable with C, but I don't understand Wine's code yet. I tried to download and build Wine on my computer, I followed this: https://wiki.winehq.org/Developer_FAQ#How_do_I_download_and_build_the_very_l... and make fails (linking actually) with undefined reference to yywrap in function yylex in file programs/winhlp32/macro.lex.yy.c line 1032. I'm using gcc 5.4.0. Could anyone help me solve this compilation issue? And suggest some small bugs to work on after succesfully compiling wine? Thanks in advance for help!
It's a bug in Flex; try downgrading to Flex 2.6.2 or wait a few months for Flex 2.6.4.
Wine is big and complicated, so you'll want to pick something very specific for your Outreachy proposal. Good luck!
-Alex
On Tue, Mar 21, 2017 at 7:06 AM, Iwona Kotlarska iwona260909@gmail.com wrote:
Hi everyone, I'm new to contributing to Wine and I would like to apply to Outreachy Internship. I'm generally comfortable with C, but I don't understand Wine's code yet. I tried to download and build Wine on my computer, I followed this: https://wiki.winehq.org/Developer_FAQ#How_do_I_download_and_build_the_very_l... and make fails (linking actually) with undefined reference to yywrap in function yylex in file programs/winhlp32/macro.lex.yy.c line 1032. I'm using gcc 5.4.0. Could anyone help me solve this compilation issue?
Hi Iwona,
As others have mentioned, that's a Flex bug, see: https://bugs.winehq.org/show_bug.cgi?id=42132
And suggest some small bugs to work on after succesfully compiling wine?
See our Outreachy wiki page: https://wiki.winehq.org/Outreachy
The list of starter bugs can be found here: http://tinyurl.com/n47n8om (preview URL version here, http://preview.tinyurl.com/n47n8om)
Thanks in advance for help! Iwona Kotlarska
You're welcome! Let us know if you have more questions.