Subject: pthreads and syslog link problem in OpenH323
To: None <netbsd-help@netbsd.org>
From: Roger Hardiman <roger@cs.strath.ac.uk>
List: netbsd-help
Date: 04/10/2000 14:34:02
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