[fpc-devel] Building trunk of today fails on Windows: Error: Invalid DLL C:\WINDOWS\system32\common.dll, invalid header size
Florian Klämpfl
florian at freepascal.org
Mon Aug 23 10:49:13 CEST 2021
> Am 22.08.2021 um 10:20 schrieb Bart via fpc-devel <fpc-devel at lists.freepascal.org>:
>
> On Sun, Aug 22, 2021 at 5:40 AM J. Gareth Moreton via fpc-devel
> <fpc-devel at lists.freepascal.org> wrote:
>
>> This is a problem I run into all the time Basically, the DLL is 64-bit
>> and hence is invalid in a 32-bit binary. This can be bypassd by
>> commenting out the "{$linklib common}" line in .\oracle\src\oraoci.pp
>
> Tha cannot be a real solution.
>
> Also, that line has been in that unit for at least 8 years AFAICS.
> But I have build fpc trunk several times in the past before, without
> such an error.
> And yes, I've built trunk with 3.2.2 as a starting compiler before.
Are you sure this common.dll is 32 Bit? C:\Windows\SysWOW64 may contain only 32 Bit DLLs.
More information about the fpc-devel
mailing list