[ILUG] threads compilation problem

Brian Scanlan singer at redbrick.dcu.ie
Tue Mar 14 12:32:16 GMT 2000


On Wed, Mar 15, 2000 at 12:15:07PM +2400, john carter wrote:
> hi
> when i compile the file below using gcc abthread.c I get the following type of errors .
> 
> /tmp/cc4WfL0U.o(.text+0x6b) undefined reference to pthread_create
> /tmp/cc4WfL0U.o(.text+0xd7) undefined reference to pthread_join

gcc -pthread abthread.c

Brian
-- 
How can I, that girl standing there,   |
My attention fix                       |
On Roman or on Russian      W.B.       |
Or on Spanish politics...   Yeats 1939 |




More information about the ILUG mailing list