#1324 unable to compile bochs 2.6.2 in fedora 18 64 bits


unable to compile bochs 2.6.2 in fedora 18 64 bits, the first bug can be fixed by add "-lpthread" manually to the Makefile.

1 Attachments


  • Stanislav Shwartsman

    For lex/yacc errors you probably need to remove lex/yacc generated files.
    run 'make parse-clean' from bx_debug folder.
    I assume you have lex/yacc installed on Fedora in order to regerate parsing files properly for the way fedora supports.


  • Peter

    Peter - 2013-06-09

    adter i "make parse-clean", i meet another error:

    make[1]: Entering directory /root/workspace/bochs-2.6.2/bx_debug' yacc parser.y yacc: 5 rules never reduced yacc: 140 shift/reduce conflicts, 15 reduce/reduce conflicts. mv -f y.tab.c parser.c gcc -c -I.. -I./.. -I../instrument/peter-bochs-instrument -I./../instrument/peter-bochs-instrument -I. -I./. -g -O2 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -pthread -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT parser.c -o parser.o parser.y:10:0: error: unterminated #if make[1]: *** [parser.o] Error 1 make[1]: Leaving directory/root/workspace/bochs-2.6.2/bx_debug'
    make: *** [bx_debug/libdebug.a] Error 2

  • Stanislav Shwartsman

    Are you using configure script properly or manually editing makefiles ?

    The 'missing' endif is appeneded to the end of parser file from the Makefile

    parser.c: parser.y
    @/bin/rm -f y.tab.c parser.c
    @/bin/rm -f y.tab.h parser.h
    $(YACC) -p bx -d $<
    @/bin/mv -f y.tab.c parser.c
    @/bin/mv -f y.tab.h parser.h
    @echo '#endif / if BX_DEBUGGER /' >> parser.c
    @echo '/ The #endif is appended by the makefile after running yacc. /' >> parser.c

    I don't see your makefile doing this so you have corrupted makefile.
    Only extra conflusion that there is no bug.

  • Stanislav Shwartsman

    • Group: can't_reproduce --> not_a_bug
  • Volker Ruppert

    Volker Ruppert - 2014-05-24
    • status: open --> closed
    • assigned_to: Volker Ruppert

Log in to post a comment.