[bug #17406] glusterfsd conf.l fails to build with flex 2.5.31

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[bug #17406] glusterfsd conf.l fails to build with flex 2.5.31

Eric L.-2

URL:
  <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=17406>

                 Summary: glusterfsd conf.l fails to build with flex 2.5.31
                 Project: Gluster
            Submitted by: vikasgp
            Submitted on: Friday 08/11/2006 at 23:42
                Category: GlusterFS
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Build failure
                  Status: None
                 Privacy: Public
             Assigned to: amarts
             Open/Closed: Open
        Operating System: GNU/Linux

    _______________________________________________________

Details:

glusterfsd/src/conf.l fails to build with flex 2.5.31. This is because flex
inserts its own declaration of calloc, which conflicts with the one in
stdlib.h. Everything works fine with 2.5.4.

Note that flex 2.5.4 was released in 1997, and 2.5.31 in 2003.






    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=17406>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/



_______________________________________________
Gluster-devel mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/gluster-devel
Reply | Threaded
Open this post in threaded view
|

[bug #17406] glusterfsd conf.l fails to build with flex 2.5.31

Eric L.-2

Follow-up Comment #1, bug #17406 (project gluster):

problem is that the default 'yy' prefix was renamed to 'c', the new flex
defines <prefix>alloc, which by default is yyalloc, but now had become calloc
and conflicted with the system calloc

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=17406>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/



_______________________________________________
Gluster-devel mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/gluster-devel
Reply | Threaded
Open this post in threaded view
|

[bug #17406] glusterfsd conf.l fails to build with flex 2.5.31

Eric L.-2

Update of bug #17406 (project gluster):

                  Status:                    None => Fixed                  
             Open/Closed:                    Open => Closed                

    _______________________________________________________

Follow-up Comment #2:

works fine after considering previous comment. (yyalloc -> calloc)


    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=17406>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/



_______________________________________________
Gluster-devel mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/gluster-devel