[fpc-devel] Re: Errror making fpc: menus.pas(1079, 1) Fatal: Internal error 4321

DSTRODT at aol.com DSTRODT at aol.com
Sat Oct 1 15:41:03 CEST 2005


 
In a message dated 10/1/2005 5:01:25 A.M. Central Daylight Time, Bram  
Kuijvenhoven <kuifwaremailinglists at xs4all.nl>
writes:

>Hi,
>
>When I try to make fpc from SVN sources, I get  the following error.
>
>make fv_smart  FPC=C:/svn/export/fpc/compiler/ppc386.exe RELEASE=1
>make[1]: Entering  directory `C:/svn/export/fpc'
>make -C fv smart
>make[2]: Entering  directory `C:/svn/export/fpc/fv'
>make all LINKSMART=1  CREATESMART=1
>make[3]: Entering directory  `C:/svn/export/fpc/fv'
>c:/fpc/2.0.0/bin/i386-win32/gmkdir.exe -p  units/i386-win32
>C:/svn/export/fpc/compiler/ppc386.exe -XX -CX -Ur -Xs  -OG2p3 -n 
->FuC:/svn/export/fpc/rtl/units/i386-win32 -FE.  -FUunits/i386-win32 -gl -di386 
->dRELEASE  buildfv.pas
>menus.pas(1079,1) Fatal: Internal error  4321
>menus.pas(30,8) Fatal: Compilation aborted
>make[3]: ***  [buildfv.ppu] Error 1
>make[3]: Leaving directory  `C:/svn/export/fpc/fv'
>make[2]: *** [fpc_smart] Error 2
>make[2]:  Leaving directory `C:/svn/export/fpc/fv'
>make[1]: *** [fv_smart] Error  2
>make[1]: Leaving directory `C:/svn/export/fpc'
>make: ***  [build-stamp.i386-win32] Error 2
>
>Details:
>  I have  fpc 2.0.0 in my path environmental variable.
>  SVN revision is  1238
>  Platform: i386-win32 (Win XP SP2)
>  I export  the fpc/trunk SVN repository to an empty directory and then run
>   make all OPT=-gl
>
>Apparently, the just built compiler  (C:/svn/export/fpc/compiler/ppc386.exe) 
>doesn't like menus.pas from the FV  units, but I have no idea why an 
'internal error >4321'  occurs.
>
>Regards,
>
>Bram



I have also had this problem and reported it as bug #4391. Seems to be a  
problem with Smartlinking and FVision module. Temporary work-around is to edit  
fpc/makefile
on the target
fv_smart:
         MAKE -C fv smart
change that to 
fv_smart:
        MAKE -C fv all
 
This disables smartlinking for FVision, but then make all works
 
Hope that helps
 
Dave 
fpc/makefile and 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20051001/ad19ce9a/attachment.html>


More information about the fpc-devel mailing list