- 论坛徽章:
- 54
|
回复 296# aaaaaa
折腾了大半天,感觉非常郁闷!
下载了trafficserver-taobao 3.2,编译的时候出现错误:- ../../lib/ts/ink_rwlock.h: In function 'int ink_rwlock_init(ink_rwlock*)':
- ../../lib/ts/ink_rwlock.h:54: error: 'PTHREAD_RWLOCK_PREFER_WRITER_NP' was not declared in this scope
- *** [EventSystem.o] Error code 1
复制代码 谁写的这个文件?对pthead.h兼容性不好。
下载了master版,编译出来的东西倒运行,就是不能用,无论怎么调整DNS,都是一个提示:
Unknown Host
Description: Unable to locate the server named "xxxxx.xxxx.com" --- the server does not have a DNS entry. Perhaps there is a misspelling in the server name, or the server no longer exists. Double-check the name and try again.
master还说用了FreeBSD的tcp.h。
结论:ATS在FreeBSD下非常麻烦! |
|