[fpc-devel] Building trunk of today fails on Windows: Error: Invalid DLL C:\WINDOWS\system32\common.dll, invalid header size
Bart
bartjunk64 at gmail.com
Sun Aug 22 22:28:32 CEST 2021
On Sun, Aug 22, 2021 at 10:20 AM Bart <bartjunk64 at gmail.com> wrote:
> So, this baffles me.
As does this:
C:\devel\fpc\trunk\packages\oracle>type README.txt
These units provides interface to Oracle Call Interface.
For the older 'oraoci' unit to compile you need oracle
server installed, these units was tested and performed
on Oracle 8.0.1.5 Standard server. One developer license
of Oracle server is free of charge...
Unit oraclew contains some procedures and functions,
which makes usage of oraoci not so painfull... But -
if you wanna to program in RAW OCI, you really can ;)
The oci and ocidyn units are a complete conversion from
Oracle's .h files. The former links statically to the
library, the latter dynamically.
You need to have oracle lib directory in ldpath, too,
or you can this path set in Makefile.fpc (is commented
there)
I never ever had oracle server installed, but yet in the past I was
able to build fpc and this build includes the oracle units:
The last time I successfully built and installed a 32-bit fpc trunk
was apparently in april this year:
C:\>dir pp\units\i386-win32\oracle\
Volume in drive C is Windows
Volume Serial Number is 0C94-A215
Directory of C:\pp\units\i386-win32\oracle
03-04-2021 23:35 <DIR> .
03-04-2021 23:35 <DIR> ..
03-04-2021 23:32 510.096 libimpoci.a
03-04-2021 23:32 8 libimporaoci.a
03-04-2021 23:32 229.323 oci.o
03-04-2021 23:32 651.520 oci.ppu
03-04-2021 23:32 499.448 ocidyn.o
03-04-2021 23:32 462.192 ocidyn.ppu
03-04-2021 23:32 31.248 oraoci.o <====
03-04-2021 23:32 71.842 oraoci.ppu <====
03-04-2021 23:32 36.987 oratypes.o
03-04-2021 23:32 12.234 oratypes.ppu
Here's the unit contents of the crosscompiler build of today:
C:\>dir pp\units\x86_64-win64\oracle
Volume in drive C is Windows
Volume Serial Number is 0C94-A215
Directory of C:\pp\units\x86_64-win64\oracle
04-04-2021 13:47 <DIR> .
04-04-2021 13:47 <DIR> ..
22-08-2021 12:02 423.976 libimpoci.a
22-08-2021 12:02 223.272 oci.o
22-08-2021 12:02 662.054 oci.ppu
22-08-2021 12:02 525.671 ocidyn.o
22-08-2021 12:02 463.170 ocidyn.ppu
22-08-2021 12:02 24.878 oraoci.o
22-08-2021 12:02 71.849 oraoci.ppu
22-08-2021 12:02 36.389 oratypes.o
22-08-2021 12:02 12.296 oratypes.ppu
Interestingly it does not contain a "libimporaoci.a" like the 32-bit
version does.
--
Bart
More information about the fpc-devel
mailing list