Comments (4)
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.
pthread_mutex_t
是系统自带的,看起来跟环境有关系,手动加上这个依赖吧
from bfs.
这个问题出现在我的windows10系统,在win10的appStare中下载的Ubantu下编译出现这个问题,现在我在libunwind-0.99源码的 include/dwarf.h文件中添加了pthread.h 可以编译通过了。
多谢!
from bfs.
问题解决
from bfs.
Related Issues (20)
- Support S3 compatible interface
- sdk bfs_get、bfs_put返回值问题
- bfs_client can not put file HOT 2
- windows HOT 1
- Can't change mount_point owner HOT 3
- metaserver无法编译的问题 HOT 1
- SDK中的bfs_change_replica_num接口无法使用 HOT 4
- BFS 文件读写没有权限认证,用户认证机制吗 HOT 4
- 代码无法编译 HOT 1
- 如何实现对BFS上非空文件的写操作? HOT 4
- bfs_chmod()接口一直返回 -1,bad parameter. HOT 1
- 请问src/sdk/file_impl.h中FileImpl::located_blocks_在哪儿初始化的,FileImpl::Pread直接就使用了?
- 接口实现问题
- 请问如何支持spark框架 HOT 1
- 怎么做文件备份呢?
- Q: bfs 的副本一致性模型是什么?
- 无法编译,显示缺少#include "config.h"
- 无法编译,显示缺少#include "config.h"
- bai
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bfs.