>>>>> "rif" == rif  <[EMAIL PROTECTED]> writes:

    rif> gcc -o motifd -L/usr/X11R6/lib main.o server.o translations.o packet.o 
message.o datatrans.o requests.o callbacks.o widgets.o resources.o tables.o motif.o 
text.o xmstring.o list.o events.o -static -lXm -dynamic -lXt -lXext -lX11 -lSM -lICE 
-lXp -ldl

    rif> I get many errors relating to undefined references to symbols prefixed
    rif> with pthread (e.g., pthread_mutex_init, pthread_cond_init,
    rif> pthread_self, etc.) and the linking fails.  Am I missing a library or
    rif> something?

Ah, Eric Marsden checked in a fix for this.  You need to add
-lpthreads.  I guess your Motif library is built with threads.  Mine
is not so I never noticed.

Ray


Reply via email to