in reply to Re^2: Makefile.PL and *.exe.manifest
in thread Makefile.PL and *.exe.manifest
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.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Makefile.PL and *.exe.manifest
by Corion (Patriarch) on Mar 21, 2007 at 14:30 UTC | |
Re^4: Makefile.PL and *.exe.manifest
by BrowserUk (Patriarch) on Mar 21, 2007 at 21:27 UTC | |
Re^4: Makefile.PL and *.exe.manifest
by xmath (Hermit) on Mar 21, 2007 at 20:29 UTC |