Skip Menu |

This queue is for tickets about the Syntax-Feature-Loop CPAN distribution.

Report information
The Basics
Id: 94935
Status: open
Priority: 0/
Queue: Syntax-Feature-Loop

People
Owner: IKEGAMI [...] cpan.org
Requestors: the.rob.dixon [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Syntax::Feature::Loop Build Error on Windows
Date: Tue, 22 Apr 2014 20:05:08 +0100
To: bug-Syntax-Feature-Loop [...] rt.cpan.org
From: Rob Dixon <the.rob.dixon [...] gmail.com>
I am having a problem building Syntax::Feature::Loop v1.6.0 on Windows 7 SP1. I am running Strawberry Perl 5 version 16.2. Using `cpan install Syntax::Feature::Loop`, the relevant part of the log is attached. The root problem being that g++ is returning undefined reference to `_imp__C8K61oRQKxigiqmUlVdk_scp1' twice during both the build and the test phase. Rather oddly, cpan says IKEGAMI/Syntax-Feature-Loop-v1.6.0.tar.gz C:\strawberry\perl\bin\perl.exe ./Build -- OK after the build, when I would expect it to fail and refuse to run the test. Thank you for looking at this. Rob Dixon Norfolk England
Download Syntax-Feature-Loop.log
application/octet-stream 7.4k

Message body not shown because it is not plain text.

Subject: undefined reference to `_imp__C8K61oRQKxigiqmUlVdk_scp1'
I'm sure the problem is due to using gcc for some files and g++ for others, though I don't know how you got into the situation. I don't have any further for a week, but do remind me then! In the meantime, can you provide the output of perl -V (uppercase "V").
As for "./Build -- OK", that's a problem with Module::Build. I've been told (buy its maintainers) that Module::Build is no longer the way to go and that I should switch to ExtUtils::MakeMaker. It's on my todo list, but it's not very high priority. I'll switch installer the next time I make a change to the module.
Subject: Re: [rt.cpan.org #94935] undefined reference to `_imp__C8K61oRQKxigiqmUlVdk_scp1'
Date: Wed, 23 Apr 2014 10:44:40 +0100
To: bug-Syntax-Feature-Loop [...] rt.cpan.org
From: Rob Dixon <the.rob.dixon [...] gmail.com>
Thank you for a swift reply. I can't imagine that I have done anything to change the compiler that `dmake` uses, but anything is possible. I've attached the output of perl -V Rob On 23 April 2014 02:22, ikegami via RT <bug-Syntax-Feature-Loop@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=94935 > > > I'm sure the problem is due to using gcc for some files and g++ for others, though I don't know how you got into the situation. I don't have any further for a week, but do remind me then! In the meantime, can you provide the output of perl -V (uppercase "V"). >

Message body is not shown because sender requested not to inline it.

On Wed Apr 23 05:44:50 2014, the.rob.dixon@gmail.com wrote: Show quoted text
> Thank you for a swift reply. > > I can't imagine that I have done anything to change the compiler that > `dmake` uses, but anything is possible.
It's not the choice of compiler so much as the mix of two compilers. You use a C compiler to create Loop.o, but you use a C++ linker to create Loop.dll. The linker expects certain symbols to be present in the C++ object file but doesn't find them. I'll look into why there are two compilers involved after this weekend is over.
Subject: Re: [rt.cpan.org #94935] Undefined reference to `_imp__C8K61oRQKxigiqmUlVdk_scp1'
Date: Thu, 24 Apr 2014 09:41:38 +0100
To: bug-Syntax-Feature-Loop [...] rt.cpan.org
From: Rob Dixon <the.rob.dixon [...] gmail.com>
Here's the build.bat that it creates in case it's of any use (renamed so that the mailer will accept it) On 23 April 2014 14:20, ikegami via RT <bug-Syntax-Feature-Loop@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=94935 > > > On Wed Apr 23 05:44:50 2014, the.rob.dixon@gmail.com wrote:
>> Thank you for a swift reply. >> >> I can't imagine that I have done anything to change the compiler that >> `dmake` uses, but anything is possible.
> > It's not the choice of compiler so much as the mix of two compilers. > > You use a C compiler to create Loop.o, but you use a C++ linker to create Loop.dll. The linker expects certain symbols to be present in the C++ object file but doesn't find them. > > I'll look into why there are two compilers involved after this weekend is over. > > >
Download Build.bat_
application/octet-stream 1.8k

Message body not shown because it is not plain text.