Message144587
Traceback?
$ python
Python 2.7.1 (r271:86832, Sep 28 2011, 17:31:02) [C] on hp-ux11
Type "help", "copyright", "credits" or "license" for more information.
>>> import thread
>>> def testing():
... print "Hello World"
...
>>> thread.start_new_thread(testing, ())
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
thread.error: can't start new thread
>>>
mach/cthreads.h is only relevant for Hurd, as far as I can see.
I am not sure what Hurd is. So I should not be looking at this one I guess.
> configure:8572: cc +DD64 -I/home/r32813/local/include -o conftest -g
> -L/home/r32813/local/lib -L/home/r32813/Build/2.7.1/Python-2.7.1
> conftest.c -l nsl -lrt -ldld -ldl -lpthread >&5
Result of this test?
configure:8556: checking for pthread_create in -lpthread
configure:8572: cc +DD64 -I/home/r32813/local/include -o conftest -g -L/home/r32813/local/lib -L/home/r32813/Build/2.7.1/Python-2.7.1 conftest.
c -lnsl -lrt -ldld -ldl -lpthread >&5
"conftest.c", line 97: warning #2223-D: function "exit" declared implicitly
void * start_routine (void *arg) { exit (0); }
^
"conftest.c", line 102: error #2020: identifier "NULL" is undefined
pthread_create (NULL, NULL, start_routine, NULL)
^
1 error detected in the compilation of "conftest.c".
configure:8572: $? = 2
configure: failed program was:
| /* confdefs.h */
| #define _GNU_SOURCE 1
| #define _NETBSD_SOURCE 1
| #define __BSD_VISIBLE 1
| #define _BSD_TYPES 1
----------
nosy: +skrah
_______________________________________
Python tracker <report@bugs.python.org>
<http://bugs.python.org/issue13057>
_______________________________________ |
|
Date |
User |
Action |
Args |
2011-09-29 09:27:49 | wah meng | set | recipients:
+ wah meng, skrah |
2011-09-29 09:27:48 | wah meng | link | issue13057 messages |
2011-09-29 09:27:47 | wah meng | create | |
|