Skip to content

Compilation fails on debian stablish #11

@gno

Description

@gno

hi is there a mailing list?

with these software,

ii bison 2:2.7.1.dfsg-1
ii flex 2.5.35-10.1

running ../scripts/build results in:

range.c:20:5: error: conflicting types for 'yyparse'
int yyparse(void_);
^
In file included from range.c:14:0:
range_parser.h:144:5: note: previous declaration of 'yyparse' was here
int yyparse (void);
^
range.c: In function 'range_from_function':
range.c:426:5: warning: implicit declaration of function 'libcrange_get_python_module' [-Wimplicit-function-declaration]
plugin_module = libcrange_get_python_module(lr, funcname);
^
range.c:426:19: warning: assignment makes pointer from integer without a cast [enabled by default]
plugin_module = libcrange_get_python_module(lr, funcname);
^
range.c:428:7: warning: implicit declaration of function 'python_function' [-Wimplicit-function-declaration]
returned_ret = python_function(rr, funcname, r, &passed_ret);
^
range.c:428:20: warning: assignment makes pointer from integer without a cast [enabled by default]
returned_ret = python_function(rr, funcname, r, &passed_ret);
^
range.c:413:10: warning: variable 'returned_ret' set but not used [-Wunused-but-set-variable]
range_ returned_ret;
^
make[3]: *** [libcrange_la-range.lo] Error 1
make[3]: Leaving directory /usr/src/libcrange/source/src' make[2]: *** [all] Error 2 make[2]: Leaving directory/usr/src/libcrange/source/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/libcrange/source'
make: *** [all] Error 2

  • exit 1
    gno@sugar:/usr/src/libcrange/source$

Pardon the venue if incorrect. I've got a patch for the other open issue, although I'm not convinced a patch is the right solution.

Thanks for your time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions