Dear all,

I am trying to use a "no OS" library on an Arm-Linux platform.
Specifically, I am interested in writing an application using Microsoft
WMA library
(http://msdn.microsoft.com/workshop/imedia/windowsmedia/sdk/wmsdk_wmepak
.asp). They support both AIF and ELF. When I compiled a sample code that
comes with the Microsoft WMEPAK, the compiler (of GNU toolchain)
complained that there are many unresolved symbols. At closer inspection,
I found that there are a bunch of library function calls that are found
in C libraries of ARM Dev. Suite (ADS) such as __rt_memclr_w,
__rt_memcpy, etc. But when I included libraries from ADS, I got:

./libc_a__ne.a(_printf.o): In function `$d':
_printf.o(.text+0x60): internal error: unsupported relocation error
./libc_a__ne.a(assert.o): In function `$d':
assert.o(.text+0x64): internal error: unsupported relocation error
./libc_a__ne.a(fflush.o): In function `$d':
fflush.o(.text+0x114): internal error: unsupported relocation error
./libc_a__ne.a(printf.o): In function `$d':
printf.o(.text+0x60): internal error: unsupported relocation error
./libc_a__ne.a(stdio.o): In function `$d':
stdio.o(.text+0x124): internal error: unsupported relocation error

libc_a__ne.a is an ARM library whose original name was c_a__ne.l. It is
an ARM library that supports reentrant ANSI C and C++ basic run-time
without software stack checking (one with software stack checking
produced similar errors).

The libs from ADS are "no OS" libraries in ELF. arm-linux-ar can extract
object files out of the ADS libraries. 

What am I doing wrong? Am I wasting time with something that cannot be
done? Is there anyone who has experience with this kind of problem? Any
help will be greatly appreciated.

Thank you very much.

--
Chunho


_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.

Reply via email to