Ticket #130 (closed bug: fixed)

Opened 13 years ago

Last modified 13 years ago

[bug] failed build on windows xp with strawberry perl

Reported by: jimmy Owned by: rurban
Priority: normal Milestone: 0.9.0
Component: none Version: trunk
Severity: medium Keywords:
Cc: Language:
Patch status: applied Platform: win32

Description (last modified by rurban) (diff)

g++ -o dynlexpad.dll "dynlexpad.o"  -lmsvcrt -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lgmp  -Wl,-L "E:/pipp/Parrot-dev/blib/lib"    -shared  "libparrot.dll"
g++: libparrot.dll: No such file or directory
...
mingw32-make[1]: *** [all] Error 2
mingw32-make[1]: Leaving directory `E:/pipp/Parrot-dev/src/dynpmc'
make: *** [dynpmc.dummy] Error 2

Change History

Changed 13 years ago by jimmy

E:\pipp\Parrot-dev>make "Compiling with:" xx.c gcc -I.\include -DWIN32 -DHASATTRIBUTE_CONST -DHASATTRIBUTE_DEPRECATED -DHASATTR IBUTE_MALLOC -DHASATTRIBUTE_NONNULL -DHASATTRIBUTE_NORETURN -DHASATTRIBUTE_PURE -DHASATTRIBUTE_UNUSED -DHASATTRIBUTE_WARN_UNUSED_RESULT -falign-functions=16 -fu nit-at-a-time -maccumulate-outgoing-args -W -Wall -Waggregate-return -Wcast-alig n -Wcast-qual -Wchar-subscripts -Wcomment -Wdisabled-optimization -Wendif-labels

-Wextra -Wformat -Wformat-extra-args -Wformat-nonliteral -Wformat-security -Wfo

rmat-y2k -Wimplicit -Wimport -Winit-self -Winline -Winvalid-pch -Wmissing-braces

-Wno-missing-format-attribute -Wpacked -Wparentheses -Wpointer-arith -Wreturn-t

ype -Wsequence-point -Wno-shadow -Wsign-compare -Wstrict-aliasing -Wstrict-alias ing=2 -Wswitch -Wswitch-default -Wtrigraphs -Wundef -Wunknown-pragmas -Wno-unuse d -Wwrite-strings -Wbad-function-cast -Wdeclaration-after-statement -Wimplicit-f unction-declaration -Wimplicit-int -Wmain -Wmissing-declarations -Wmissing-proto types -Wnested-externs -Wnonnull -g -DHAS_JIT -DI386 -DHAVE_COMPUTED_GOTO -I. -o

xx.o -c xx.c

mingw32-make -C docs mingw32-make[1]: Entering directory `E:/pipp/Parrot-dev/docs' D:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e mkpath ops mingw32-make[1]: Leaving directory `E:/pipp/Parrot-dev/docs' mingw32-make -C src\dynpmc mingw32-make[1]: Entering directory `E:/pipp/Parrot-dev/src/dynpmc' g++ -o dynlexpad.dll "dynlexpad.o" -lmsvcrt -lmoldname -lkernel32 -luser32 -lgd i32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -lu uid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lgmp -Wl,-L "E:/pipp/ Parrot-dev/blib/lib" -shared "libparrot.dll" g++: libparrot.dll: No such file or directory g++ -o foo.dll "foo.o" -lmsvcrt -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspo ol -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32

-lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lgmp -Wl,-L "E:/pipp/Parrot-dev/b

lib/lib" -shared "libparrot.dll" g++: libparrot.dll: No such file or directory g++ -o rotest.dll "rotest.o" -lmsvcrt -lmoldname -lkernel32 -luser32 -lgdi32 -l winspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -l ws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lgmp -Wl,-L "E:/pipp/Parrot -dev/blib/lib" -shared "libparrot.dll" g++: libparrot.dll: No such file or directory g++ -o rational.dll "rational.o" -lmsvcrt -lmoldname -lkernel32 -luser32 -lgdi3 2 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luui d -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lgmp -Wl,-L "E:/pipp/Pa rrot-dev/blib/lib" -shared "libparrot.dll" g++: libparrot.dll: No such file or directory g++ -o subproxy.dll "subproxy.o" -lmsvcrt -lmoldname -lkernel32 -luser32 -lgdi3 2 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luui d -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lgmp -Wl,-L "E:/pipp/Pa rrot-dev/blib/lib" -shared "libparrot.dll" g++: libparrot.dll: No such file or directory Copy dynlexpad.dll failed (0) mingw32-make[1]: *** [all] Error 2 mingw32-make[1]: Leaving directory `E:/pipp/Parrot-dev/src/dynpmc' make: *** [dynpmc.dummy] Error 2

Changed 13 years ago by jimmy

g++ -o dynlexpad.dll "dynlexpad.o"  -lmsvcrt -lmoldname -lkernel32 -luser32 -lgd
i32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -lu
uid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lgmp  -Wl,-L "E:/pipp/
Parrot-dev/blib/lib"    -shared  "libparrot.dll"
g++: libparrot.dll: No such file or directory
g++ -o foo.dll "foo.o"  -lmsvcrt -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspo
ol -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32
 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lgmp  -Wl,-L "E:/pipp/Parrot-dev/b
lib/lib"    -shared  "libparrot.dll"
g++: libparrot.dll: No such file or directory
g++ -o rotest.dll "rotest.o"  -lmsvcrt -lmoldname -lkernel32 -luser32 -lgdi32 -l
winspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -l
ws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lgmp  -Wl,-L "E:/pipp/Parrot
-dev/blib/lib"    -shared  "libparrot.dll"
g++: libparrot.dll: No such file or directory
g++ -o rational.dll "rational.o"  -lmsvcrt -lmoldname -lkernel32 -luser32 -lgdi3
2 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luui
d -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lgmp  -Wl,-L "E:/pipp/Pa
rrot-dev/blib/lib"    -shared  "libparrot.dll"
g++: libparrot.dll: No such file or directory
g++ -o subproxy.dll "subproxy.o"  -lmsvcrt -lmoldname -lkernel32 -luser32 -lgdi3
2 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luui
d -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lgmp  -Wl,-L "E:/pipp/Pa
rrot-dev/blib/lib"    -shared  "libparrot.dll"
g++: libparrot.dll: No such file or directory
Copy dynlexpad.dll failed (0)
mingw32-make[1]: *** [all] Error 2
mingw32-make[1]: Leaving directory `E:/pipp/Parrot-dev/src/dynpmc'
make: *** [dynpmc.dummy] Error 2

Changed 13 years ago by rurban

  • owner set to rurban
  • status changed from new to assigned
  • description modified (diff)
  • summary changed from [bug]failed build on windows xp with strawberry perl to [bug] failed build on windows xp with strawberry perl

Changed 13 years ago by rurban

  • status changed from assigned to closed
  • patch set to applied
  • platform set to win32
  • version set to trunk
  • milestone set to 0.9.0
  • resolution set to fixed

libparrot_shared pointed to blib/lib. Now pointing to the dll directly. Have to test how pmc compilation works when being installed.

Fixed by r34974 | rurban++ | trunk/config/init/hints:
fix mingw compilation - TT#130 - and add vanilla cfg

review:  http://www.parrotvm.org/svn/parrot/revision?rev=34974

confirmed by jimmy being ok.

Changed 13 years ago by rurban

r34976 | rurban++ | trunk/config (2 files):
More mingw fixes, analog to cygwin:
- link directly to dll to protect against already installed libparrot
- add importlib for mingw for easier installation
- force gcc.exe to gcc for Makefile check
Tested with vanilla and strawberry perl

review:  http://www.parrotvm.org/svn/parrot/revision?rev=34976

Note: See TracTickets for help on using tickets.