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-... .
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!
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-... .
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!
Thanks, Craig, now it compiles successfully with this particular branch.
On July 22, 2021 5:59:02 AM GMT+03:00, Craig Comstock craig@unreasonablefarm.org wrote:
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-... .
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!
baseband-devel@lists.osmocom.org