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

 
 

bug #38000: build issue, lex/yacc.

Submitted by:  None
Submitted on:  Sun 30 Dec 2012 02:11:44 PM UTC  
 
Category: NoneSeverity: 4 - Important
Status: Works For MePrivacy: Public
Assigned to: Guido Flohr <gflohr>Open/Closed: Open
Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project AdministratorIn charge of this item.
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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 09 Jan 2013 03:29:32 PM UTCgflohrStatusNone=>Works For Me
    Wed 09 Jan 2013 11:34:25 AM UTCgflohrSeverity3 - Normal=>4 - Important
      Assigned toNone=>gflohr
      Operating SystemNone=>GNU/Linux

    Back to the top


    Powered by Savane 3.1-cleanup1