Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2013-09

fpc 2.6.3 building i386 crosscompiler fails

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Lukas Gradl

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

Reply by email

patspiper
to Lukas Gradl
Lukas Gradl wrote 36 lines
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

Reply by email