This is the mail archive of the
pthreads-win32@sourceware.cygnus.com
mailing list for the pthreas-win32 project.
pthread.dll and Borland C++ builder
- To: 'Pthreads-win32' <pthreads-win32 at sourceware dot cygnus dot com>
- Subject: pthread.dll and Borland C++ builder
- From: Erik Hensema <erik dot hensema at group2000 dot nl>
- Date: Thu, 23 Sep 1999 13:57:08 +0200
Hi,
Did anybody try to use the pthread.dll under Borland C++ builder? I keep
getting these linker errors (from the CLI):
Turbo Link Version 2.0.68.0 Copyright (c) 1993,1997 Borland International
Warning: Attempt to export non-public symbol 'pthread_attr_destroy'
Warning: Attempt to export non-public symbol 'pthread_attr_getdetachstate'
Warning: Attempt to export non-public symbol 'pthread_attr_getschedparam'
Warning: Attempt to export non-public symbol 'pthread_attr_getstackaddr'
Warning: Attempt to export non-public symbol 'pthread_attr_getstacksize'
[...]
Error: Unresolved external '_getpid' referenced from module posix_cancel.c
Error: Unresolved external '_pthread_mutex_init' referenced from module
posix_ca
ncel.c
Error: Unresolved external '_printf' referenced from module posix_cancel.c
Error: Unresolved external '_pthread_create' referenced from module
posix_cancel
.c
Error: Unresolved external '_pthread_join' referenced from module
posix_cancel.c
Error: Unresolved external '_pthread_exit' referenced from module
posix_cancel.c
I'm linking with:
tlink32 posix_cancel.obj,posix_cancel.exe,,,pthread\\pthread.def
I'm using bash as the shell, so I need to escape the backslash.