unknown error

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/baseband-devel@lists.osmocom.org/.

Holger Hans Peter Freyther holger at freyther.de
Thu Mar 31 10:52:57 UTC 2011


On 03/31/2011 12:06 PM, royfarji india wrote:
> while compiling i am getting the following error: "libosmocore.a" file in wrong format.
> 
> arm-elf-objcopy --gap-fill=0xff -O binary board/pirelli_dpl10/layer1.highram.elf board/pirelli_dpl10/layer1.highram.bin
> arm-elf-ld -nostartfiles -nostdlib -nodefaultlibs --gc-sections --cref -T board/compal/ram.lds -Bstatic -Map board/compal_e88/loader.compalram.map -o board/compal_e88/loader.compalram.elf --start-group apps/loader/main.o abb/twl3025.o rf/trf6151.o display/font_r8x8.o display/font_r8x8_horiz.o display/st7558.o display/td014.o display/ssd1783.o display/display.o flash/cfi_flash.o board/common/calypso_uart.o board/common/calypso_pwl.o board/compal/rffe_dualband.o board/compal/rf_power.o board/compal_e88/init.o board/compal_e88/loader.compalram.manifest.o board/compal/start.ram.o board/compal/exceptions_redirected.o board/compal/handlers.o calypso/libcalypso.a layer1/liblayer1.a lib/libmini.a comm/libcomm.a ../../shared/libosmocore/build-target/src/.libs/libosmocore.a --end-group
> arm-elf-ld: ../../shared/libosmocore/build-target/src/.libs/libosmocore.a(crc16.o): Relocations in generic ELF (EM: 3)
> ../..*/shared/libosmocore/build-target/src/.libs/libosmocore.a: could not read symbols: File in wrong format
> *make[1]: *** [board/compal_e88/loader.compalram.elf] Error 1
> make[1]: Leaving directory `/home/roy/osmocom-bb/src/target/firmware'
> make: *** [firmware] Error 2


How do you compile? What toolchain are you using? What does file crc16.o say
on the file for thet target?




More information about the baseband-devel mailing list