[fpc-pascal] fpc 2.6.3 building i386 crosscompiler fails

Lukas Gradl fpc at ssn.at
Tue Sep 17 14:12:35 CEST 2013


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?

regards
Lukas



More information about the fpc-pascal mailing list