rtpengine: error: too few arguments to function 'ip_route_output'
Open
Nobody has claimed this yet.
- Dominant language
- Makefile
- Stars
- 133
- Forks
- 327
- PR merge metrics
- No merged PRs in 30d
Description
Previous maintainer: @micmac1 , currently package is not maintained
Environment: daily snapshot, aarch64_cortex-a53
Log:
/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a53_musl/rtpengine-transcode/rtpengine-mr11.5.1.18/kernel-module/xt_RTPENGINE.c: In function 'send_proxy_packet4':
/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a53_musl/rtpengine-transcode/rtpengine-mr11.5.1.18/kernel-module/xt_RTPENGINE.c:4013:14: error: too few arguments to function 'ip_route_output'
4013 | rt = ip_route_output(net, dst->u.ipv4, src->u.ipv4, tos, 0);
| ^~~~~~~~~~~~~~~
In file included from ./include/net/ip.h:30,
from ./include/net/ip6_checksum.h:27,
from /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a53_musl/rtpengine-transcode/rtpengine-mr11.5.1.18/kernel-module/xt_RTPENGINE.c:5:
./include/net/route.h:158:30: note: declared here
158 | static inline struct rtable *ip_route_output(struct net *net, __be32 daddr,
| ^~~~~~~~~~~~~~~
make[7]: *** [scripts/Makefile.build:244: /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a53_musl/rtpengine-transcode/rtpengine-mr11.5.1.18/kernel-module/xt_RTPENGINE.o] Error 1
Log is available:
https://downloads.openwrt.org/snapshots/faillogs/aarch64_cortex-a53/telephony/rtpengine/transcode/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 at kernel-module/xt_RTPENGINE.c:4013 and compare the ip_route_output call with the declaration in include/net/route.h:158, using the linked compile log to reproduce the failure. Done means the rtpengine kernel module compiles successfully for the aarch64_cortex-a53 snapshot target.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100