Compile error with tcl-threads

Volker Stolz vs at FreeBSD.org
Tue Dec 13 04:43:07 PST 2005


* Jack L. <xxjack12xx at 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



More information about the freebsd-ports mailing list