[fpc-devel] Building trunk of today fails on Windows: Error: Invalid DLL C:\WINDOWS\system32\common.dll, invalid header size

Sven Barth pascaldragon at googlemail.com
Mon Aug 23 23:34:14 CEST 2021


Am 23.08.2021 um 19:33 schrieb Bart via fpc-devel:
> On Mon, Aug 23, 2021 at 7:16 PM Bart <bartjunk64 at gmail.com> wrote:
>
>> I tried to build with only the path to the starting compiler in %PATH%:
>>
>> PATH /devel/fpc/3.2.2/bin/i386-Win32
>> make clean
>> make all OPT=...
>>
>> That failed on make clean:
> That error goes away if I add C:\Windows to the path.
>
> However, then I get the same build error:
>
> 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
>
> (Even if I adjust the path to C:\devel\fpc\3.2.2\bin\i386-win32)
>
> So, why then does fpc find the (wrong) common.dll in c:\windows\system32?
>
> It seems I'm stuck with a machine with which I cannot build fpc anymore.
>
  FPC finds the wrong library, because some stupid installer decided to 
place the 64-bit DLL in the 32-bit library folder which is simply *wrong*.

Regards,
Sven


More information about the fpc-devel mailing list