Hi felipemdc!
I can not compile the sample application androidlcl, shows the following error.
/usr/local/bin/arm-linux-ld: warning: /home/predator/Android/androidlcl/android/libs/armeabi/link.res contains output sections; did you forget -T?
/usr/local/bin/arm-linux-ld: /usr/arm-linux-gnueabi/lib/libc.so.6: Unknown mandatory EABI object attribute 44
/usr/local/bin/arm-linux-ld: failed to merge target specific data of file /usr/arm-linux-gnueabi/lib/libc.so.6
/usr/lib/fpc/2.4.4/units/arm-linux/rtl/cprt0.o: In function `_haltproc_eabi':
(.text+0x88): undefined reference to `_fini'
/usr/lib/fpc/2.4.4/units/arm-linux/rtl/cprt0.o: In function `_haltproc_eabi':
(.text+0x90): undefined reference to `_init'
androidlcltest.lpr(21) Error: Error while linking
androidlcltest.lpr(21) Fatal: There were 1 errors compiling module, stopping
And the compiler and Lazarus assembled correctly, as turbochessclock4android compiled and running on the Android emulator.
I noticed that this error is associated with static and dynamic libraries such as crti.o crtn.o libc.so. .., it is checked by substituting different versions of the library, from which we take these libraries?
Errors have been tested for Ubuntu 10.10-10.04
compiler to 2.4.4, 2.7.1
Lazarus 0.9.31.32791
BinUtils 2.20-2.21-2.21.1
Привет felipemdc!
Я не могу скомпилировать демонстрационное приложение androidlcl, появляются следующие ошибки.
--//--
Причем компилятор и лазарус собраны правильно, так как turbochessclock4android скомпилировалось и работает на Андроид эмуляторе.
Я заметил что данная ошибка связана со статическими и динамическими библиотеками такими как crti.o crtn.o libc.so...,это проверено путем подмены разных версий библиотеки, откуда следует брать эти библиотеки?
Ошибки были проверены на Ubuntu 10.10-10.04
на компиляторе 2.4.4, 2.7.1
Лазарус 0.9.31.32791
BinUtils 2.20-2.21-2.21.1