[fpc-devel] Error building branch targetandroid

Jonas Maebe jonas.maebe at elis.ugent.be
Fri Sep 14 15:21:32 CEST 2012


Felipe Monteiro de Carvalho wrote on Fri, 14 Sep 2012:

> Start compiling package fppkg-util for target arm-android.
>        Compiling fppkg.pp
>        Linking bin\arm-android\fppkg
> The installer encountered the following error:
> External command "D:/targetandroid/compiler/ppcrossarm.exe -Tandroid  
> -FEbin\arm-
> android -FUunits\arm-android  
> -FuD:\targetandroid\rtl\units\arm-android -FuD:\tar
> getandroid\packages\fcl-base\units\arm-android  
> -FuD:\targetandroid\packages\fcl-
> xml\units\arm-android  
> -FuD:\targetandroid\packages\fcl-process\units\arm-android
>  -FuD:\targetandroid\packages\fcl-net\units\arm-android  
> -FuD:\targetandroid\pack
> ages\fcl-passrc\units\arm-android  
> -FuD:\targetandroid\packages\paszlib\units\arm
> -android -FuD:\targetandroid\packages\hash\units\arm-android  
> -FuD:\targetandroid
> \packages\fppkg\units\arm-android  
> -FuD:\targetandroid\packages\fpmkunit\units\ar
> m-android -Tandroid -Parm -XParm-linux-androideabi- -Xr -Ur -Xs -O2  
> -n -FuD:/tar
> getandroid/rtl/units/arm-android  
> -FuD:/targetandroid/packages/paszlib/units/arm-
> android -FuD:/targetandroid/packages/fcl-process/units/arm-android  
> -FuD:/targeta
> ndroid/packages/hash/units/arm-android  
> -FuD:/targetandroid/packages/fpmkunit/uni
> ts/arm-android -darm -dRELEASE -CpARMv6 -CfSoft -viq fppkg.pp"  
> failed with exit
> code 1. Console output:
> Target OS: Android for ARMEL
> Compiling fppkg.pp
> Assembling fppkg
> Linking bin\arm-android\fppkg
> fppkg.pp(398) Error: Error while linking
> fppkg.pp(398) Fatal: There were 1 errors compiling module, stopping
> Fatal: Compilation aborted
>
> make[4]: *** [all] Error 1
> make[4]: Leaving directory `D:/targetandroid/utils/fppkg'
> make[3]: *** [fppkg_all] Error 2
> make[3]: Leaving directory `D:/targetandroid/utils'
> make[2]: *** [utils_all] Error 2
> make[2]: Leaving directory `D:/targetandroid'
> make[1]: *** [build-stamp.arm-android] Error 2
> make[1]: Leaving directory `D:/targetandroid'
> make: *** [crossinstall] Error 2
>
> Any ideas which option will show a more complete error message for the
> linking error?

Re-execute the command you show above inside the utils/fppkg  
directory, but with an additional -Cn parameter. Then execute the  
generated ppas.bat


Jonas



More information about the fpc-devel mailing list