[GH-ISSUE #133] No need to dublicate sms-tool #106

Closed
opened 2026-03-04 11:58:40 +03:00 by kerem · 1 comment
Owner

Originally created by @Jalakas on GitHub (Oct 17, 2025).
Original GitHub issue: https://github.com/4IceG/luci-app-3ginfo-lite/issues/133

Openwrt packages feed has now "sms-tool" package: https://github.com/openwrt/packages/blob/master/utils/sms-tool/Makefile
No need to duplicate or overwrite it.

Originally created by @Jalakas on GitHub (Oct 17, 2025). Original GitHub issue: https://github.com/4IceG/luci-app-3ginfo-lite/issues/133 Openwrt packages feed has now "sms-tool" package: https://github.com/openwrt/packages/blob/master/utils/sms-tool/Makefile No need to duplicate or overwrite it.
kerem closed this issue 2026-03-04 11:58:40 +03:00
Author
Owner

@Jalakas commented on GitHub (Oct 18, 2025):

If it's not possible to remove it. It's makefile version should be kept up to date.

make[3] -C feeds/luciapp3ginfolite/sms-tool compile
sms_main.c: In function 'main':
sms_main.c:216:24: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types]
216 | signal(SIGALRM,timeout);
| ^~~~~~~
| |
| void ()(void)
In file included from sms_main.c:13:
.../openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-15.2.0_musl/include/signal.h:289:20: note: expected 'void (
)(int)' but argument is of type 'void (*)(void)'
289 | void (signal(int, void ()(int)))(int);
| ^~~~~~~~~~~~~
sms_main.c:115:13: note: 'timeout' declared here
115 | static void timeout()
| ^~~~~~~
make[4]: *** [Makefile:17: sms_main.o] Error 1
make[3]: *** [Makefile:33: .../openwrt/build_dir/target-aarch64_cortex-a53_musl/sms-tool-2024.07.25~fce2b931/.built] Error 2

<!-- gh-comment-id:3418768625 --> @Jalakas commented on GitHub (Oct 18, 2025): If it's not possible to remove it. It's makefile version should be kept up to date. > make[3] -C feeds/luciapp3ginfolite/sms-tool compile > sms_main.c: In function 'main': > sms_main.c:216:24: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] > 216 | signal(SIGALRM,timeout); > | ^~~~~~~ > | | > | void (*)(void) > In file included from sms_main.c:13: > .../openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-15.2.0_musl/include/signal.h:289:20: note: expected 'void (*)(int)' but argument is of type 'void (*)(void)' > 289 | void (*signal(int, void (*)(int)))(int); > | ^~~~~~~~~~~~~ > sms_main.c:115:13: note: 'timeout' declared here > 115 | static void timeout() > | ^~~~~~~ > make[4]: *** [Makefile:17: sms_main.o] Error 1 > make[3]: *** [Makefile:33: .../openwrt/build_dir/target-aarch64_cortex-a53_musl/sms-tool-2024.07.25~fce2b931/.built] Error 2
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/luci-app-3ginfo-lite#106
No description provided.