Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Dec 2005 12:40:35 +0000 (UTC)
From:      Volker Stolz <vs@FreeBSD.org>
To:        freebsd-ports@freebsd.org
Subject:   Re: Compile error with tcl-threads
Message-ID:  <dnmfg2$auo$1@sea.gmane.org>
References:  <ab581e310512072114l2a9d7a2cic7a7698f94eaec6c@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
* Jack L. <xxjack12xx@gmail.com>:
> I keep getting these types of compiler errors when tcl-threads-8.4.11,1 is
> installed instead of regular tcl. What is the difference between a threaded
> tcl and regular tcl and is there any way to compile epic5 with threaded tcl?
>
> /usr/local/lib/libtcl84.so: undefined reference to `pthread_attr_destroy'
> /usr/local/lib/libtcl84.so: undefined reference to `pthread_create'

You need to sneak in ${PTHREAD_LIBS} to the linker, usually just
'-pthread'.

Volker
-- 
http://www-i2.informatik.rwth-aachen.de/stolz/ *** PGP *** S/MIME
Receive and transmit




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?dnmfg2$auo$1>