[fpc-devel] Building trunk of today fails on Windows: Error:Invalid DLL C:\WINDOWS\system32\common.dll, invalid header size
J. Gareth Moreton
gareth at moreton-family.com
Sun Aug 22 07:56:14 CEST 2021
It might be to do with the order that directories are searched. If it finds the 64-bit version
ghost, then it will throw an error. I've requested to change the error to a warning instead in the
post, but was shot down.
Gareth aka. Kit
On Sun 22/08/21 09:20 , "Bart via fpc-devel" fpc-devel at lists.freepascal.org sent:
> 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.
>
>
>
> Since the last time I built trunk, the only change I made to my
>
> computer is installing a git client (commandline version).
>
> My windows is up to date.
>
>
>
> So, this baffles me.
>
>
>
> --
>
> Bart
>
> _______________________________________________
>
> fpc-devel maillist - fpc-devel at lists.freepascal.org
> https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
>
>
>
>
>
More information about the fpc-devel
mailing list