On 2009/12/02 02:42, Stuart Cassoff wrote:
> Stuart Cassoff wrote:
> > Stuart Henderson wrote:
> >> On 2009/10/29 22:32, Stuart Cassoff wrote:
> >>> I understand about -lpthread, but this is the result without it.
> >> we use -pthread not -lpthread
> > 
> > I'd be extremely happy to know how I can make this work without -lpthread.
> > 
> > Stu
> 
> 
> I don't seem to be able to figure this out and could use some help.
> Here is something demonstrating the situation.

Ahh. The tclsh you're running it from isn't linked with pthreads. If you
switch to the -threaded flavor of Tcl this will work.

$ cc -Wall -pthread -shared -L/usr/local/lib -ltclstub85 -ldbus-1 -o 
libqz69.so.0.0 qz.o
$ tclsh8.5
% load ./libqz69.so.0.0
%

Reply via email to