libpri: fatal error: dahdi/user.h: No such file or directory
Open
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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