[fpc-devel] Problems building on i386-win32

J. Gareth Moreton gareth at moreton-family.com
Wed Nov 25 00:37:55 CET 2020

Hi everyone,

This might be my own configuration, but can people check that i386-win32 
works properly? I tried to build it to test one of my new optimisations, 
but got a failure when building the trunk (without my optimisations).

Building using "make all install OS_TARGET=win32 CPU_TARGET=i386 
FPC=C:\FPC\3.2.0\bin\i386-win32\fpc.exe" (since my machine is 64-bit 

[ 20%] Compiled package odbc
Start compiling package oracle for target i386-win32.
        Compiling oracle\BuildUnit_oracle.pp
        Compiling .\oracle\src\oratypes.pp
        Compiling .\oracle\src\ocidyn.pp
        Compiling .\oracle\src\oci.pp
        Compiling .\oracle\src\oraoci.pp
External command 
"C:/Users/garet/Documents/programming/fpc/compiler/ppc386.exe -Twin32 
-Fuoracle\src -Fioracle\src -Ur -Xs -O2 -n -di386 -dRELEASE -XX -CX -Sc 
-viq oracle\BuildUnit_oracle.pp" failed with exit code 1. Console output:
Target OS: Win32 for i386
Compiling oracle\BuildUnit_oracle.pp
Compiling .\oracle\src\oratypes.pp
Compiling .\oracle\src\ocidyn.pp
Compiling .\oracle\src\oci.pp
Compiling .\oracle\src\oraoci.pp
oraoci.pp(1437) Error: Invalid DLL C:\windows\system32\common.dll, 
invalid header size
oraoci.pp(1437) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted

The installer encountered the following error:
Compilation of "BuildUnit_oracle.pp" failed
make[2]: *** [smart] Error 1
make[2]: Leaving directory 
make[1]: *** [packages_smart] Error 2
make[1]: Leaving directory `C:/Users/garet/Documents/programming/fpc'
make: *** [build-stamp.i386-win32] Error 2

It seems that the Oracle package is upset about one of my DLLs. Anyone 
got any ideas?  It's blocking more complete testing of my changes (and 
other things like Tomas' console colour patch).

Gareth aka. Kit

This email has been checked for viruses by Avast antivirus software.

More information about the fpc-devel mailing list