Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

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 + `__dyn_tls_init_callback'</b> 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. :-)


In reply to Re^4: Linker error when installing modules on Perl 5.10.0 with cpan.bat on Windows by tobias_hofer
in thread Linker error when installing modules on Perl 5.10.0 with cpan.bat on Windows by tobias_hofer

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (9)
As of 2024-04-26 08:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found