Skip to content

Building fails with strawberry-perl-5.42.0.1-64bit #231

@zb226

Description

@zb226

I've recently tried to build DBD::MariaDB with Strawberry perl 5.42.0.1 and got the following error:

C:/dev/strawberry-perl-5.42.0.1/c/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
dbdimp.o:dbdimp.c:(.text+0x885): undefined reference to `__imp___pioinfo'

Eventually I found a hackish solution and reported it to Perl::Dist::Strawberry. The folks there noted this problem is caused by Strawberry having moved from MSVCRT to UCRT since 5.40.x, which can cause issues with existing code.

Apparently the problem here is that __pioinfo is an "internal CRT global or value macro" which is "not intended for use by your code" according to Microsoft docs - and seems to be not exposed by UCRT. I'm afraid I can't be of any more help with this issue than to report it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions