Subject: NetBSD, Python with threads, Zope
To: None <current-users@netbsd.org>
From: Oleksandr Kozachuk <alex@ddeus.de>
List: current-users
Date: 02/26/2002 21:09:09
Hi all!
I have a problem with compile python with threads and hope any one can help
me.
My system is a NetBSD -current 1.5ZA.
I have changed /usr/pkgsrc/lang/python21/Makefile to:
#CONFIGURE_ARGS+= --without-threads
CONFIGURE_ARGS+= --with-thread=/usr/pkg/pthreads/lib
CC=/usr/pkg/pthreads/bin/pgcc
But this gives error (only last lines):
/usr/pkg/pthreads/include/pthread/specific.h:49: warning: function
declaration isn't a prototype
In file included from /usr/pkg/pthreads/include/pthread.h:66,
from /usr/pkg/pthreads/include/dirent.h:40,
from ./Modules/posixmodule.c:198:
/usr/pkg/pthreads/include/pthread/pthread_attr.h:71: warning: function
declaration isn't a prototype
./Modules/posixmodule.c: In function `posix_fdatasync':
./Modules/posixmodule.c:734: `fdatasync' undeclared (first use in this
function)
./Modules/posixmodule.c:734: (Each undeclared identifier is reported only
once
./Modules/posixmodule.c:734: for each function it appears in.)
./Modules/posixmodule.c: In function `posix_confstr':
./Modules/posixmodule.c:4577: warning: implicit declaration of function
`confstr'
What is wrong?
Thanks to all for answers!
Alex.
--
Free software for a free world.
May the source be with you.
eMail: Alex@DDeuS.de