Many Thanks Vadim for your reply , I am getting the new error now .
omm/timer.c: In function 'timer_irq':
comm/timer.c:184:35: warning: unused parameter 'irq' [-Wunused-parameter]
184 | static void timer_irq(enum irq_nr irq)
| ~~~~~~~~~~~~^~~
AR comm/libcomm.a
arm-none-eabi-ar: `u' modifier ignored since `D' is the default (see `U')
LD board/mt62xx/loader_mtk.mtkram.elf
arm-none-eabi-gcc: error: board/mt62xx/loader_mtk.mtkram.map: No such file or directory
arm-none-eabi-gcc: error: unrecognized command-line option '--gc-sections'; did you mean '--data-sections'?
arm-none-eabi-gcc: error: unrecognized command-line option '--cref'; did you mean '--xref'?
make[1]: *** [Makefile.inc:139: board/mt62xx/loader_mtk.mtkram.elf] Error 1
make[1]: Leaving directory '/home/nokia-lab3/osmocom-bb/src/target/firmware'
make: *** [Makefile:104: mtk-firmware] Error 2
and I am using a ubuntu 22 machine , Output of arm-none-eabi is as following .
dpkg -l | grep arm-none-eabi
ii binutils-arm-none-eabi 2.38-3ubuntu1+15build1 amd64 GNU assembler, linker and binary utilities for ARM Cortex-R/M processors
ii gcc-arm-none-eabi 15:10.3-2021.07-4 amd64 GCC cross compiler for ARM Cortex-R/M processors
ii libnewlib-arm-none-eabi 3.3.0-1.3 all C library and math library compiled for bare metal using Cortex A/R/M
BR//
Niraj Kumar