On Sat, 26 Aug 2006 23:39:59 -0700 (PDT)
Dino Vliet <[EMAIL PROTECTED]> mentioned:

> The build gives this error:
> 
> [EMAIL PROTECTED] /usr/ports/x11-toolkits/tk84]# make build
> ===>  Building for tk-8.4.13,2
> cc -pipe -O2 -fno-strict-aliasing -pipe    tkAppInit.o
> -L/usr/ports/x11-toolkits/tk84/work/tk8.4.13/unix
> -ltk84  -L/usr/local/lib -ltcl84  -L/usr/X11R6/lib
> -lX11  -lm -Wl,-rpath,/usr/local/lib:/usr/X11R6/lib -o
> wish
> /usr/local/lib/libtcl84.so: undefined reference to
> `pthread_attr_destroy'
> /usr/local/lib/libtcl84.so: undefined reference to
> `pthread_create'
> /usr/local/lib/libtcl84.so: undefined reference to
> `pthread_attr_init'
> /usr/local/lib/libtcl84.so: undefined reference to
> `pthread_exit'
> /usr/local/lib/libtcl84.so: undefined reference to
> `pthread_attr_setscope'
> /usr/local/lib/libtcl84.so: undefined reference to
> `pthread_attr_setstacksize'
> /usr/local/lib/libtcl84.so: undefined reference to
> `pthread_attr_setdetachstate'
> /usr/local/lib/libtcl84.so: undefined reference to
> `pthread_join'
> /usr/local/lib/libtcl84.so: undefined reference to
> `pthread_cond_timedwait'
> *** Error code 1
> 
> Stop in
> /usr/ports/x11-toolkits/tk84/work/tk8.4.13/unix.
> *** Error code 1
> 
> Stop in /usr/ports/x11-toolkits/tk84.
> [EMAIL PROTECTED] /usr/ports/x11-toolkits/tk84]#
> 
> What else do you need from me, to figure this out? It
> worked fine until I wanted to upgrade my ports at some
> moment in time. 
> 

You have threaded tcl installed, thus you need thread tk
instead.

Define WITH_THREADS on make commandline during build, i.e.
make WITH_THREADS=yes clean all install

-- 
Stanislav Sedov         MBSD labs, Inc.         <[EMAIL PROTECTED]>
Россия, Москва         http://mbsd.msk.ru

--------------------------------------------------------------------
If the facts don't fit the theory, change the facts.  -- A. Einstein
--------------------------------------------------------------------
PGP fingerprint:  F21E D6CC 5626 9609 6CE2  A385 2BF5 5993 EB26 9581

Attachment: signature.asc
Description: PGP signature

Reply via email to