pthread-changes from 1.6 to 1.7?

Thomas Schlesinger schlesinger at netcologne.de
Wed Sep 13 10:08:11 PDT 2006


Hi,

I don't know, if you've already seen it, so I post it here, too:

The pkgsrc-package lang/ruby18-base doesn't build on 1.7. The build breaks 
with this error message:
[..]
cc -O2 -I/usr/include  -fPIC  -DRUBY_EXPORT -I. -I. -I/usr/include -c dmyext.c
ar rcu libruby18-static.a array.o  bignum.o  class.o  compar.o  dir.o  dln.o  
enum.o  error.o  eval.o  file.o  gc.o  hash.o  inits.o  io.o  marshal.o  
math.o  numeric.o  object.o  pack.o  parse.o  process.o  prec.o  random.o  
range.o  re.o  regex.o  ruby.o  signal.o  sprintf.o  st.o  string.o  struct.o  
time.o  util.o  variable.o  version.o  isnan.o isinf.o dmyext.o
cc -O2 -I/usr/include  -fPIC  -DRUBY_EXPORT -I. -I. -I/usr/include -c main.c
cc main.o  libruby18-static.a -lcrypt -lm   -o 
miniruby -O2 -I/usr/include  -fPIC  -DRUBY_EXPORT -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -rdynamic
libruby18-static.a(eval.o)(.text+0x14bda): In function `rb_thread_start_0':
: undefined reference to `pthread_create'
*** Error code 1
[..]

Takahiro Kambe has tried it on 1.6 and was able to build it. It seems, 
something has changed in DragonFlyBSD from 1.6 to 1.7, that prevents building 
this package. I don't know, if more packages are  affected.

Thomas






More information about the Users mailing list