[pcre-dev] Issues with compiling dftables.c on Windows

Startseite
Nachricht löschen
Autor: Zeev Atlas
Datum:  
To: pcre-dev
Betreff: [pcre-dev] Issues with compiling dftables.c on Windows
Hi
I am trying to port pcre (8.31) to native z/OS (mainframe) environment.
The only thing I try to compile in Windows is dftables.c
I get these errors and I am not able to resolve the issues. Could you
please guide me.

I am using Dev-C++ 4.9.9.2
Thank you
Ze'ev Atlas


Here is the compile log

Compiler: Default compiler
Building Makefile: "C:\projects\cpp\Makefile.win"
Executing make...
make.exe -f "C:\projects\cpp\Makefile.win" all
g++.exe dftables.o pcre_maketables.o -o "Project1.exe" -L"C:/Dev-Cpp/lib"

pcre_maketables.o(.text+0x0):pcre_maketables.c: multiple definition of
`pcre_maketables'
dftables.o(.text+0x0):dftables.c: first defined here
pcre_maketables.o(.text+0x10):pcre_maketables.c: undefined reference to
`pcre_malloc'
collect2: ld returned 1 exit status

make.exe: *** [Project1.exe] Error 1

Execution terminated