building 2.2.2, g++ Dec Unix 4.0G

Dave Rasmussen dave at alpha1.csd.uwm.edu
Tue Oct 22 12:20:37 EDT 2002


I was wondering if anyone else has built python on DEC Alpha boxes and had
a fix for me below. We have a 1.5* version here. I don't know python but my
site wanted to try mailman. I have this icky feeling that our g++ probably
also needs updating.

>From my make for 2.2.2

cc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include
-DHAVE_CONFIG_H
  -o Python/thread.o Python/thread.c
  In file included from
  /usr/local/gnu/lib/gcc-lib/alphaev56-dec-osf4.0d/2.8.1/inc
  lude/pthread.h:333,
   from Python/thread_pthread.h:9,
    from Python/thread.c:113:
    /usr/include/c_asm.h:190: parse error
    before `asm'
    In file included from
    Python/thread_pthread.h:9,
     from
     Python/thread.c:113:
     /usr/local/gnu/lib/gcc-lib/alphaev56-dec-osf4.0d/2.8.1/include/
	pthread.h:1709:parse error before
     `destructor'
     /usr/local/gnu/lib/gcc-lib/alphaev56-dec-osf4.0d/2.8.1/include/
     pthread.h:1709: parse error before `)'
     /usr/local/gnu/lib/gcc-lib/alphaev56-dec-osf4.0d/2.8.1/include/
     pthread.h:1717: parse error before
     `destructor' /usr/local/gnu/lib/gcc-lib/alphaev56-dec-osf4.0d/2.8.1/
     include/pthread.h:1717: `pthread_key_create_new_np' declared as
     function returning a function
     /usr/local/gnu/lib/gcc-lib/alphaev56-dec-osf4.0d/2.8.1/include/
     pthread.h:1718: parse error before `int'
     *** Exit 1
     Stop.
     ~







More information about the Python-list mailing list