我正在尝试在运行arm-linux的synology diskstation上从源代码构建ruby 1.9.2。dev-tools已安装,头文件和库文件也已安装。当我运行./configure pthread时找不到
checking for pthread_kill in -lthr... no
checking for pthread_kill in -lpthread... no
checking for pthread_kill in -lpthreads... no
checking for pthread_kill in -lc... no
checking for pthread
由于EXC_BAD_ACCESS的原因,我的应用程序开始崩溃,但没有给我任何有用的信息来说明崩溃发生在哪里。
所以我启用了NSZombies。现在我明白了:
*** Terminating app due to uncaught exception of class '_NSZombie_NSException'
libc++abi.dylib: terminate called throwing an exception
* thread #1: tid = 0x2303, 0x3c608350 libsystem_kernel.dylib`__pthread_kill +