8000 swanmon: fails to compile with NLS · Issue #26810 · openwrt/packages · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
swanmon: fails to compile with NLS #26810
Closed
@BKPepe

Description

@BKPepe

Package Name

swanmon

Maintainer

@lvoegl

OpenWrt Version

snapshot and OpenWrt 24.10

OpenWrt Target/Subtarget

mvebu/cortex-a9

Steps to Reproduce

  1. Enable CONFIG_BUILD_NLS
  2. Try to compile package

Actual Behaviour

It fails:

FAILED: swanmon 
: && /Volumes/OpenWrt/omnia-hbd/build/staging_dir/toolchain-arm_cortex-a9+vfpv3-d16_gcc-13.3.0_musl_eabi/bin/arm-openwrt-linux-muslgnueabi-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -fmacro-prefix-map=/Volumes/OpenWrt/omnia-hbd/build/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/swanmon-0.1=swanmon-0.1 -Wformat -Werror=format-security -DPIC -fpic -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wl,-z,now -Wl,-z,relro -DNDEBUG -L/Volumes/OpenWrt/omnia-hbd/build/staging_dir/toolchain-arm_cortex-a9+vfpv3-d16_gcc-13.3.0_musl_eabi/usr/lib -L/Volumes/OpenWrt/omnia-hbd/build/staging_dir/toolchain-arm_cortex-a9+vfpv3-d16_gcc-13.3.0_musl_eabi/lib -fuse-ld=bfd -DPIC -fpic -specs=/Volumes/OpenWrt/omnia-hbd/build/include/hardened-ld-pie.specs -znow -zrelro CMakeFiles/swanmon.dir/main.c.o CMakeFiles/swanmon.dir/query.c.o CMakeFiles/swanmon.dir/format.c.o -o swanmon  -ldavici  -lglib-2.0  -lintl  -ljson-c && :
/Volumes/OpenWrt/omnia-hbd/build/staging_dir/toolchain-arm_cortex-a9+vfpv3-d16_gcc-13.3.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/13.3.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld.bfd: cannot find -lintl: No such file or directory
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
make[2]: *** [Makefile:47: /Volumes/OpenWrt/omnia-hbd/build/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/swanmon-0.1/.built] Error 1

It helped to add:
include $(INCLUDE_DIR)/nls.mk into the Makefile

Confirmation Checklist

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0