You are right, sorry!
To make a long story short:
To install the module manual, I do the following:
(used perl: strawberry 5.10.0 which comes with mingw environment)
1# download package from cpan
2# give: perl Makefile.PL => Looks good
3# Run the make command: dmake (comes with strawberryperl)
No matter what module I want to Install (with compilation) I get the same linker error which makes me think of using a later gcc version or check the generated lib paths.
/mingw/lib/dllcrt2.o:dllcrt1.c:(.text+0xe5):<b> undefined reference to
Cwd.o:Cwd.c:(.text+0x103): undefined reference to `croak_xs_usage'
collect2: ld returned 1 exit status
So we got here an unresolved reference to __dyn_tls_init_callback
I was googling a bit a found that other people on different projects have this issue too.
Seems to be a problem with the libs so I got to check if all libs are available to the build-process.
So I will start analyze the Makefile. :-)
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||