Hi i am trying to build the 276a1 source and getting a bunch of errors.

i did the following, which i think is what is needed

configure --enable-universalsdk --enable-framework

make

then get the errors that i have pasted in at the bottom.

I figure i am missing something, are there any library that i need to have
installed prior to building?

thanks

----

gcc-4.0 -c -fno-strict-aliasing -DSTACKLESS_FRHACK=0 -fno-common -dynamic
-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 -g -O2
-DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude
-I./Include -I./Stackless -isysroot /Developer/SDKs/MacOSX10.4u.sdk
-DPy_BUILD_CORE -o Modules/python.o ./Modules/python.c

In file included from ./Modules/python.c:3:

In file included from Include/Python.h:33:

/Developer/SDKs/MacOSX10.5.sdk/usr/include/stdio.h:75:25: error: cannot
combine with previous 'type-name' declaration specifier

typedef __darwin_off_t          off_t;

                                ^

./pyconfig.h:1238:20: note: expanded from macro 'off_t'

#define off_t long int

                   ^

In file included from ./Modules/python.c:3:

In file included from Include/Python.h:33:

/Developer/SDKs/MacOSX10.5.sdk/usr/include/stdio.h:75:25: error: 'long
type-name' is invalid

./pyconfig.h:1238:15: note: expanded from macro 'off_t'

#define off_t long int

              ^

In file included from ./Modules/python.c:3:

In file included from Include/Python.h:33:

/Developer/SDKs/MacOSX10.5.sdk/usr/include/stdio.h:80:26: error: cannot
combine with previous 'type-name' declaration specifier

typedef __darwin_size_t         size_t;

                                ^

./pyconfig.h:1247:25: note: expanded from macro 'size_t'

#define size_t unsigned int

                        ^

In file included from ./Modules/python.c:3:

In file included from Include/Python.h:33:

/Developer/SDKs/MacOSX10.5.sdk/usr/include/stdio.h:80:26: error: 'type-name'
cannot be signed or unsigned

./pyconfig.h:1247:16: note: expanded from macro 'size_t'

#define size_t unsigned int

               ^

In file included from ./Modules/python.c:3:

In file included from Include/Python.h:42:

In file included from
/Developer/SDKs/MacOSX10.5.sdk/usr/include/stdlib.h:65:

/Developer/SDKs/MacOSX10.5.sdk/usr/include/sys/wait.h:90:24: error: cannot
combine with previous 'type-name' declaration specifier

typedef __darwin_pid_t  pid_t;

                        ^

./pyconfig.h:1241:15: note: expanded from macro 'pid_t'

#define pid_t int

              ^

In file included from ./Modules/python.c:3:

In file included from Include/Python.h:42:

In file included from
/Developer/SDKs/MacOSX10.5.sdk/usr/include/stdlib.h:65:

In file included from
/Developer/SDKs/MacOSX10.5.sdk/usr/include/sys/wait.h:116:

/Developer/SDKs/MacOSX10.5.sdk/usr/include/sys/signal.h:178:26: error: cannot
combine with previous 'type-name' declaration specifier

typedef __darwin_uid_t                  uid_t;

                                        ^

./pyconfig.h:1253:15: note: expanded from macro 'uid_t'

#define uid_t int

              ^

In file included from ./Modules/python.c:3:

In file included from Include/Python.h:42:

/Developer/SDKs/MacOSX10.5.sdk/usr/include/stdlib.h:262:25: error: cannot
combine with previous 'type-name' declaration specifier

typedef __darwin_mode_t mode_t;

                        ^

./pyconfig.h:1235:16: note: expanded from macro 'mode_t'

#define mode_t int

               ^

In file included from ./Modules/python.c:3:

In file included from Include/Python.h:44:

/Developer/SDKs/MacOSX10.5.sdk/usr/include/unistd.h:83:25: error: cannot
combine with previous 'type-name' declaration specifier

typedef __darwin_gid_t          gid_t;

                                ^

./pyconfig.h:1224:15: note: expanded from macro 'gid_t'

#define gid_t int

              ^

In file included from ./Modules/python.c:3:

In file included from Include/Python.h:58:

In file included from Include/pyport.h:338:

/Developer/SDKs/MacOSX10.5.sdk/usr/include/time.h:77:26: error: 'long
type-name' is invalid

typedef __darwin_clock_t        clock_t;

                                ^

./pyconfig.h:1218:17: note: expanded from macro 'clock_t'

#define clock_t long

                ^

In file included from ./Modules/python.c:3:

In file included from Include/Python.h:88:

Include/unicodeobject.h:137:9: error: unknown type name 'PY_UNICODE_TYPE'

typedef PY_UNICODE_TYPE Py_UNICODE;

        ^

-- 
Life: Bah, I will worry about it when it is over.
_______________________________________________
Stackless mailing list
[email protected]
http://www.stackless.com/mailman/listinfo/stackless

Reply via email to