openwrt / openwrt/telephony

libpri: fatal error: dahdi/user.h: No such file or directory

Open
#896 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Makefile
Stars
133
Forks
327
PR merge metrics
No merged PRs in 30d

Description

Maintainer: @dangowrt
While checking OpenWrt faillogs, I found that libri is not compiled.

Env: OpenWrt daily snapshot, aarch64_cortex-a53
Log:

pridump.c:45:10: fatal error: dahdi/user.h: No such file or directory
   45 | #include <dahdi/user.h>
      |          ^~~~~~~~~~~~~~
compilation terminated.
make[4]: *** [Makefile:192: pridump.o] Error 1
make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a53_musl/libpri-1.6.0'
make[3]: *** [Makefile:61: /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a53_musl/libpri-1.6.0/.built] Error 2
time: package/feeds/telephony/libpri/compile#16.26#1.54#19.59

Log is available here: https://downloads.openwrt.org/snapshots/faillogs/aarch64_cortex-a53/telephony/libpri/compile.txt

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the libpri package Makefile and the failing include in pridump.c at line 45, using the linked compile log to reproduce the snapshot failure. Identify how the build should provide dahdi/user.h, then verify that the libpri package compiles successfully for the reported target.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.