Skip to content

doesn't build against libcapi20-3 from debian #10

@laf0rge

Description

@laf0rge

I'm currently trying to build this on a debian unstable machine (libcapi20-3 3.27-3+b1 plus related libcapi20-dev installed) based on top of mISDN + mISDNuser with capi20 support.

The debian package hasn't really changed since 2014, so I presume the code didn't build at least as long.

The problem is the check for CAPI_LIBRARY_V2 which is not defined in this environment:
checking for CAPI_LIBRARY_V2 signature in capiutils.h... no

grep LIBRARY_V2 /usr/include/*capi* /usr/include/capiutils.h:#ifndef CAPI_LIBRARY_V2 /usr/include/capiutils.h:#ifndef CAPI_LIBRARY_V2 /usr/include/capiutils.h:#ifndef CAPI_LIBRARY_V2 /usr/include/capiutils.h:#ifndef CAPI_LIBRARY_V2 /usr/include/capiutils.h:#ifndef CAPI_LIBRARY_V2 /usr/include/capiutils.h:#ifndef CAPI_LIBRARY_V2 /usr/include/capiutils.h:#ifndef CAPI_LIBRARY_V2 /usr/include/capiutils.h:#ifndef CAPI_LIBRARY_V2 /usr/include/capiutils.h:#ifndef CAPI_LIBRARY_V2 /usr/include/capiutils.h:#ifndef CAPI_LIBRARY_V2 /usr/include/capiutils.h:#ifndef CAPI_LIBRARY_V2 /usr/include/capiutils.h:#ifndef CAPI_LIBRARY_V2 /usr/include/capiutils.h:#ifndef CAPI_LIBRARY_V2 /usr/include/capiutils.h:#ifndef CAPI_LIBRARY_V2 /usr/include/capiutils.h:#ifndef CAPI_LIBRARY_V2 /usr/include/capiutils.h:#ifndef CAPI_LIBRARY_V2 /usr/include/capiutils.h:#ifndef CAPI_LIBRARY_V2 /usr/include/capiutils.h:#ifndef CAPI_LIBRARY_V2 /usr/include/capiutils.h:#ifndef CAPI_LIBRARY_V2 /usr/include/capiutils.h:#ifndef CAPI_LIBRARY_V2 /usr/include/capiutils.h:#ifndef CAPI_LIBRARY_V2 /usr/include/capiutils.h:#ifndef CAPI_LIBRARY_V2 /usr/include/capiutils.h:#ifndef CAPI_LIBRARY_V2 /usr/include/capiutils.h:#ifndef CAPI_LIBRARY_V2

I'm not sure how this is (or was) supposed to work? Against which libcapi20 versions had this been working in the past?

I'm trying to disable the check and see if I can get it work, current WIP is at https://gitea.osmocom.org/retronetworking/capisuite in the unlikely case anyone cares ;)

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