ts-7000
[Top] [All Lists]

Re: [ts-7000] Thread Help

To:
Subject: Re: [ts-7000] Thread Help
From: Adriano Winter Bess <>
Date: Tue, 20 Dec 2005 09:56:22 -0200
2005/12/20, ashraf_abussaud <>:
> Hi All,,,
> I am trying to do some threads on the TS-7200 i comiple the follwing
> code as a test and i get this error please tell me what is wrong
> because i am newbie to linux,,,
>
> Best Regards,,,
>
>
> Error :
> this is the error i got
> ------------------------------------------------
> ts7200:/home/Threads# ts7200:/home/Threads# gcc -o th
> mythread.c
> /tmp/ccVAjN1M.o: In function `main':
> /tmp/ccVAjN1M.o(.text+0x2c): undefined reference to
> `pthread_create'
> collect2: ld returned 1 exit status
> -------------------------------------------------

Try:
$ gcc -o th mythread.c -lpthread

Remeber that a simple 'Googling' around first would have give you this
answer in last than 5 minutes.

Regards,
Adriano


------------------------ Yahoo! Groups Sponsor --------------------~--> 
AIDS in India: A "lurking bomb." Click and help stop AIDS now.
http://us.click.yahoo.com/9QUssC/lzNLAA/TtwFAA/CFFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU