This is the mail archive of the pthreads-win32@sourceware.cygnus.com mailing list for the pthreas-win32 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

pthread.dll and Borland C++ builder


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]