Received: from PACIFIC-CARRIER-ANNEX.MIT.EDU by po7.MIT.EDU (5.61/4.7) id AA09676; Sun, 17 Mar 96 20:37:43 EST
Received: from wrzx01.rz.uni-wuerzburg.de by MIT.EDU with SMTP
	id AA14342; Sun, 17 Mar 96 20:36:34 EST
Received: from wi5x01.informatik.uni-wuerzburg.de (wi5x19.informatik.uni-wuerzburg.de) by wrzx01.rz.uni-wuerzburg.de (4.1/uniwue-M-3.2)
	id AA17916; Mon, 18 Mar 96 02:37:18 +0100
Received: by wi5x01.informatik.uni-wuerzburg.de (1.38.193.4/uniwue-C-3.1)
	id AA22853; Mon, 18 Mar 1996 02:40:19 +0100
From: Markus Wild <wild@informatik.uni-wuerzburg.de>
Message-Id: <9603180140.AA22853@wi5x01.informatik.uni-wuerzburg.de>
Subject: __iob in findfp.c
To: pthreads-bugs@MIT.EDU
Date: Mon, 18 Mar 96 2:40:18 MEZ
Mailer: Elm [revision: 70.85]

I have a problem linking a C++ Program using pthreads.

When calling pg++ I got the following message :

../pg++ -notinstalled -g -O -Werror   -DSRCDIR=\"/usr/pthreads-1_60_beta5/tests\" -o  test_contr test_contr.o -static 
ld: Duplicate symbol "__iob", files /usr/pthreads-1_60_beta5/obj/libpthread.a(findfp.o) and /lib/libc.a(data.o)
ld: Found 1 duplicate symbol(s)
*** Error code 1

I corrected it by declaring __iob extern and making the assignement to __sF inside
a function. Is there another possibility ?
Can anyone help me ???

Thanks in advance
-Markus


-----------------------------------------------------------------------------
Markus Wild
Department of computer science
University of Wuerzburg
Im Zwinger 34
D-97070 Wuerzburg
Germany

Tel. +49-(0)931-31-2665
Fax. +49-(0)931-31-2662

Email  : wild@informatik.uni-wuerzburg.de
-----------------------------------------------------------------------------
