I tried the instructions here: https://osmocom.org/projects/baseband/wiki/CalypsoBTS

on a pretty clean and up to date Debian 10 vm and had no problems.

I used the arm-none-eabi-* packages that come with Debian.

arm-none-eabi-gcc --version
arm-none-eabi-gcc (15:7-2018-q2-6) 7.3.1 20180622 (release) [ARM/embedded-7-branch revision 261907]

Maybe you need to do some steps like

$ sudo make uninstall
$ make distclean
$ git pull --rebase
In libosmocore and libosmo-dsp?

I used the fixeria/trx branch as mentioned in the wiki page above.

-Craig

On Jul 21, 2021, at 5:42 PM, . <meursault@airmail.cc> wrote:

Hello,

I'm trying to build the transceiver branch for Calypso phones. I
installed all OsmocomBB dependencies (including libosmocore) and i
sucessfully built and installed libosmo-dsp from the Git repo. My ARM
toolchain is from here:
https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-rm/downloads .

When building, however, the compiler fails with:

arm-none-eabi-ld:
comm/libcomm.a(msgb.o):~/trx/src/target/firmware/comm/msgb.c:35:
multiple definition of
`tall_msgb_ctx'; ../../shared/libosmocore/build-target/src/.libs/libosmocore.a(msgb.o):(.bss+0x0):
first defined here Makefile.inc:135: recipe for target
'board/compal_e88/hello_world.highram.elf' failed

I tried both sylvain/testing and jolly/testing branches.

What seems to be the problem?

Thanks!