Read-only archive of the All About Symbian forum (2001–2013) · About this archive

Linking in OS 9.1 with third party libraries

1 replies · 2,925 views · Started 01 December 2005

Im developing for Symbian 9.1 and need to link with a third party library. Previously (when using 7.0s) I

could just specify the library in the MMP file and the build tools would happily link with the file.

Now, however, it doesnt seem quite so simple. We have had the library recompiled for ARMV5 but are still

experiencing problems linking with it. I notice from the SDK help that the file format in 9.1 for binaries has

changed and needs to be in the E32Image format. There seems to be a tool in the SDK (elf2e32) that is able to

generate the library in the format required but when we try and use it (supplying the third party library we

have been given as the --elfinput= parameter) we just get the following error:

"elf2e32 : Error: E1005: ELF file aacommon.a is not 32 bit."

Has anyone had any similar problems when trying to use elf2e32 or when using third party libraries on OS 9.1

Any help is greatly appreciated

Many Thanks

Jad

Ive now got versions of the libraries that the elf2e32 tool seems to accept.

However it now complains with an Undefined Symbol error:

"elf2e32 : Error: E1035: Undefined Symbol AABytesToTimeMs found in ELF File AACommon.a."

After doing a readelf -a to get details of the AACommon.a file, the symbol AABytesToTimeMs is detailed as being in the "relocation section" of the elf file.

What does this actually mean and can anyone tell me how to resolve this so that I can get the elf2e32 tool to convert the library?

Many Thanks

Jad