I figured it was something like that. I'm not sure which installer put
it there, or if moving it to the System32 directory will cause something
to catastrophically fail!
Given that it seems to just silently ignore the issue of the DLL doesn't
exist, would a warning be better for an invalid DLL or should it remain
an error?
Gareth aka. Kit
On 26/11/2020 20:33, Sven Barth via fpc-devel wrote:
Am 25.11.2020 um 00:37 schrieb J. Gareth Moreton via fpc-devel:
Hi everyone,
This might be my own configuration, but can people check that
i386-win32 works properly? I tried to build it to test one of my new
optimisations, but got a failure when building the trunk (without my
optimisations).
Building using "make all install OS_TARGET=win32 CPU_TARGET=i386
FPC=C:\FPC\3.2.0\bin\i386-win32\fpc.exe" (since my machine is 64-bit
Windows)
...
[ 20%] Compiled package odbc
Start compiling package oracle for target i386-win32.
Compiling oracle\BuildUnit_oracle.pp
Compiling .\oracle\src\oratypes.pp
Compiling .\oracle\src\ocidyn.pp
Compiling .\oracle\src\oci.pp
Compiling .\oracle\src\oraoci.pp
External command
"C:/Users/garet/Documents/programming/fpc/compiler/ppc386.exe -Twin32
-FUoracle\units\i386-win32\
-FuC:\Users\garet\Documents\programming\fpc\rtl\units\i386-win32\
-Fuoracle\src -Fioracle\src -Ur -Xs -O2 -n -di386 -dRELEASE -XX -CX
-Sc -viq oracle\BuildUnit_oracle.pp" failed with exit code 1. Console
output:
Target OS: Win32 for i386
Compiling oracle\BuildUnit_oracle.pp
Compiling .\oracle\src\oratypes.pp
Compiling .\oracle\src\ocidyn.pp
Compiling .\oracle\src\oci.pp
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
The installer encountered the following error:
Compilation of "BuildUnit_oracle.pp" failed
make[2]: *** [smart] Error 1
make[2]: Leaving directory
`C:/Users/garet/Documents/programming/fpc/packages'
make[1]: *** [packages_smart] Error 2
make[1]: Leaving directory `C:/Users/garet/Documents/programming/fpc'
make: *** [build-stamp.i386-win32] Error 2
It seems that the Oracle package is upset about one of my DLLs.
Anyone got any ideas? It's blocking more complete testing of my
changes (and other things like Tomas' console colour patch).
Thank you for sending me the DLL. The problem is that the DLL is a
64-bit one, but is for some reason located in the virtualized 32-bit
System32 directory.
Regards,
Sven
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
--
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel