Subject: Re: pthreads and syslog link problem in OpenH323
To: Roger Hardiman <roger@cs.strath.ac.uk>
From: David Brownlee <abs@netbsd.org>
List: netbsd-help
Date: 04/10/2000 19:36:49
	I believe mit-pthreads is known to have some issues under NetBSD,
	and someone has a fixed version called 'unproven-threads'.

	Have you tried using it instead of mit-pthreads (its in pkgsrc
	under devel/unproven-threads)

		David/absolute

On Mon, 10 Apr 2000, Roger Hardiman wrote:

> Hi,
> I'm porting the code for OpenH323 (a videophone program which
> can talk to NetMeeting) from FreeBSD to NetBSD.
> The code uses PThreads and also syslog, openlog, closelog
> functions.
> 
> When I compile as a non-threaded application, things are OK.
> 
> As soon as I use the MIT-Pthreads package, and include
> the pthreads library, the linker fails to find
> syslog(), openlog() and closelog()
> 
> 
> I'm using a slow HP Apollo 433 machine (NetBSD/hp300)
> with NetBSD 1.4.2 and the 1.4.2 Mit-PThreads package.
> 
> 
> I've ported the program from FreeBSD to OpenBSD.
> That was easy.
> NetBSD is proving very hard to port to.
> 
> 
> Cheers
> Roger
> --
> Roger Hardiman
> roger@cs.strath.ac.uk
> roger@freebsd.org
>