GithubHelp home page GithubHelp logo

libunwind-0.99编译失败 about bfs HOT 4 CLOSED

Huoke avatar Huoke commented on May 29, 2024
libunwind-0.99编译失败

from bfs.

Comments (4)

Huoke avatar Huoke commented on May 29, 2024

In file included from ../include/dwarf_i.h:9:0,
from dwarf/global.c:26:
../include/dwarf.h:318:5: error: unknown type name 'pthread_mutex_t'
pthread_mutex_t lock;
^~~~~~~~~~~~~~~
Makefile:2768: recipe for target 'dwarf/global.lo' failed
make[2]: *** [dwarf/global.lo] Error 1
make[2]: Leaving directory '/mnt/f/bfs/thirdsrc/libunwind-0.99/src'
Makefile:1182: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/mnt/f/bfs/thirdsrc/libunwind-0.99/src'
Makefile:362: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

from bfs.

yvxiang avatar yvxiang commented on May 29, 2024

pthread_mutex_t是系统自带的,看起来跟环境有关系,手动加上这个依赖吧

from bfs.

Huoke avatar Huoke commented on May 29, 2024

这个问题出现在我的windows10系统,在win10的appStare中下载的Ubantu下编译出现这个问题,现在我在libunwind-0.99源码的 include/dwarf.h文件中添加了pthread.h 可以编译通过了。
多谢!

from bfs.

Huoke avatar Huoke commented on May 29, 2024

问题解决

from bfs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.