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 roy@roy:~/osmocom-bb/src$
PLEASE HELP!!!!!!!!
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?
I have used the gnuarm-3.4.3 toolchain.
Earlier while compiling I got this message saying that "osmocore/signal.h" was missing.So I just included the full path "/home/roy/osmocom-bb/src/shared/libosmocore/osmocore" in the signal.h file.
After that i got the error that "libosmocore.a " file is missing.So I again gave the whole path of libosmocore.a in the makefile.
Now it compiled and i have got this error.
I have got some files (*.bin) in compal_e88 folder except loader.compalram.bin so can i use the mobile phone now.Will the absence of loader.compalram.bin hinder the use of the mobile phone.
-- View this message in context: http://baseband-devel.722152.n3.nabble.com/unknown-error-tp2758006p2763434.h... Sent from the baseband-devel mailing list archive at Nabble.com.
baseband-devel@lists.osmocom.org