Compiling SDK firmware

Hi. Try to compile firmware for TRB245, but have error while compile frr5.

make[3]: Entering directory ‘/home/administrator/1/TRB2_R_GPL_00.07.08.1/rutos-ath79-trb2-sdk/package/network/utils/frr5’
rm -f /home/administrator/1/TRB2_R_GPL_00.07.08.1/rutos-ath79-trb2-sdk/build_dir/target-mips_24kc_musl/frr-5.0.2/.built
touch /home/administrator/1/TRB2_R_GPL_00.07.08.1/rutos-ath79-trb2-sdk/build_dir/target-mips_24kc_musl/frr-5.0.2/.built_check
make -C /home/administrator/1/TRB2_R_GPL_00.07.08.1/rutos-ath79-trb2-sdk/build_dir/target-mips_24kc_musl/frr-5.0.2/build
make[4]: Entering directory ‘/home/administrator/1/TRB2_R_GPL_00.07.08.1/rutos-ath79-trb2-sdk/build_dir/target-mips_24kc_musl/frr-5.0.2/build’
true
make all-recursive
make[5]: Entering directory ‘/home/administrator/1/TRB2_R_GPL_00.07.08.1/rutos-ath79-trb2-sdk/build_dir/target-mips_24kc_musl/frr-5.0.2/build’
Making all in .
make[6]: Entering directory ‘/home/administrator/1/TRB2_R_GPL_00.07.08.1/rutos-ath79-trb2-sdk/build_dir/target-mips_24kc_musl/frr-5.0.2/build’
LSAN_OPTIONS=“suppressions=./tools/lsan-suppressions.txt” /home/administrator/1/TRB2_R_GPL_00.07.08.1/rutos-ath79-trb2-sdk/staging_dir/hostpkg/bin/clippy.sh …/python/clidef.py -o ospfd/ospf_vty_clippy.c …/ospfd/ospf_vty.c
clippy: symbol lookup error: /lib/x86_64-linux-gnu/libpython3.12.so.1.0: undefined symbol: XML_SetReparseDeferralEnabled
make[6]: *** [Makefile:4916: ospfd/ospf_vty_clippy.c] Error 127
make[6]: Leaving directory ‘/home/administrator/1/TRB2_R_GPL_00.07.08.1/rutos-ath79-trb2-sdk/build_dir/target-mips_24kc_musl/frr-5.0.2/build’
make[5]: *** [Makefile:4420: all-recursive] Error 1
make[5]: Leaving directory ‘/home/administrator/1/TRB2_R_GPL_00.07.08.1/rutos-ath79-trb2-sdk/build_dir/target-mips_24kc_musl/frr-5.0.2/build’
make[4]: *** [Makefile:1957: all] Error 2
make[4]: Leaving directory ‘/home/administrator/1/TRB2_R_GPL_00.07.08.1/rutos-ath79-trb2-sdk/build_dir/target-mips_24kc_musl/frr-5.0.2/build’
make[3]: *** [Makefile:486: /home/administrator/1/TRB2_R_GPL_00.07.08.1/rutos-ath79-trb2-sdk/build_dir/target-mips_24kc_musl/frr-5.0.2/.built] Error 2
make[3]: Leaving directory ‘/home/administrator/1/TRB2_R_GPL_00.07.08.1/rutos-ath79-trb2-sdk/package/network/utils/frr5’
time: package/network/utils/frr5/compile#0.31#0.13#0.42

Hi nikolai_9379,

Welcome back to Teltonika Networks Community!

I suggest you check this link about SDK RUTOS Instruction. This includes some tips on troubleshooting if any errors are experienced.

Let me know if this helps.

Regards,

This is error log file with command make -j1 V=sc

Hi,

Can you run nproc. It should have an output of numeric value (i.e. 4). Then run this following command make -j4.

Regards,

My nproc=4. I try to rebuild firmware with -j4 and have same error with compile frr5

Hi,

Can you rebuild your firmware with version 7.08.2? Let me know if same issues are faced. Kindly share the error logs as well.

Regards,

I tried to build both of versions ( 08.1, 08,2). Error…

Hi,

I have reported the issue to our development department, and I will inform you as soon as I receive a response from them. Thank you for your understanding and patience.

Regards,

This topic was automatically closed after 15 days. New replies are no longer allowed.