[fpc-pascal] fpc 2.6.3 building i386 crosscompiler fails

patspiper patspiper at gmail.com
Tue Sep 17 16:33:21 CEST 2013


On 17/09/13 15:12, Lukas Gradl wrote:
> Hi!
>
> Tried to build the current svn of FPC 2.6.3 (svn Revision 25507) on my 
> Linux X86_64-box.
>
> I did:
> make distclean
> make all FPC=<Current2.6.3Compiler>
> sudo make install PREFIX=<myprefix> FPC=<Current2.6.3Compiler>
>
> This worked so far, now I have the current svn as x86_64 compiler.
>
> Then i did:
> make clean
> make all CPU_TARGET=i386
>
> This produces an error:
> fpmkunit.pp(437,17) Error: Forward declaration not solved "constructor 
> TPackageVariant.Create(TCollection);"
> fpmkunit.pp(438,16) Error: Forward declaration not solved "destructor 
> TPackageVariant.Destroy;"
> fpmkunit.pp(452,14) Error: Forward declaration not solved 
> "TPackageVariants.GetActivePackageVariant:TPackageVariant;"
> fpmkunit.pp(453,14) Error: Forward declaration not solved 
> "TPackageVariants.GetDefaultPackageVariant:TPackageVariant;"
> fpmkunit.pp(454,15) Error: Forward declaration not solved 
> "TPackageVariants.SetActivePackageVariantName(AnsiString);"
> fpmkunit.pp(455,15) Error: Forward declaration not solved 
> "TPackageVariants.SetDefaultPackageVariantName(AnsiString);"
> fpmkunit.pp(457,14) Error: Forward declaration not solved 
> "TPackageVariants.GetOwner:TPersistent;"
> fpmkunit.pp(459,14) Error: Forward declaration not solved 
> "TPackageVariants.Add(AnsiString):TPackageVariant;"
> fpmkunit.pp(7319) Fatal: There were 8 errors compiling module, stopping
>
> Anyone an idea why?

Seems to be related to a missing/wrong/extra define of NO_UNIT_PROCESS 
or HAS_UNIT_PROCESS in fpmkunit.pp.

Stephano



More information about the fpc-pascal mailing list