#520 Cannot compile dosemu on new distribution

fixed_in_git
closed
nobody
None
5
2014-12-11
2014-03-30
Jaroslav Fojtik
No

make[2]: Entering directory /I/USR_SRC/dosemu-1.4.0/src/plugin/kbd_unicode' make[2]: Nothing to be done forall'.
make[2]: Leaving directory `/I/USR_SRC/dosemu-1.4.0/src/plugin/kbd_unicode'
gcc -Wl,-Ttext,0x100,-e,_start16,--oformat,binary -nostdlib -s -o ../../../1.4.0.0/commands/generic.com generic.o
lex.yy.c:2020:11: error: conflicting types for 'yyget_leng'
yy_size_t yyget_leng (void );
^
In file included from lexer.l:58:0:
lexer.h:39:12: note: previous declaration of 'yyget_leng' was here
extern int yyget_leng(void);
^
chmod -x ../../../1.4.0.0/commands/generic.com
ln -sf generic.com ../../../1.4.0.0/commands/bootoff.com
ln -sf generic.com ../../../1.4.0.0/commands/booton.com
lex.yy.c:4961:11: error: conflicting types for 'yyget_leng'
yy_size_t yyget_leng (void)
^
In file included from lexer.l:58:0:
lexer.h:39:12: note: previous declaration of 'yyget_leng' was here
extern int yyget_leng(void);
^
lexer.l: In function 'dump_input':
lexer.l:1134:13: warning: variable 'lastrule' set but not used [-Wunused-but-set-variable]
static int lastchar = '\n';
^
ln -sf generic.com ../../../1.4.0.0/commands/ecpuon.com
lexer.l: At top level:
lex.yy.c:4485:16: warning: 'input' defined but not used [-Wunused-function]
static int input (void)
^

Discussion

  • Stas Sergeev
    Stas Sergeev
    2014-03-30

    • status: open --> closed
     
  • Stas Sergeev
    Stas Sergeev
    2014-03-30

    This is fixed in git.
    Sorry for not having a release.
    Please compile from git.