X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Georg Newsgroups: comp.os.msdos.djgpp Subject: Re: Problem with pthread Date: Sun, 10 Jul 2011 04:22:22 -0700 (PDT) Organization: http://groups.google.com Lines: 8 Message-ID: References: <04479084-9c35-4cff-ad2e-f7ada3284871 AT hi9g2000vbb DOT googlegroups DOT com> NNTP-Posting-Host: 92.250.191.164 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1310297061 25315 127.0.0.1 (10 Jul 2011 11:24:21 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: Sun, 10 Jul 2011 11:24:21 +0000 (UTC) Complaints-To: groups-abuse AT google DOT com Injection-Info: c41g2000yqm.googlegroups.com; posting-host=92.250.191.164; posting-account=v5xbdQoAAAAOGc9Ccc-kLZyobvPlN3Qr User-Agent: G2/1.0 X-HTTP-Via: 1.1 TAS-4-3.man-a X-Google-Web-Client: true X-Google-Header-Order: UALSERCVNKH X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.1.4) Gecko/20091016 Firefox/3.5.4,gzip(gfe) Bytes: 1350 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hi, I found that I have to add -lwatt to the command line to make it compile: gcc -o thread.exe thread.c -lpthread -lwatt Georg