port tk84 won't upgrade properly on AMD64 system

Stanislav Sedov ssedov at mbsd.msk.ru
Sun Aug 27 07:57:41 UTC 2006


On Sat, 26 Aug 2006 23:39:59 -0700 (PDT)
Dino Vliet <dino_vliet at yahoo.com> mentioned:

> The build gives this error:
> 
> [root at zouk /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.
> [root at zouk /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.         <ssedov at mbsd.msk.ru>
Россия, Москва         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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20060827/4b9fb73d/signature.pgp


More information about the freebsd-ports mailing list