• 5518阅读
  • 3回复

HowTO enable MULTIPLE_THREADS? [复制链接]

上一主题 下一主题
离线leslielg
 

只看楼主 正序阅读 楼主  发表于: 2008-06-23
— 本帖被 XChinux 执行加亮操作(2008-06-24) —
qte4.4.0 的webkit源码里有这样一句(在collector.cpp中):

#if USE(MULTIPLE_THREADS)
#include <pthread.h>
#endif

怎么enable MULTIPLE_THREADS?在Makefile 里加入-DMULTIPLE_THREADS?
qte4.4.0 的./configure 没有了-thread选项。

thanks!
离线locom
只看该作者 3楼 发表于: 2008-12-31
我交叉編譯也發現同樣的錯誤
pthread_getattr_np was not declared in this scope
ARM+linux
离线leslielg

只看该作者 2楼 发表于: 2008-06-24
已发现webkit在uclibc0.9.29下编译无法通过(耗费我两天时间,就发现个这个),uclibc0.9.29的pthread库有个函数没有实现,可以在pthread.h中看到,pthread_getattr_np这个函数被webkit调用了但uclibc中没有。glibc库实现了这个函数的。
离线leslielg

只看该作者 1楼 发表于: 2008-06-24
已验证-DMULTIPLE_THREADS不起作用。
快速回复
限100 字节
 
上一个 下一个