Menu

Compile problem on Debian 4.0

2008-02-18
2013-03-22
  • Nobody/Anonymous

    Hello.
    With trafd-3.0.3-b6 i try make -f Makefile.linux and i get
    >>skip
    In file included from util.c:54:
    ../include/util.h:73: warning: type qualifiers ignored on function return type
    ../include/util.h:75: warning: type qualifiers ignored on function return type
    ../include/util.h:82: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘net_mask’
    util.c:78: warning: function definition has qualified void return type
    util.c:109: warning: function definition has qualified void return type
    util.c:253: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘net_mask’
    >>

    as i understand there is some kind of incorrect syntax for my gcc ?
    i use system gcc version 4.1.2 20061115.
    is there a way to compile trafd on my machine ? thx

     
    • Dmitry Frolov

      Dmitry Frolov - 2008-02-21

      Thanks for the notice. I just committed a fix in CVS HEAD.

       

Log in to post a comment.

Auth0 Logo