What went wrong when i get this error during recompiling fpc trunk?
.
.
.
 Compiling ide\wwinhelp.pas
 Compiling ide\fpcodcmp.pas
 Compiling ide\fpcodtmp.pas
 Compiling ide\fptemplt.pas
 Linking ide\bin\i386-win32\fp.exe
[ 99%] Compiled package ide
Start compiling package vcl-compat for target i386-win32.
Warning: Source file "system.netencoding.pp" from package vcl-compat not found 
for i386-win32
The installer encountered the following error:
Could not compile target system.netencoding from package vcl-compat
make[2]: *** [smart] Error 1
make[2]: Leaving directory `c:/freepascal/fpc/trunk/packages'
make[1]: *** [packages_smart] Error 2
make[1]: Leaving directory `c:/freepascal/fpc/trunk'
make: *** [build-stamp.i386-win32] Error 2

I went back to a revision which compiled before but does not now.
The script i am using didn't change. I deleted two, no longer needed versions 
of fpc in my fpc directory. Directory structure:
C:\freepascal\
  binutils\
  fpc\
    trunk\
    fixes_3_0\ (deleted)
    fixes_3_2\ (deleted)
  laz\
  .
  .

Build script:
set myroot=c:\freepascal
set myFPC=%myroot%\fpc\trunk
set mybinutils=%myroot%\binutils
set PATH=%mybinutils%\i386-win32;%myFPC%\bin\i386-win32;%PATH%
cd %myFPC%
rd /s /q  %myfpc%\examples
copy %myFPC%\bin\i386-win32\fpc.cfg %myroot%\fpc.cfg
svn cleanup . --remove-unversioned  --remove-ignored
make distclean all install OPT="-godwarfsets -gl -O-" INSTALL_PREFIX=%myFPC% 
PP=%mybinutils%\ppc386.exe DATA2INC=%myFPC%\utils\data2inc.exe
if errorlevel 1 goto ende
make crossinstall OPT="-godwarfsets -gl -O-" OS_TARGET=win64 CPU_TARGET=x86_64 
INSTALL_PREFIX=%myFPC% PP=%mybinutils%\ppc386.exe 
DATA2INC=%myFPC%\utils\data2inc.exe
if errorlevel 1 goto ende2
make crossinstall OPT="-godwarfsets -gl -O-" OS_TARGET=linux CPU_TARGET=x86_64 
INSTALL_PREFIX=%myFPC% PP=%mybinutils%\ppc386.exe 
DATA2INC=%myFPC%\utils\data2inc.exe
if errorlevel 1 goto ende2
rem make crossinstall OPT="-godwarfsets -gl -O- -XPpowerpc-aix-" AS=as 
OS_TARGET=aix CPU_TARGET=powerpc INSTALL_PREFIX=%myFPC% 
PP=%mybinutils%\ppc386.exe DATA2INC=%myFPC%\utils\data2inc.exe
rem if errorlevel 1 goto ende2
make crossinstall OPT="-godwarfsets -gl -O- -XPpowerpc-aix-" AS=as 
OS_TARGET=aix CPU_TARGET=powerpc64 INSTALL_PREFIX=%myFPC% 
PP=%mybinutils%\ppc386.exe DATA2INC=%myFPC%\utils\data2inc.exe
if errorlevel 1 goto ende2
:ende2
copy %myroot%\fpc.cfg %myFPC%\bin\i386-win32\fpc.cfg
copy fpc.exe %mybinutils%\i386-win32
copy %mybinutils%\i386-win32\powerpc* %myFPC%\bin\i386-win32
copy %mybinutils%\i386-win32\x86_64-linux* %myFPC%\bin\i386-win32
copy %mybinutils%\i386-win32\*.dll %myFPC%\bin\i386-win32
:ende


Pascal
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to