bugGibbon - Bugs: bug #38000, build issue, lex/yacc.

 
 

bug #38000: build issue, lex/yacc.

Submitter:  None
Submitted:  Sun 30 Dec 2012 02:11:44 PM UTC
   
 
Category:  None Severity:  4 - Important
Status:  Works For Me Privacy:  Public
Assigned to:  gflohr Open/Closed:  Open
Operating System:  GNU/Linux
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 09 Jan 2013 03:29:14 PM UTC, comment #1: 

I changed my toolchain to your versions of flex, bison, and gcc and still cannot reproduce your problem (on Gentoo).  Additionally, your error messages do not fit my versions of the generated files.

Can you send me your generated gibbon-gmd-lexer.c by mail or upload it here?

Guido Flohr <gflohr>
Group administrator
Sun 30 Dec 2012 02:11:44 PM UTC, original submission:  

Trying to build master from git, I get what follows below. This on an up to date Arch Linux system,

$ lex --version
flex 2.5.37
$ yacc --version
bison (GNU Bison) 2.7
$ cc --version
cc (GCC) 4.7.2


make[2]: Entering directory `/home/quite/src/gibbon/src'
  LEX      gibbon-gmd-lexer.c
  YACC     gibbon-gmd-parser.c
  CC       gibbon-gmd-lexer.o
gibbon-gmd-lexer.c:775:5: error: conflicting types for ‘gibbon_gmd_lexer_lex_destroy’
In file included from gibbon-gmd-lexer.l:41:0:
gibbon-gmd-reader-priv.h:101:5: note: previous declaration of ‘gibbon_gmd_lexer_lex_destroy’ was here
gibbon-gmd-lexer.c:787:6: error: conflicting types for ‘gibbon_gmd_lexer_set_in’
In file included from gibbon-gmd-lexer.l:41:0:
gibbon-gmd-reader-priv.h:99:6: note: previous declaration of ‘gibbon_gmd_lexer_set_in’ was here
gibbon-gmd-lexer.l: In function ‘gibbon_gmd_lexer_lex’:
gibbon-gmd-lexer.l:157:15: warning: assignment makes pointer from integer without a cast [enabled by default]
gibbon-gmd-lexer.c: At top level:
gibbon-gmd-lexer.c:2246:6: error: conflicting types for ‘gibbon_gmd_lexer_set_in’
In file included from gibbon-gmd-lexer.l:41:0:
gibbon-gmd-reader-priv.h:99:6: note: previous declaration of ‘gibbon_gmd_lexer_set_in’ was here
gibbon-gmd-lexer.c:2302:5: error: conflicting types for ‘gibbon_gmd_lexer_lex_destroy’
In file included from gibbon-gmd-lexer.l:41:0:
gibbon-gmd-reader-priv.h:101:5: note: previous declaration of ‘gibbon_gmd_lexer_lex_destroy’ was here
make[2]: * [gibbon-gmd-lexer.o] Error 1
make[2]: Leaving directory `/home/quite/src/gibbon/src'
make[1]: * [all-recursive] Error 1
make[1]: Leaving directory `/home/quite/src/gibbon'
make: * [all] Error 2

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by gflohr (Updated the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-01-09 gflohr StatusNone Works For Me
    2013-01-09 gflohr Severity3 - Normal 4 - Important
        Assigned toNone gflohr
        Operating SystemNone GNU/Linux

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code