[752] in Pthreads mailing list archive
pmpthread multiply defined fprintf
daemon@ATHENA.MIT.EDU (Mark Tinguely)
Mon Feb 9 12:01:44 1998
Date: Mon, 9 Feb 1998 10:35:27 -0600 (CST)
From: Mark Tinguely <tinguely@plains.NoDak.edu>
To: pthreads@MIT.EDU
In pnpthreads-1.8.3 (and I noticed it also exists in pnpthreads-1.8.5)
stdio/Makefile.inc includes "fprintf.c", but xprintf.c also implements
fprintf(3).
when compiling a module on FreeBSD that does not use output (printf, fprintf,
sprintf), we get the loader error that fprintf is multiply defined.
Removing the "fprintf.c" from stdio/Makefile.inc, and remaking the library,
this error goes away.
--mark tinguely.