From: normalperson@... Date: 2014-03-01T21:54:40+00:00 Subject: [ruby-core:61202] [ruby-trunk - Bug #9586] Unable to build Ruby 2.1.1 on NetBSD Issue #9586 has been updated by Eric Wong. djberg96@gmail.com wrote: > 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 Can you try trunk? r45204, r45202, r45190, r44925 may all help. ---------------------------------------- Bug #9586: Unable to build Ruby 2.1.1 on NetBSD https://bugs.ruby-lang.org/issues/9586#change-45557 * Author: Daniel Berger * Status: Open * Priority: Normal * Assignee: cruby-bsd * Category: platform/bsd * Target version: * ruby -v: 2.1.1 * Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN, 2.1: UNKNOWN ---------------------------------------- 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: 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. -- http://bugs.ruby-lang.org/