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

Tomas Hajny XHajT03 at hajny.biz
Wed Aug 25 11:11:12 CEST 2021


On 2021-08-24 21:32, Bart via fpc-devel wrote:
> On Tue, Aug 24, 2021 at 3:05 PM Sven Barth via fpc-devel
> <fpc-devel at lists.freepascal.org> wrote:
> 
>> Wrong. If it would be a 64-bit DLL in System32 of a x86_64 system then 
>> there would be no problem. However a 64-bit DLL in the SysWOW64 
>> directory
>> (thus the 32-bit System32 directory) *is* a problem. Same for a 32-bit 
>> DLL in the System32 directory of a x86_64 system.
> 
> Even if the dll does not match the description/specs in the source 
> code?
> (Just curious)
> 
> And, being curious: any idea why make clean failed when %PATH% was set
> to just C:\fpc\3.2.2\bin\i386-win32 ?

No idea - I just tested on a MS Win machine I have access to and 'make 
clean all' succeeded with PATH containing just the bin\i386-win32 
subdirectory of the 3.2.2 installation. Do you have a complete FPC 
installation, or did you build 3.2.2 yourself?

Tomas


More information about the fpc-devel mailing list