Skip to content

Error running make when update jq - undefined reference to `__imp_mbsrtowcs' #3056

@ycwan

Description

@ycwan
jo git  ..................................................... [Up-to-date]
  Running git update for jq ...
┌ jq git  ................................................ [Updates found]
├ Running autoreconf...
├ Running configure...
├ Running make...
Likely error (tail of the failed operation logfile):
make[1]: Entering directory '/build/jq-git/build-64bit'
make[2]: Entering directory '/build/jq-git/build-64bit'
  CCLD     jq.exe
D:/MABS/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/15.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:/MABS/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/15.2.0/../../../../lib\libpthread.a(libwinpthread_la-thread.o):(.text+0x2cdd): undefined reference to `__imp_mbsrtowcs'
collect2.exe: error: ld returned 1 exit status
make[2]: *** [Makefile:995: jq.exe] Error 1
make[2]: Leaving directory '/build/jq-git/build-64bit'
make[1]: *** [Makefile:1191: all-recursive] Error 1
make[1]: Leaving directory '/build/jq-git/build-64bit'
make: *** [Makefile:829: all] Error 2
make failed. Check D:/MABS/build/jq-git/build-64bit/ab-suite.make.log
This is required for other packages, so this script will exit.
  Creating diagnostics file...

Attach D:\MABS\build\logs.zip to the GitHub issue.
Make sure the suite is up-to-date before reporting an issue. It might've been fixed already.

Try running the build again at a later time.

logs.zip

ab-suite.make.log

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