cesnet / nemea-openwrt Goto Github PK
View Code? Open in Web Editor NEWThe NEMEA packages feed
The NEMEA packages feed
Proposed ideas:
/etc/config/iprobe
and you tried to start it with /etc/init.d/ipfixprobe start
it didn't do anything.Similar to: openwrt/packages#12371
OpenWRT build is failing because of different package names used in nemea-siot
package (e.g. nemea-ble_pairing
vs siot-ble-pairing
in a031dbe).
GCC 10 used in OpenWrt master (daily snapshots) with kernel 5.10 defaults to
-fno-common, this means a linker error will now be reported if the same global variable is defined in more than one compilation unit.
And unfortunately, Nemea Siot can not be compiled because of this.
ccache_cc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/omnia/build/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/nemea-siot-19-08.1=nemea-siot-19-08.1 -Wformat -Werror=format-security -DPIC -fpic -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wl,-z,now -Wl,-z,relro -ffunction-sections -fdata-sections -L/omnia/build/staging_dir/toolchain-arm_cortex-a9+vfpv3-d16_gcc-11.2.0_musl_eabi/usr/lib -L/omnia/build/staging_dir/toolchain-arm_cortex-a9+vfpv3-d16_gcc-11.2.0_musl_eabi/lib -DPIC -fpic -specs=/omnia/build/include/hardened-ld-pie.specs -znow -zrelro -o siot-lora-airtime lora-airtime.o fields.o lora_packet.o black_list.o aes/aes.o -lunirec -ltrap -lm -L/omnia/build/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/usr/lib -lssl -lcrypto -lpthread -lrt -lm -ltrap -lm -lm
/omnia/build/staging_dir/toolchain-arm_cortex-a9+vfpv3-d16_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: lora_packet.o:(.bss.MHDR+0x0): multiple definition of `MHDR'; lora-airtime.o:(.bss.MHDR+0x0): first defined here
/omnia/build/staging_dir/toolchain-arm_cortex-a9+vfpv3-d16_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: lora_packet.o:(.bss.FCtrl+0x0): multiple definition of `FCtrl'; lora-airtime.o:(.bss.FCtrl+0x0): first defined here
/omnia/build/staging_dir/toolchain-arm_cortex-a9+vfpv3-d16_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: lora_packet.o:(.bss.FCnt+0x0): multiple definition of `FCnt'; lora-airtime.o:(.bss.FCnt+0x0): first defined here
/omnia/build/staging_dir/toolchain-arm_cortex-a9+vfpv3-d16_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: lora_packet.o:(.bss.FRMPayload+0x0): multiple definition of `FRMPayload'; lora-airtime.o:(.bss.FRMPayload+0x0): first defined here
/omnia/build/staging_dir/toolchain-arm_cortex-a9+vfpv3-d16_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: lora_packet.o:(.bss.FPort+0x0): multiple definition of `FPort'; lora-airtime.o:(.bss.FPort+0x0): first defined here
/omnia/build/staging_dir/toolchain-arm_cortex-a9+vfpv3-d16_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: lora_packet.o:(.bss.AppEUI+0x0): multiple definition of `AppEUI'; lora-airtime.o:(.bss.AppEUI+0x0): first defined here
/omnia/build/staging_dir/toolchain-arm_cortex-a9+vfpv3-d16_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: lora_packet.o:(.bss.DevEUI+0x0): multiple definition of `DevEUI'; lora-airtime.o:(.bss.DevEUI+0x0): first defined here
/omnia/build/staging_dir/toolchain-arm_cortex-a9+vfpv3-d16_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: lora_packet.o:(.bss.DevNonce+0x0): multiple definition of `DevNonce'; lora-airtime.o:(.bss.DevNonce+0x0): first defined here
/omnia/build/staging_dir/toolchain-arm_cortex-a9+vfpv3-d16_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: lora_packet.o:(.bss.DevAddr+0x0): multiple definition of `DevAddr'; lora-airtime.o:(.bss.DevAddr+0x0): first defined here
/omnia/build/staging_dir/toolchain-arm_cortex-a9+vfpv3-d16_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: lora_packet.o:(.bss.MIC+0x0): multiple definition of `MIC'; lora-airtime.o:(.bss.MIC+0x0): first defined here
/omnia/build/staging_dir/toolchain-arm_cortex-a9+vfpv3-d16_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: lora_packet.o:(.bss.AppNonce+0x0): multiple definition of `AppNonce'; lora-airtime.o:(.bss.AppNonce+0x0): first defined here
/omnia/build/staging_dir/toolchain-arm_cortex-a9+vfpv3-d16_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: lora_packet.o:(.bss.NetID+0x0): multiple definition of `NetID'; lora-airtime.o:(.bss.NetID+0x0): first defined here
/omnia/build/staging_dir/toolchain-arm_cortex-a9+vfpv3-d16_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: lora_packet.o:(.bss.CFList+0x0): multiple definition of `CFList'; lora-airtime.o:(.bss.CFList+0x0): first defined here
/omnia/build/staging_dir/toolchain-arm_cortex-a9+vfpv3-d16_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: lora_packet.o:(.bss.MACPayload+0x0): multiple definition of `MACPayload'; lora-airtime.o:(.bss.MACPayload+0x0): first defined here
/omnia/build/staging_dir/toolchain-arm_cortex-a9+vfpv3-d16_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: lora_packet.o:(.bss.FOpts+0x0): multiple definition of `FOpts'; lora-airtime.o:(.bss.FOpts+0x0): first defined here
/omnia/build/staging_dir/toolchain-arm_cortex-a9+vfpv3-d16_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: lora_packet.o:(.bss.FHDR+0x0): multiple definition of `FHDR'; lora-airtime.o:(.bss.FHDR+0x0): first defined here
/omnia/build/staging_dir/toolchain-arm_cortex-a9+vfpv3-d16_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: lora_packet.o:(.bss.PHYPayload+0x0): multiple definition of `PHYPayload'; lora-airtime.o:(.bss.PHYPayload+0x0): first defined here
/omnia/build/staging_dir/toolchain-arm_cortex-a9+vfpv3-d16_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: lora_packet.o:(.bss.DLSettings+0x0): multiple definition of `DLSettings'; lora-airtime.o:(.bss.DLSettings+0x0): first defined here
/omnia/build/staging_dir/toolchain-arm_cortex-a9+vfpv3-d16_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: lora_packet.o:(.bss.RxDelay+0x0): multiple definition of `RxDelay'; lora-airtime.o:(.bss.RxDelay+0x0): first defined here
/omnia/build/staging_dir/toolchain-arm_cortex-a9+vfpv3-d16_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: lora_packet.o:(.bss.FOptsLen+0x0): multiple definition of `FOptsLen'; lora-airtime.o:(.bss.FOptsLen+0x0): first defined here
/omnia/build/staging_dir/toolchain-arm_cortex-a9+vfpv3-d16_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: lora_packet.o:(.bss.i_FCtrl+0x0): multiple definition of `i_FCtrl'; lora-airtime.o:(.bss.i_FCtrl+0x0): first defined here
collect2: error: ld returned 1 exit status
make[6]: *** [Makefile:392: siot-lora-airtime] Error 1
make[6]: Leaving directory '/omnia/build/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/nemea-siot-19-08.1/lora-airtime'
make[5]: *** [Makefile:288: all] Error 2
make[5]: Leaving directory '/omnia/build/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/nemea-siot-19-08.1/lora-airtime'
make[4]: *** [Makefile:374: all-recursive] Error 1
make[4]: Leaving directory '/omnia/build/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/nemea-siot-19-08.1'
make[3]: *** [Makefile:315: all] Error 2
make[3]: Leaving directory '/omnia/build/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/nemea-siot-19-08.1'
Build for Turris Omnia, Turris OS 6.0 in development branch HBL, which is based on OpenWrt 21.02.3 shows this error after recent update of ipfixprobe: 821086f
/foo/turris-os-packages-lions-omnia/build/staging_dir/toolchain-arm_cortex-a9+vfpv3-d16_gcc-8.4.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/8.4.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: storage/ipfixprobe-xxhash.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
storage/ipfixprobe-xxhash.o: in function `XXH3_hashLong_64b_default':
/foo/turris-os-packages-lions-omnia/build/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/ipfixprobe-2022-08-05-7ab7b0b6/storage/xxhash.h:4962:(.text+0x2808): dangerous relocation: unsupported relocation
/foo/turris-os-packages-lions-omnia/build/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/ipfixprobe-2022-08-05-7ab7b0b6/storage/xxhash.h:4962:(.text+0x280c): dangerous relocation: unsupported relocation
/foo/turris-os-packages-lions-omnia/build/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/ipfixprobe-2022-08-05-7ab7b0b6/storage/xxhash.h:4962:(.text+0x2810): dangerous relocation: unsupported relocation
storage/ipfixprobe-xxhash.o: in function `XXH3_hashLong_128b_default':
/foo/turris-os-packages-lions-omnia/build/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/ipfixprobe-2022-08-05-7ab7b0b6/storage/xxhash.h:5747:(.text+0x3374): dangerous relocation: unsupported relocation
/foo/turris-os-packages-lions-omnia/build/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/ipfixprobe-2022-08-05-7ab7b0b6/storage/xxhash.h:5747:(.text+0x3378): dangerous relocation: unsupported relocation
/foo/turris-os-packages-lions-omnia/build/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/ipfixprobe-2022-08-05-7ab7b0b6/storage/xxhash.h:5747:(.text+0x337c): dangerous relocation: unsupported relocation
/foo/turris-os-packages-lions-omnia/build/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/ipfixprobe-2022-08-05-7ab7b0b6/storage/xxhash.h:5747:(.text+0x3380): dangerous relocation: unsupported relocation
storage/ipfixprobe-xxhash.o: in function `XXH3_hashLong_64b_withSeed':
/foo/turris-os-packages-lions-omnia/build/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/ipfixprobe-2022-08-05-7ab7b0b6/storage/xxhash.h:5005:(.text+0x4c6c): dangerous relocation: unsupported relocation
/foo/turris-os-packages-lions-omnia/build/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/ipfixprobe-2022-08-05-7ab7b0b6/storage/xxhash.h:5005:(.text+0x4c70): dangerous relocation: unsupported relocation
/foo/turris-os-packages-lions-omnia/build/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/ipfixprobe-2022-08-05-7ab7b0b6/storage/xxhash.h:5005:(.text+0x4c74): dangerous relocation: unsupported relocation
storage/ipfixprobe-xxhash.o: in function `XXH3_hashLong_128b_internal':
/foo/turris-os-packages-lions-omnia/build/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/ipfixprobe-2022-08-05-7ab7b0b6/storage/xxhash.h:5731:(.text+0x65cc): dangerous relocation: unsupported relocation
/foo/turris-os-packages-lions-omnia/build/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/ipfixprobe-2022-08-05-7ab7b0b6/storage/xxhash.h:5731:(.text+0x65d0): dangerous relocation: unsupported relocation
/foo/turris-os-packages-lions-omnia/build/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/ipfixprobe-2022-08-05-7ab7b0b6/storage/xxhash.h:5731:(.text+0x65d4): dangerous relocation: unsupported relocation
/foo/turris-os-packages-lions-omnia/build/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/ipfixprobe-2022-08-05-7ab7b0b6/storage/xxhash.h:5731:(.text+0x65d8): dangerous relocation: unsupported relocation
storage/ipfixprobe-xxhash.o: in function `XXH64_avalanche':
/foo/turris-os-packages-lions-omnia/build/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/ipfixprobe-2022-08-05-7ab7b0b6/storage/xxhash.h:2723:(.text+0x8c18): dangerous relocation: unsupported relocation
/foo/turris-os-packages-lions-omnia/build/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/ipfixprobe-2022-08-05-7ab7b0b6/storage/xxhash.h:2723:(.text+0xaab0): dangerous relocation: unsupported relocation
/foo/turris-os-packages-lions-omnia/build/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/ipfixprobe-2022-08-05-7ab7b0b6/storage/xxhash.h:2723:(.text+0xc13c): dangerous relocation: unsupported relocation
storage/ipfixprobe-xxhash.o: in function `XXH3_64bits_reset':
/foo/turris-os-packages-lions-omnia/build/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/ipfixprobe-2022-08-05-7ab7b0b6/storage/xxhash.h:5189:(.text+0xc2a8): dangerous relocation: unsupported relocation
storage/ipfixprobe-xxhash.o: in function `XXH3_64bits_reset_withSeed':
/foo/turris-os-packages-lions-omnia/build/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/ipfixprobe-2022-08-05-7ab7b0b6/storage/xxhash.h:5212:(.text+0xc600): dangerous relocation: unsupported relocation
storage/ipfixprobe-xxhash.o: in function `XXH128_mix32B':
/foo/turris-os-packages-lions-omnia/build/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/ipfixprobe-2022-08-05-7ab7b0b6/storage/xxhash.h:5613:(.text+0x10d18): dangerous relocation: unsupported relocation
/foo/turris-os-packages-lions-omnia/build/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/ipfixprobe-2022-08-05-7ab7b0b6/storage/xxhash.h:5614:(.text+0x13480): dangerous relocation: unsupported relocation
storage/ipfixprobe-xxhash.o: in function `XXH3_len_17to128_128b':
/foo/turris-os-packages-lions-omnia/build/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/ipfixprobe-2022-08-05-7ab7b0b6/storage/xxhash.h:5628:(.text+0x14f48): dangerous relocation: unsupported relocation
storage/ipfixprobe-xxhash.o: in function `XXH3_128bits_reset':
/foo/turris-os-packages-lions-omnia/build/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/ipfixprobe-2022-08-05-7ab7b0b6/storage/xxhash.h:5875:(.text+0x15070): dangerous relocation: unsupported relocation
storage/ipfixprobe-xxhash.o: in function `XXH3_generateSecret':
/foo/turris-os-packages-lions-omnia/build/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/ipfixprobe-2022-08-05-7ab7b0b6/storage/xxhash.h:6041:(.text+0x16d54): dangerous relocation: unsupported relocation
collect2: error: ld returned 1 exit status
make[5]: *** [Makefile:1128: ipfixprobe] Error 1
make[5]: Leaving directory '/foo/turris-os-packages-lions-omnia/build/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/ipfixprobe-2022-08-05-7ab7b0b6'
make[4]: *** [Makefile:2461: all-recursive] Error 1
make[4]: Leaving directory '/foo/turris-os-packages-lions-omnia/build/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/ipfixprobe-2022-08-05-7ab7b0b6'
make[3]: *** [Makefile:821: all] Error 2
make[3]: Leaving directory '/foo/turris-os-packages-lions-omnia/build/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/ipfixprobe-2022-08-05-7ab7b0b6'
make[2]: *** [Makefile:77: /foo/turris-os-packages-lions-omnia/build/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/ipfixprobe-2022-08-05-7ab7b0b6/.built] Error 2
time: package/feeds/cesnet/ipfixprobe/compile#75.97#116.32#119.42
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.