Jump to content
greaseflog

lazarus/android Instalação ubuntu 14.04 lts

Recommended Posts

greaseflog

Instou instalando o android para o lazarus coforme o link abaixo:

http://wiki.lazarus.freepascal.org/Android_tutorial

 

Porém quando vou fazer a etapa "

Build FPC 2.7.1

"

Executando o comando

"make crossinstall CPU_TARGET=arm OS_TARGET=linux \ CROSSBINDIR=/Android/android-ndk-r9d/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/arm-linux-androideabi/bin OPT=-dFPC_ARMEL INSTALL_PREFIX=/Android/fpc "

 

ocorreo o seguinte erro:

Start compiling package ide for target arm-linux.
Compiling IDE with GDB/MI debugger support, LibGDB is not needed
       Compiling compiler/compunit.pas
       Compiling /Android/fpcsrc/compiler/ppheap.pas
       Compiling /Android/fpcsrc/compiler/comphook.pas
       Compiling /Android/fpcsrc/compiler/comphook.pas
       Compiling /Android/fpcsrc/compiler/arm/cpuinfo.pas
       Compiling /Android/fpcsrc/compiler/compiler.pas
       Compiling /Android/fpcsrc/compiler/browcol.pas
       Compiling fp.pas
       Linking bin/arm-linux/fp
The installer encountered the following error:
External command "/Android/fpcsrc/compiler/ppcrossarm -Tlinux -FEbin/arm-linux -FUunits/arm-linux/ -Fu/Android/fpcsrc/rtl/units/arm-linux/ -Fu/Android/fpcsrc/packages/rtl-extra/units/arm-linux/ -Fu/Android/fpcsrc/packages/fv/units/arm-linux/ -Fu/Android/fpcsrc/packages/rtl-console/units/arm-linux/ -Fu/Android/fpcsrc/packages/chm/units/arm-linux/ -Fu/Android/fpcsrc/packages/fcl-xml/units/arm-linux/ -Fu/Android/fpcsrc/packages/fcl-base/units/arm-linux/ -Fu/Android/fpcsrc/packages/fcl-res/units/arm-linux/ -Fu/Android/fpcsrc/packages/rtl-objpas/units/arm-linux/ -Fu/Android/fpcsrc/packages/iconvenc/units/arm-linux/ -Fu/Android/fpcsrc/packages/regexpr/units/arm-linux/ -Fu/Android/fpcsrc/packages/fcl-process/units/arm-linux/ -Ficompiler -Parm -Ur -Xs -O2 -n -FD/Android/android-ndk-r9d/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/arm-linux-androideabi/bin -dFPC_ARMEL -dRELEASE -Ur -dNOCATCH -dBrowserCol -dGDB -darm -Fu../compiler -Fu../compiler/arm -Fu../compiler/targets -Fu../compiler/systems -Fi../compiler/arm -Fi../compiler -Sg -dGDBMI -viq fp.pas" failed with exit code 256. Console output:
Target OS: Linux for ARMEL
Compiling fp.pas
Writing Resource String Table file: fp.rsj
Linking bin/arm-linux/fp
fp.pas(606,1) Error: Error while linking
fp.pas(606,1) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
/Android/android-ndk-r9d/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/arm-linux-androideabi/bin/ld: error: bin/arm-linux/link.res:380:8: syntax error, unexpected STRING
/Android/android-ndk-r9d/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/arm-linux-androideabi/bin/ld: fatal error: unable to parse script file bin/arm-linux/link.res

make[3]: *** [all] Error 1
make[3]: Leaving directory `/Android/fpcsrc/ide'
make[2]: *** [ide_all] Error 2
make[2]: Leaving directory `/Android/fpcsrc'
make[1]: *** [build-stamp.arm-linux] Error 2
make[1]: Leaving directory `/Android/fpcsrc'
make: *** [crossinstall] Error 2

 

Alguem sabe corrigir?

 

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.