Project

General

Profile

Bug #9586

Updated by nobu (Nobuyoshi Nakada) about 10 years ago

NetBSD 6.1.3 
 gcc 4.5.3 
 Ruby 2.1.1 

 I got through the configure phase fine, but during make I got this failure: 

 ```sh 
 compiling thread.c 
 In file included from thread.c:230:0: 
 thread_pthread.c: In function 'thread_timer': 
 thread_pthread.c:1440:5: warning: passing argument 1 of 'pthread_setname_np' from incompatible pointer type 
 /usr/include/pthread.h:133:5: note: expected 'pthread_t' but argument is of type 'const char *' 
 thread_pthread.c:1440:5: error: too few arguments to function 'pthread_setname_np' 
 /usr/include/pthread.h:133:5: note: declared here 
 *** Error code 1 

 Stop. 
 ```

Back