Thanks for the quick reply xdg. (I can't believe how quickly you came up with that!! Are you sure you waited until I hit the 'Create' button :-)

I just spent some time yesterday trolling through MSDN and some books on Safari trying to resolve problems with 'undefined reference' messages compiling Data::Alias on Strawberry. I came across .exe.manifest in one of my Google searches so it was fresh in my mind.

And if anyone can make sense of these 'undefined reference' problems, please let me know:

C:\Temp\cpan\build\Data-Alias-1.03>dmake cp lib/Data/Alias.pm blib\lib\Data\Alias.pm C:\strawberry-perl\perl\bin\perl.exe C:\strawberry-perl\perl\lib\ExtUt +ils\xsubpp -typemap C:\strawberry-perl\perl\lib\ExtUtils\typemap Alias.xs > Al +ias.xsc && C:\strawberry-perl\perl\bin\perl.exe -MExtUtils::Command -e mv Alias. +xsc Alias. c gcc -c -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTE +XT -DPERL_ IMPLICIT_SYS -fno-strict-aliasing -DPERL_MSVCRT_READFIX -s -O2 -DVE +RSION=\"1. 03\" -DXS_VERSION=\"1.03\" "-IC:\strawberry-perl\perl\lib\CORE" +Alias.c Running Mkbootstrap for Data::Alias () C:\strawberry-perl\perl\bin\perl.exe -MExtUtils::Command -e chmod 644 +Alias.bs C:\strawberry-perl\perl\bin\perl.exe -MExtUtils::Mksymlists \ -e "Mksymlists('NAME'=>\"Data::Alias\", 'DLBASE' => 'Alias', 'DL_ +FUNCS' => { }, 'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_VARS' => []);" dlltool --def Alias.def --output-exp dll.exp g++ -o blib\arch\auto\Data\Alias\Alias.dll -Wl,--base-file -Wl,dll.bas +e -mdll -s -L"c:\strawberry-perl\perl\lib\CORE" -L"c:\strawberry-perl\mingw\lib" + Alias.o - Wl,--image-base,0x32420000 C:\strawberry-perl\perl\lib\CORE\libperl58 +.a -lmsvcr t -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvap +i32 -lshel l32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lvers +ion -lodbc 32 -lodbccp32 dll.exp Alias.o:Alias.c:(.text+0x2fe): undefined reference to `Perl_av_reify' Alias.o:Alias.c:(.text+0x49d): undefined reference to `Perl_vivify_def +elem' Alias.o:Alias.c:(.text+0x6e6): undefined reference to `Perl_av_reify' Alias.o:Alias.c:(.text+0x702): undefined reference to `Perl_vivify_def +elem' Alias.o:Alias.c:(.text+0x1f76): undefined reference to `Perl_pp_rv2av' Alias.o:Alias.c:(.text+0x2006): undefined reference to `Perl_pp_rv2hv' Alias.o:Alias.c:(.text+0x2430): undefined reference to `_imp__PL_sv_pl +aceholder' Alias.o:Alias.c:(.text+0x259b): undefined reference to `Perl_pp_rv2hv' Alias.o:Alias.c:(.text+0x26b2): undefined reference to `Perl_pp_rv2av' Alias.o:Alias.c:(.text+0x318e): undefined reference to `Perl_av_reify' Alias.o:Alias.c:(.text+0x36ad): undefined reference to `Perl_setdefout +' Alias.o:Alias.c:(.text+0x375d): undefined reference to `Perl_lex_end' Alias.o:Alias.c:(.text+0x387f): undefined reference to `_imp__PL_sv_pl +aceholder' Alias.o:Alias.c:(.text+0x3c5a): undefined reference to `Perl_pp_entere +val' Alias.o:Alias.c:(.text+0x3df3): undefined reference to `Perl_qerror' Alias.o:Alias.c:(.text+0x44b1): undefined reference to `Perl_mod' Alias.o:Alias.c:(.text+0x46e5): undefined reference to `Perl_mod' Alias.o:Alias.c:(.text+0x4724): undefined reference to `Perl_mod' Alias.o:Alias.c:(.text+0x4bb9): undefined reference to `Perl_yylex' Alias.o:Alias.c:(.text+0x4e72): undefined reference to `Perl_op_clear' Alias.o:Alias.c:(.text+0x54c8): undefined reference to `_imp__PL_op_mu +tex' Alias.o:Alias.c:(.text+0x5561): undefined reference to `_imp__PL_op_mu +tex' Alias.o:Alias.c:(.text+0x3819): undefined reference to `Perl_pop_retur +n' collect2: ld returned 1 exit status dmake: Error code 129, while making 'blib\arch\auto\Data\Alias\Alias. +dll'

-xdg

Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.


In reply to Re^3: Makefile.PL and *.exe.manifest by xdg
in thread Makefile.PL and *.exe.manifest by syphilis

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



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • 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:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, 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, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.