Skip to contentSkip to conversation

libcurl for omap arm linux

DISCUSSION Dirk Behme 1 participant 1 message Dec 3, 2006 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Dirk Behme

author
#1 lore raw
Quoted 3 lines · binil antony

I took the pre built lib from the link that you specified. But I get the following linker errors when I link the libcurl.a with my sample appl.

You really should send questions publically to the list.

Quoted 3 lines

/usr/local/wma/mvl-tool/mvl-tools-229/montavista/cee/devkit/arm/v5t_le/bin/../lib/gcc-lib/armv5tl-hardhat-linux/3.3.1/../../../../armv5tl-hardhat-linux/bin/ld:
ERROR: /home/binil/lib/usr/lib//libcurl.a(easy.o) uses
hardware FP, whereas ./sample.out uses software FP

Your sample.out is compiled to use software floating point, whereas the library is compiled to use hardware floating point. I'm not a toolchain expert, but IMHO hardware floating point is correct here (because ARM kernel emulates floating point). So you should compile sample.out with option for hardware floating point as well.

Having compiler version (armv5tl-hardhat-linux-gcc -v (?)) and compile & link options you used for sample.out may be helpful here.

Quoted 7 lines

/usr/local/wma/mvl-tool/mvl-tools-229/montavista/cee/devkit/arm/v5t_le/bin/../lib/gcc-lib/armv5tl-hardhat-linux/3.3.1/../../../../armv5tl-hardhat-linux/bin/ld:
Warning: /home/binil/lib/usr/lib//libcurl.a(easy.o)
does not support interworking, whereas ./sample.out
does
No such file or directory: failed to merge target
specific data of file
/home/binil/lib/usr/lib//libcurl.a(easy.o)

You compiled sample.out with interworking enabled, which isn't supported by the library. Again, having compile & link options may clarify this.

Conclusion is that the compile & link options you used for sample.out are incompatible which those the library is build with.

Dirk