Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flex 2.6.3 breaks building wine #160

Closed
julliard opened this issue Jan 11, 2017 · 4 comments
Closed

flex 2.6.3 breaks building wine #160

julliard opened this issue Jan 11, 2017 · 4 comments

Comments

@julliard
Copy link

make[1]: Entering directory '/home/julliard/wine/wine/programs/winhlp32'
flex -omacro.lex.yy.c macro.lex.l
gcc -m32 -c -o macro.lex.yy.o macro.lex.yy.c -I. -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe
-fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers
-Wshift-overflow=2 -Wstrict-prototypes -Wtype-limits -Wunused-but-set-parameter -Wvla
-Wwrite-strings -Wpointer-arith -Wlogical-op -gdwarf-2 -gstrict-dwarf -fno-omit-frame-pointer
-Werror -g -O2 -fno-diagnostics-show-caret
../../tools/winegcc/winegcc -o winhlp32.exe.so -B../../tools/winebuild -m32 -fasynchronous-unwind-tables
-mwindows callback.o hlpfile.o macro.o string.o winhelp.o macro.lex.yy.o winhlp32.res -lshell32
-lcomctl32 -lcomdlg32 -luser32 -lgdi32 ../../libs/port/libwine_port.a -Wb,-dshell32 -Wb,-dcomctl32
-Wb,-dcomdlg32
macro.lex.yy.o: In function yylex': /home/julliard/wine/wine/programs/winhlp32/macro.lex.yy.c:1032: undefined reference to yywrap'
collect2: error: ld returned 1 exit status
winegcc: gcc failed
Makefile:296: recipe for target 'winhlp32.exe.so' failed
make[1]: *** [winhlp32.exe.so] Error 2

This is caused by the extra

#define yywrap yywrap

generated since commit 347652c.

@julliard
Copy link
Author

For reference: https://bugs.winehq.org/show_bug.cgi?id=42132

@Explorer09
Copy link
Contributor

Explorer09 commented Jan 12, 2017

"undefined reference to yywrap"? Seems to be similar to #154.

@westes
Copy link
Owner

westes commented Jan 23, 2017

Looks like the same issue as #162; please confirm that you see this fixed for you on master now.

@julliard
Copy link
Author

Yes, this is fixed on master. Thanks!

@westes westes closed this as completed Jan 23, 2017
joebonrichie pushed a commit to solus-packages/flex that referenced this issue Aug 14, 2023
Related issue: westes/flex#160
Once released upstream we'll settle back on the 2.6.4 tarball

Signed-off-by: Ikey Doherty <ikey@solus-project.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants