Bug #9586
closed
Unable to build Ruby 2.1.1 on NetBSD
Added by djberg96 (Daniel Berger) almost 11 years ago.
Updated over 10 years ago.
Description
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.
Files
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.
- Description updated (diff)
- Status changed from Open to Feedback
As of r45264 I'm still getting the same error.
Could you show config.log file?
Attached is the config.log for 2.1.1.
- Status changed from Feedback to Closed
- % Done changed from 0 to 100
Applied in changeset r45713.
- configure.in: correct pthread_setname_np's prototype on NetBSD.
[Bug #9586]
- Backport changed from 1.9.3: UNKNOWN, 2.0.0: UNKNOWN, 2.1: UNKNOWN to 1.9.3: DONTNEED, 2.0.0: DONTNEED, 2.1: REQUIRED
- Backport changed from 1.9.3: DONTNEED, 2.0.0: DONTNEED, 2.1: REQUIRED to 1.9.3: DONTNEED, 2.0.0: DONTNEED, 2.1: DONE
r45190, r45202, r45204 and r45713 were backported into ruby_2_1
at r45867.
Also available in: Atom
PDF
Like0
Like0Like0Like0Like0Like0Like0Like0Like0