----- Original Message ----- From: "Suresh Govindachar" <[EMAIL PROTECTED]> To: <perl-win32-users@listserv.ActiveState.com> Cc: "'Sisyphus'" <[EMAIL PROTECTED]>; "'Jan Dubois'" <[EMAIL PROTECTED]> Sent: Saturday, August 25, 2007 2:20 PM Subject: RE: perl58.dll: Perl_sv_2iv_flags (undefined reference)
> > > Sisyphus suggested linking with C:/opt/perl/lib/CORE/perl58.lib > (which does have the symbols in it) in the command that creates > if_perl.o and/or in the command that builds gvim.exe (which is > also the command that reports the missing references). > > But the build is supposed to use the library dynamically, rather > than be statically linked. But you will still have a dynamic build - perl58.lib is an "import" library rather than a "static" library. For dynamic builds using MSVC++ it is compulsory that you link to the import library. MSVC++ doesn't accommodate linking directly to the dll. For dynamic builds using MinGW (gcc), you generally have a choice - either link directly to the dll or link to the import library. In this instance, the dll (perl58.dll) has been built using MSVC++ and I therefore wonder whether MinGW can link directly to it. I would at least be trying to link to the import library (perl58.lib) in the hope that it would solve the problem. (No guarantees :-) Cheers, Rob _______________________________________________ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs