| Summary: | app-emulation/dosemu-1.4.1_pre20091009 - lex.yy.c:{2029,4975}:11: error: conflicting types for ‘yyget_leng’ | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | far jump <far.jmp> |
| Component: | Current packages | Assignee: | Hanno Böck <hanno> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | 10.0 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
emerge --info
build log lexer patch |
||
Please attach the complete build log. Created attachment 340008 [details]
build log
Created attachment 340068 [details, diff] lexer patch Taken from: http://comments.gmane.org/gmane.linux.msdos.dosemu.devel/130 I can confirm that dosemu-1.4.1_pre20091009 builds for me after applying the patch. every linux box (3 AMDs, 1 intel) has this error, either by re-emerge or new install I can also confirm that dosemu-1.4.1_pre20091009 builds for me after applying the above patch. however when I run dosemu from user command line it just hangs - NO dos environment I found this bug: https://bugs.gentoo.org/show_bug.cgi?id=437074 will this problem be addressed? each emerge --sync breaks this fix My workaround is: - uninstall flex 2.5.37 by emerge -C flex - compile and install flex 2.5.33 by hand - emerge dosemu, which compiles fine - uninstall flex 2.5.33 by hand - re-emerge flex 2.5.37 Portage does not have 2.5.33
Available versions: 2.5.35 2.5.35_p10 2.5.37 {{nls static test}}
Hi far jump, that's why I've installed the older sources, fetched from the net, under /usr/local/src: ./configure --prefix=/usr ; make install After dosemu has been compiled, just do a: make uninstall ; emerge -1 flex and all is the same as before. CU Tom (In reply to Tom from comment #9) > that's why I've installed the older sources, fetched from the net, under > /usr/local/src: Thanks Tom, I see how that can work, but is it not easier to apply the patch that Muffy created? It works and follows emerge protocal. *** This bug has been marked as a duplicate of bug 437074 *** |
Created attachment 340004 [details] emerge --info while emerge -u world [I] app-emulation/dosemu Available versions: ~1.4.0.1 1.4.1_pre20091009 {{X alsa debug gpm sndfile svga}} Installed versions: 1.4.1_pre20091009(08:52:43 PM 11/29/2012)(X gpm -alsa -debug -sndfile -svga) x86_64-pc-linux-gnu-gcc -c -MP -MMD -I../../../src/include -I../../../src/plugin/include -I. -Wall -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -march=k8 -O2 -pipe -fno-pic -fno-strict-aliasing -Wno-pointer-sign -pipe -DYYPURE -o lex.yy.o lex.yy.c lex.yy.c:2029:11: error: conflicting types for ‘yyget_leng’ lexer.h:39:12: note: previous declaration of ‘yyget_leng’ was here lex.yy.c:4975:11: error: conflicting types for ‘yyget_leng’ lexer.h:39:12: note: previous declaration of ‘yyget_leng’ was here lexer.l: In function ‘dump_input’: lexer.l:1135:13: warning: variable ‘lastrule’ set but not used [-Wunused-but-set-variable] make[2]: *** [lex.yy.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/app-emulation/dosemu-1.4.1_pre20091009/work/dosemu/src/base/init' make[1]: *** [base/init] Error 2 make[1]: *** Waiting for unfinished jobs....