J. Gareth Moreton via fpc-devel
2021-04-05 18:33:16 UTC
Hi everyone,
I have a slightly annoying error when building the compiler for
i386-win32. I mentioned it to Sven a while ago, and the cause is due to
the fact that my copy of common.dll is 64-bit, not 32-bit (as Sven
confirmed for me).
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
Simply commenting out "{$linklib common}" on line 19 of the above file
fixes the problem. I would like to propose that this error be changed
to a warning, since apparently not having the library present doesn't
cause issues for compilation, just possibly execution later on.
Gareth aka. Kit
I have a slightly annoying error when building the compiler for
i386-win32. I mentioned it to Sven a while ago, and the cause is due to
the fact that my copy of common.dll is 64-bit, not 32-bit (as Sven
confirmed for me).
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
Simply commenting out "{$linklib common}" on line 19 of the above file
fixes the problem. I would like to propose that this error be changed
to a warning, since apparently not having the library present doesn't
cause issues for compilation, just possibly execution later on.
Gareth aka. Kit
--
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
_______________________________________________
fpc-devel maillist - fpc-***@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
_______________________________________________
fpc-devel maillist - fpc-***@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-