Board index » cppbuilder » Cannot compile PThreads win 32

Cannot compile PThreads win 32


2004-07-30 11:48:51 PM
cppbuilder54
I cannot create the .lib and the .dll for the library Pthreads32
downloaded from sources.redhat.com/pthreads-win32/
from the makefile below:
/-------Start makefile-----/
# This makefile is compatible with BCB make. Use "make -fBMakefile" to
compile.
#
# The variables $DLLDEST and $LIBDEST hold the destination directories for
the
# dll and the lib, respectively. Probably all that needs to change is
$DEVROOT.
#DEVROOT=H:\libraries\pthreads-win32\pthreads
DEVROOT=.\
DLLDEST=$(DEVROOT)\DLL
LIBDEST=$(DEVROOT)\DLL
DLLS= pthreadBC.dll
OPTIM= /O2
# most of the below flags are to provide compatibility with the
MSC-orientated source:
# borland uses EDEADLOCK, timeb, and ftime instead of EDEADLK, _timeb, and
_ftime.
# borland doesn't define ENOSYS in errno.h, so we define an arbitrary value
for it here
#(we don't use ENOSYS in our client apps; if someone wants this, we could
add a seperate case
#to the config & need_errno header files for it).
CFLAGS= /I. /D_WIN32_WINNT=0x400 /DHAVE_CONFIG_H=1 /4 /tWM \
/DEDEADLK=EDEADLOCK /D_timeb=timeb /D_ftime=ftime \
/DENOSYS=140
#C cleanup code
BCFLAGS= /D__CLEANUP_C $(CFLAGS)
# Agregate modules for inlinability
DLL_OBJS= \
attr.obj \
barrier.obj \
cancel.obj \
cleanup.obj \
condvar.obj \
create.obj \
dll.obj \
errno.obj \
exit.obj \
fork.obj \
global.obj \
misc.obj \
mutex.obj \
nonportable.obj \
private.obj \
rwlock.obj \
sched.obj \
semaphore.obj \
signal.obj \
spin.obj \
sync.obj \
tsd.obj
INCL= config.h implement.h semaphore.h pthread.h need_errno.h
ATTR_SRCS= \
pthread_attr_init.c \
pthread_attr_destroy.c \
pthread_attr_getdetachstate.c \
pthread_attr_setdetachstate.c \
pthread_attr_getstackaddr.c \
pthread_attr_setstackaddr.c \
pthread_attr_getstacksize.c \
pthread_attr_setstacksize.c \
pthread_attr_getscope.c \
pthread_attr_setscope.c
BARRIER_SRCS = \
pthread_barrier_init.c \
pthread_barrier_destroy.c \
pthread_barrier_wait.c \
pthread_barrierattr_init.c \
pthread_barrierattr_destroy.c \
pthread_barrierattr_setpshared.c \
pthread_barrierattr_getpshared.c
CANCEL_SRCS= \
pthread_setcancelstate.c \
pthread_setcanceltype.c \
pthread_testcancel.c \
pthread_cancel.c
CONDVAR_SRCS= \
ptw32_cond_check_need_init.c \
pthread_condattr_destroy.c \
pthread_condattr_getpshared.c \
pthread_condattr_init.c \
pthread_condattr_setpshared.c \
pthread_cond_destroy.c \
pthread_cond_init.c \
pthread_cond_signal.c \
pthread_cond_wait.c
EXIT_SRCS= \
pthread_exit.c
MISC_SRCS= \
pthread_equal.c \
pthread_getconcurrency.c \
pthread_once.c \
pthread_self.c \
pthread_setconcurrency.c \
ptw32_calloc.c \
ptw32_new.c \
w32_CancelableWait.c
MUTEX_SRCS= \
ptw32_mutex_check_need_init.c \
pthread_mutex_init.c \
pthread_mutex_destroy.c \
pthread_mutexattr_init.c \
pthread_mutexattr_destroy.c \
pthread_mutexattr_getpshared.c \
pthread_mutexattr_setpshared.c \
pthread_mutexattr_settype.c \
pthread_mutexattr_gettype.c \
pthread_mutex_lock.c \
pthread_mutex_timedlock.c \
pthread_mutex_unlock.c \
pthread_mutex_trylock.c
NONPORTABLE_SRCS = \
pthread_mutexattr_setkind_np.c \
pthread_mutexattr_getkind_np.c \
pthread_getw32threadhandle_np.c \
pthread_delay_np.c \
pthread_num_processors_np.c \
pthread_win32_attach_detach_np.c \
pthread_timechange_handler_np.c
PRIVATE_SRCS= \
ptw32_is_attr.c \
ptw32_processInitialize.c \
ptw32_processTerminate.c \
ptw32_threadStart.c \
ptw32_threadDestroy.c \
ptw32_tkAssocCreate.c \
ptw32_tkAssocDestroy.c \
ptw32_callUserDestroyRoutines.c \
ptw32_timespec.c \
ptw32_throw.c \
ptw32_InterlockedCompareExchange.c \
ptw32_getprocessors.c
RWLOCK_SRCS= \
ptw32_rwlock_check_need_init.c \
ptw32_rwlock_cancelwrwait.c \
pthread_rwlock_init.c \
pthread_rwlock_destroy.c \
pthread_rwlockattr_init.c \
pthread_rwlockattr_destroy.c \
pthread_rwlockattr_getpshared.c \
pthread_rwlockattr_setpshared.c \
pthread_rwlock_rdlock.c \
pthread_rwlock_timedrdlock.c \
pthread_rwlock_wrlock.c \
pthread_rwlock_timedwrlock.c \
pthread_rwlock_unlock.c \
pthread_rwlock_tryrdlock.c \
pthread_rwlock_trywrlock.c
SCHED_SRCS= \
pthread_attr_setschedpolicy.c \
pthread_attr_getschedpolicy.c \
pthread_attr_setschedparam.c \
pthread_attr_getschedparam.c \
pthread_attr_setinheritsched.c \
pthread_attr_getinheritsched.c \
pthread_setschedparam.c \
pthread_getschedparam.c \
sched_get_priority_max.c \
sched_get_priority_min.c \
sched_setscheduler.c \
sched_getscheduler.c \
sched_yield.c
SEMAPHORE_SRCS = \
sem_init.c \
sem_destroy.c \
sem_trywait.c \
sem_timedwait.c \
sem_wait.c \
sem_post.c \
sem_post_multiple.c \
sem_getvalue.c \
sem_open.c \
sem_close.c \
sem_unlink.c \
ptw32_increase_semaphore.c \
ptw32_decrease_semaphore.c
SPIN_SRCS= \
ptw32_spinlock_check_need_init.c \
pthread_spin_init.c \
pthread_spin_destroy.c \
pthread_spin_lock.c \
pthread_spin_unlock.c \
pthread_spin_trylock.c
SYNC_SRCS= \
pthread_detach.c \
pthread_join.c
TSD_SRCS= \
pthread_key_create.c \
pthread_key_delete.c \
pthread_setspecific.c \
pthread_getspecific.c
all: clean $(DLLS)
realclean: clean
if exist *.dll del *.dll
if exist *.lib del *.lib
if exist *.stamp del *.stamp
clean:
if exist *.obj del *.obj
if exist *.ilk del *.ilk
if exist *.pdb del *.pdb
if exist *.exp del *.exp
if exist *.o del *.o
if exist *.i del *.i
install: $(DLLS)
copy pthread*.dll $(DLLDEST)
copy pthread*.lib $(LIBDEST)
$(DLLS): $(DLL_OBJS)
ilink32 /Tpd /Gi $(DLL_OBJS), \
$@, ,\
import32.lib cw32mt.lib c0d32x.obj
.c.obj:
bcc32 $(OPTIM) $(BCFLAGS) -c $<
attr.obj:attr.c $(ATTR_SRCS) $(INCL)
barrier.obj:barrier.c $(BARRIER_SRCS) $(INCL)
cancel.obj:cancel.c $(CANCEL_SRCS) $(INCL)
condvar.obj:condvar.c $(CONDVAR_SRCS) $(INCL)
exit.obj:exit.c $(EXIT_SRCS) $(INCL)
misc.obj:misc.c $(MISC_SRCS) $(INCL)
mutex.obj:mutex.c $(MUTEX_SRCS) $(INCL)
nonportable.obj:nonportable.c $(NONPORTABLE_SRCS) $(INCL)
private.obj:private.c $(PRIVATE_SRCS) $(INCL)
rwlock.obj:rwlock.c $(RWLOCK_SRCS) $(INCL)
sched.obj:sched.c $(SCHED_SRCS) $(INCL)
semaphore.obj:semaphore.c $(SEMAPHORE_SRCS) $(INCL)
spin.obj:spin.c $(SPIN_SRCS) $(INCL)
sync.obj:sync.c $(SYNC_SRCS) $(INCL)
tsd.obj:tsd.c $(TSD_SRCS) $(INCL)
/-------End makefile-----/
I receive the message:
<<
MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
if exist *.obj del *.obj
if exist *.ilk del *.ilk
if exist *.pdb del *.pdb
if exist *.exp del *.exp
if exist *.o del *.o
if exist *.i del *.i
bcc32 /O2 /D__CLEANUP_C /I. /D_WIN32_WINNT=0x400 /DHAVE_CONFIG_H=1
/4 /t
WM /DEDEADLK=EDEADLOCK /D_timeb=timeb /D_ftime=ftime /DENOSYS=140 -c
attr.c
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
attr.c:
Warning W8057 pthread_attr_getstackaddr.c 97: Parameter 'attr' is never used
in
function pthread_attr_getstackaddr
Warning W8057 pthread_attr_getstackaddr.c 97: Parameter 'stackaddr' is never
used
d in function pthread_attr_getstackaddr
Warning W8057 pthread_attr_setstackaddr.c 97: Parameter 'attr' is never used
in
function pthread_attr_setstackaddr
Warning W8057 pthread_attr_setstackaddr.c 97: Parameter 'stackaddr' is never
used
d in function pthread_attr_setstackaddr
attr.obj:attr.c pthread_attr_init.c pthread_attr_destroy.c
pthread_att
r_getdetachstate.c pthread_attr_setdetachstate.c
pthread_attr_getstackaddr.c
pthread_attr_setstackaddr.c pthread_attr_getstacksize.c
pthread_attr_setstacks
ize.c pthread_attr_getscope.c pthread_attr_setscope.c config.h implement.h
sem
aphore.h pthread.h need_errno.h
La sintassi del nome del file, della directory o del volume ?incorretta.
** error 1 ** deleting attr.obj
Quote
>
Please, can somebody help me?
Thanks in advance,
Gianluca
 
 

Re:Cannot compile PThreads win 32

On Fri, 30 Jul 2004 17:48:51 +0200, Massimo Fiorelli
< XXXX@XXXXX.COM >wrote:
Quote
I cannot create the .lib and the .dll for the library Pthreads32
downloaded from sources.redhat.com/pthreads-win32/
from the makefile below:

I receive the message:
<<
MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
if exist *.obj del *.obj
if exist *.ilk del *.ilk
if exist *.pdb del *.pdb
if exist *.exp del *.exp
if exist *.o del *.o
if exist *.i del *.i
bcc32 /O2 /D__CLEANUP_C /I. /D_WIN32_WINNT=0x400 /DHAVE_CONFIG_H=1
/4 /t
WM /DEDEADLK=EDEADLOCK /D_timeb=timeb /D_ftime=ftime /DENOSYS=140 -c
attr.c
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
attr.c:
Warning W8057 pthread_attr_getstackaddr.c 97: Parameter 'attr' is never used
in
function pthread_attr_getstackaddr
Warning W8057 pthread_attr_getstackaddr.c 97: Parameter 'stackaddr' is never
used
d in function pthread_attr_getstackaddr
Warning W8057 pthread_attr_setstackaddr.c 97: Parameter 'attr' is never used
in
function pthread_attr_setstackaddr
Warning W8057 pthread_attr_setstackaddr.c 97: Parameter 'stackaddr' is never
used
d in function pthread_attr_setstackaddr
attr.obj:attr.c pthread_attr_init.c pthread_attr_destroy.c
pthread_att
r_getdetachstate.c pthread_attr_setdetachstate.c
pthread_attr_getstackaddr.c
pthread_attr_setstackaddr.c pthread_attr_getstacksize.c
pthread_attr_setstacks
ize.c pthread_attr_getscope.c pthread_attr_setscope.c config.h implement.h
sem
aphore.h pthread.h need_errno.h
La sintassi del nome del file, della directory o del volume ?incorretta.
"The syntax of the name of the file, the directory or the volume is
incorrect"? I see where it is. Something has corrupted your makefile
(possibly when you downloaded it);
Quote
.c.obj:
bcc32 $(OPTIM) $(BCFLAGS) -c $<
attr.obj:attr.c $(ATTR_SRCS) $(INCL)
barrier.obj:barrier.c $(BARRIER_SRCS) $(INCL)
cancel.obj:cancel.c $(CANCEL_SRCS) $(INCL)
condvar.obj:condvar.c $(CONDVAR_SRCS) $(INCL)
exit.obj:exit.c $(EXIT_SRCS) $(INCL)
misc.obj:misc.c $(MISC_SRCS) $(INCL)
mutex.obj:mutex.c $(MUTEX_SRCS) $(INCL)
nonportable.obj:nonportable.c $(NONPORTABLE_SRCS) $(INCL)
private.obj:private.c $(PRIVATE_SRCS) $(INCL)
rwlock.obj:rwlock.c $(RWLOCK_SRCS) $(INCL)
sched.obj:sched.c $(SCHED_SRCS) $(INCL)
semaphore.obj:semaphore.c $(SEMAPHORE_SRCS) $(INCL)
spin.obj:spin.c $(SPIN_SRCS) $(INCL)
sync.obj:sync.c $(SYNC_SRCS) $(INCL)
tsd.obj:tsd.c $(TSD_SRCS) $(INCL)
All of the lines after the second should start at the beginning of the line:
.c.obj:
bcc32 $(OPTIM) $(BCFLAGS) -c $<
attr.obj:attr.c $(ATTR_SRCS) $(INCL)
barrier.obj:barrier.c $(BARRIER_SRCS) $(INCL)
cancel.obj:cancel.c $(CANCEL_SRCS) $(INCL)
condvar.obj:condvar.c $(CONDVAR_SRCS) $(INCL)
exit.obj:exit.c $(EXIT_SRCS) $(INCL)
misc.obj:misc.c $(MISC_SRCS) $(INCL)
mutex.obj:mutex.c $(MUTEX_SRCS) $(INCL)
nonportable.obj:nonportable.c $(NONPORTABLE_SRCS) $(INCL)
private.obj:private.c $(PRIVATE_SRCS) $(INCL)
rwlock.obj:rwlock.c $(RWLOCK_SRCS) $(INCL)
sched.obj:sched.c $(SCHED_SRCS) $(INCL)
semaphore.obj:semaphore.c $(SEMAPHORE_SRCS) $(INCL)
spin.obj:spin.c $(SPIN_SRCS) $(INCL)
sync.obj:sync.c $(SYNC_SRCS) $(INCL)
tsd.obj:tsd.c $(TSD_SRCS) $(INCL)
That's because they are giving the dependencies ("attr.obj uses source
file attr.c", etc.). Somehow they have been reformatted and indented,
and make doesn't like that (it's rather picky, lines like the bcc32 one
must start with a tab character and not 8 spaces for instance with most
versions of make)..
Try un-indenting those lines, it should work then (or at least not give
that error).
HTH,
Chris C
 

Re:Cannot compile PThreads win 32

Thank you,
it works!!!
The file was badly indented due to a copy/paste directly from an HTML page.
Gianluca
"Massimo Fiorelli" < XXXX@XXXXX.COM >ha scritto nel messaggio
Quote
I cannot create the .lib and the .dll for the library Pthreads32
downloaded from sources.redhat.com/pthreads-win32/
from the makefile below:
/-------Start makefile-----/
# This makefile is compatible with BCB make. Use "make -fBMakefile" to
compile.
#
# The variables $DLLDEST and $LIBDEST hold the destination directories for
the
# dll and the lib, respectively. Probably all that needs to change is
$DEVROOT.

#DEVROOT=H:\libraries\pthreads-win32\pthreads
DEVROOT=.\

DLLDEST=$(DEVROOT)\DLL
LIBDEST=$(DEVROOT)\DLL

DLLS= pthreadBC.dll

OPTIM= /O2

# most of the below flags are to provide compatibility with the
MSC-orientated source:
# borland uses EDEADLOCK, timeb, and ftime instead of EDEADLK, _timeb, and
_ftime.
# borland doesn't define ENOSYS in errno.h, so we define an arbitrary
value
for it here
#(we don't use ENOSYS in our client apps; if someone wants this, we could
add a seperate case
#to the config & need_errno header files for it).

CFLAGS= /I. /D_WIN32_WINNT=0x400 /DHAVE_CONFIG_H=1 /4 /tWM \
/DEDEADLK=EDEADLOCK /D_timeb=timeb /D_ftime=ftime \
/DENOSYS=140

#C cleanup code
BCFLAGS= /D__CLEANUP_C $(CFLAGS)

# Agregate modules for inlinability
DLL_OBJS= \
attr.obj \
barrier.obj \
cancel.obj \
cleanup.obj \
condvar.obj \
create.obj \
dll.obj \
errno.obj \
exit.obj \
fork.obj \
global.obj \
misc.obj \
mutex.obj \
nonportable.obj \
private.obj \
rwlock.obj \
sched.obj \
semaphore.obj \
signal.obj \
spin.obj \
sync.obj \
tsd.obj

INCL= config.h implement.h semaphore.h pthread.h need_errno.h

ATTR_SRCS= \
pthread_attr_init.c \
pthread_attr_destroy.c \
pthread_attr_getdetachstate.c \
pthread_attr_setdetachstate.c \
pthread_attr_getstackaddr.c \
pthread_attr_setstackaddr.c \
pthread_attr_getstacksize.c \
pthread_attr_setstacksize.c \
pthread_attr_getscope.c \
pthread_attr_setscope.c

BARRIER_SRCS = \
pthread_barrier_init.c \
pthread_barrier_destroy.c \
pthread_barrier_wait.c \
pthread_barrierattr_init.c \
pthread_barrierattr_destroy.c \
pthread_barrierattr_setpshared.c \
pthread_barrierattr_getpshared.c

CANCEL_SRCS= \
pthread_setcancelstate.c \
pthread_setcanceltype.c \
pthread_testcancel.c \
pthread_cancel.c

CONDVAR_SRCS= \
ptw32_cond_check_need_init.c \
pthread_condattr_destroy.c \
pthread_condattr_getpshared.c \
pthread_condattr_init.c \
pthread_condattr_setpshared.c \
pthread_cond_destroy.c \
pthread_cond_init.c \
pthread_cond_signal.c \
pthread_cond_wait.c

EXIT_SRCS= \
pthread_exit.c

MISC_SRCS= \
pthread_equal.c \
pthread_getconcurrency.c \
pthread_once.c \
pthread_self.c \
pthread_setconcurrency.c \
ptw32_calloc.c \
ptw32_new.c \
w32_CancelableWait.c

MUTEX_SRCS= \
ptw32_mutex_check_need_init.c \
pthread_mutex_init.c \
pthread_mutex_destroy.c \
pthread_mutexattr_init.c \
pthread_mutexattr_destroy.c \
pthread_mutexattr_getpshared.c \
pthread_mutexattr_setpshared.c \
pthread_mutexattr_settype.c \
pthread_mutexattr_gettype.c \
pthread_mutex_lock.c \
pthread_mutex_timedlock.c \
pthread_mutex_unlock.c \
pthread_mutex_trylock.c

NONPORTABLE_SRCS = \
pthread_mutexattr_setkind_np.c \
pthread_mutexattr_getkind_np.c \
pthread_getw32threadhandle_np.c \
pthread_delay_np.c \
pthread_num_processors_np.c \
pthread_win32_attach_detach_np.c \
pthread_timechange_handler_np.c

PRIVATE_SRCS= \
ptw32_is_attr.c \
ptw32_processInitialize.c \
ptw32_processTerminate.c \
ptw32_threadStart.c \
ptw32_threadDestroy.c \
ptw32_tkAssocCreate.c \
ptw32_tkAssocDestroy.c \
ptw32_callUserDestroyRoutines.c \
ptw32_timespec.c \
ptw32_throw.c \
ptw32_InterlockedCompareExchange.c \
ptw32_getprocessors.c

RWLOCK_SRCS= \
ptw32_rwlock_check_need_init.c \
ptw32_rwlock_cancelwrwait.c \
pthread_rwlock_init.c \
pthread_rwlock_destroy.c \
pthread_rwlockattr_init.c \
pthread_rwlockattr_destroy.c \
pthread_rwlockattr_getpshared.c \
pthread_rwlockattr_setpshared.c \
pthread_rwlock_rdlock.c \
pthread_rwlock_timedrdlock.c \
pthread_rwlock_wrlock.c \
pthread_rwlock_timedwrlock.c \
pthread_rwlock_unlock.c \
pthread_rwlock_tryrdlock.c \
pthread_rwlock_trywrlock.c

SCHED_SRCS= \
pthread_attr_setschedpolicy.c \
pthread_attr_getschedpolicy.c \
pthread_attr_setschedparam.c \
pthread_attr_getschedparam.c \
pthread_attr_setinheritsched.c \
pthread_attr_getinheritsched.c \
pthread_setschedparam.c \
pthread_getschedparam.c \
sched_get_priority_max.c \
sched_get_priority_min.c \
sched_setscheduler.c \
sched_getscheduler.c \
sched_yield.c

SEMAPHORE_SRCS = \
sem_init.c \
sem_destroy.c \
sem_trywait.c \
sem_timedwait.c \
sem_wait.c \
sem_post.c \
sem_post_multiple.c \
sem_getvalue.c \
sem_open.c \
sem_close.c \
sem_unlink.c \
ptw32_increase_semaphore.c \
ptw32_decrease_semaphore.c

SPIN_SRCS= \
ptw32_spinlock_check_need_init.c \
pthread_spin_init.c \
pthread_spin_destroy.c \
pthread_spin_lock.c \
pthread_spin_unlock.c \
pthread_spin_trylock.c

SYNC_SRCS= \
pthread_detach.c \
pthread_join.c

TSD_SRCS= \
pthread_key_create.c \
pthread_key_delete.c \
pthread_setspecific.c \
pthread_getspecific.c


all: clean $(DLLS)

realclean: clean
if exist *.dll del *.dll
if exist *.lib del *.lib
if exist *.stamp del *.stamp

clean:
if exist *.obj del *.obj
if exist *.ilk del *.ilk
if exist *.pdb del *.pdb
if exist *.exp del *.exp
if exist *.o del *.o
if exist *.i del *.i


install: $(DLLS)
copy pthread*.dll $(DLLDEST)
copy pthread*.lib $(LIBDEST)

$(DLLS): $(DLL_OBJS)
ilink32 /Tpd /Gi $(DLL_OBJS), \
$@, ,\
import32.lib cw32mt.lib c0d32x.obj

.c.obj:
bcc32 $(OPTIM) $(BCFLAGS) -c $<
attr.obj:attr.c $(ATTR_SRCS) $(INCL)
barrier.obj:barrier.c $(BARRIER_SRCS) $(INCL)
cancel.obj:cancel.c $(CANCEL_SRCS) $(INCL)
condvar.obj:condvar.c $(CONDVAR_SRCS) $(INCL)
exit.obj:exit.c $(EXIT_SRCS) $(INCL)
misc.obj:misc.c $(MISC_SRCS) $(INCL)
mutex.obj:mutex.c $(MUTEX_SRCS) $(INCL)
nonportable.obj:nonportable.c $(NONPORTABLE_SRCS) $(INCL)
private.obj:private.c $(PRIVATE_SRCS) $(INCL)
rwlock.obj:rwlock.c $(RWLOCK_SRCS) $(INCL)
sched.obj:sched.c $(SCHED_SRCS) $(INCL)
semaphore.obj:semaphore.c $(SEMAPHORE_SRCS) $(INCL)
spin.obj:spin.c $(SPIN_SRCS) $(INCL)
sync.obj:sync.c $(SYNC_SRCS) $(INCL)
tsd.obj:tsd.c $(TSD_SRCS) $(INCL)

/-------End makefile-----/

I receive the message:
<<
MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
if exist *.obj del *.obj
if exist *.ilk del *.ilk
if exist *.pdb del *.pdb
if exist *.exp del *.exp
if exist *.o del *.o
if exist *.i del *.i
bcc32 /O2 /D__CLEANUP_C /I. /D_WIN32_WINNT=0x400 /DHAVE_CONFIG_H=1
/4 /t
WM /DEDEADLK=EDEADLOCK /D_timeb=timeb /D_ftime=ftime /DENOSYS=140 -c
attr.c
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
attr.c:
Warning W8057 pthread_attr_getstackaddr.c 97: Parameter 'attr' is never
used
in
function pthread_attr_getstackaddr
Warning W8057 pthread_attr_getstackaddr.c 97: Parameter 'stackaddr' is
never
used
d in function pthread_attr_getstackaddr
Warning W8057 pthread_attr_setstackaddr.c 97: Parameter 'attr' is never
used
in
function pthread_attr_setstackaddr
Warning W8057 pthread_attr_setstackaddr.c 97: Parameter 'stackaddr' is
never
used
d in function pthread_attr_setstackaddr
attr.obj:attr.c pthread_attr_init.c pthread_attr_destroy.c
pthread_att
r_getdetachstate.c pthread_attr_setdetachstate.c
pthread_attr_getstackaddr.c
pthread_attr_setstackaddr.c pthread_attr_getstacksize.c
pthread_attr_setstacks
ize.c pthread_attr_getscope.c pthread_attr_setscope.c config.h
implement.h
sem
aphore.h pthread.h need_errno.h
La sintassi del nome del file, della directory o del volume ?incorretta.

** error 1 ** deleting attr.obj
>>

Please, can somebody help me?

Thanks in advance,
Gianluca




 

{smallsort}

Re:Cannot compile PThreads win 32

Please direct your browser at info.borland.com/newsgroups/ and read
the newsgroup guidelines. One of them asks us not to quote entire posts we
are following up to; instead, please trim the quotes to the parts relevant
for your reply. Thanks!