Could someone successfully compile perl 5.8.1 with mingw 3.1.0-1?

A

Albert Albani

Hello everybody

I am wondering if there is someone who was able to successfully
compile perl 5.8.1 with ming 3.1.0-1, and I'd be very happy
if such a person could give me a hint as to what I could do
to compile my perl as well.

When I try to compile my perl, I get the following linker
errors:

Info: resolving ___pioinfo by linking to __imp____pioinfo (auto-import)
fu000001.o(.idata$3+0xc): undefined reference to `libmsvcrt_a_iname'
fu000002.o(.idata$3+0xc): undefined reference to `libmsvcrt_a_iname'
fu000003.o(.idata$3+0xc): undefined reference to `libmsvcrt_a_iname'
fu000004.o(.idata$3+0xc): undefined reference to `libmsvcrt_a_iname'
fu000005.o(.idata$3+0xc): undefined reference to `libmsvcrt_a_iname'
nmth000000.o(.idata$4+0x0): undefined reference to `_nm____pioinfo'
dmake.exe: Error code 1, while making '..\miniperl.exe'




I have used win32\makefile.mk (together with dmake) and done the following changes:
#
# Visual C++ 2.x
#CCTYPE *= MSVC20
# Visual C++ > 2.x and < 6.x
#CCTYPE *= MSVC
# Visual C++ >= 6.x
#CCTYPE *= MSVC60
# Borland 5.02 or later
#CCTYPE *= BORLAND
# mingw32+gcc-2.95.2 or better
CCTYPE *= GCC
# Uncomment this if you are using the latest MinGW release (2.0.0)
# with gcc3.2
USE_GCC_V3_2 *= define

......

..IF "$(CCTYPE)" == "BORLAND"
CCHOME *= C:\borland\bcc55
..ELIF "$(CCTYPE)" == "GCC"
CCHOME *= C:\tools\MinGW
..ELSE
CCHOME *= $(MSVCDIR)
..ENDIF
CCINCDIR *= $(CCHOME)\include
CCLIBDIR *= $(CCHOME)\lib
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,014
Latest member
BiancaFix3

Latest Threads

Top