From: Jordan, L. <Lee...@FM...> - 2005-05-13 19:33:22
|
I've noticed that the gcc 3.3.2 binary for AIX 5.2 does not appear to be completely compatible with AIX 5.3. The pthread.h file changed in AIX 5.3 and because of that a copy of gcc built on 5.2 does not support posix threading when run on 5.3. Is there a plan to make a gcc binary available for AIX 5.3? =20 configure: WARNING: pthread.h: present but cannot be compiled configure: WARNING: pthread.h: check for missing prerequisite headers? configure: WARNING: pthread.h: see the Autoconf documentation configure: WARNING: pthread.h: section "Present But Cannot Be Compiled" configure: WARNING: pthread.h: proceeding with the preprocessor's result configure: WARNING: pthread.h: in the future, the compiler will take precedence configure: WARNING: ## ------------------------------------------ ## configure: WARNING: ## Report this to the AC_PACKAGE_NAME lists. ## configure: WARNING: ## ------------------------------------------ ## et...@eq... - /home/a370122/ettdev/501/apachinstall/httpd-2.0.54> Here is the error from make: et...@eq... - /home/a370122/ettdev/501/apachinstall>more make.out In file included from ../include/apr_portable.h:47, from apr_snprintf.c:23: /usr/include/pthread.h:652: error: parse error before '*' token /usr/include/pthread.h:655: error: parse error before '*' token /usr/include/pthread.h:658: error: parse error before '*' token /usr/include/pthread.h:661: error: parse error before '*' token /usr/include/pthread.h:664: error: parse error before '*' token /usr/include/pthread.h:672: error: parse error before '*' token /usr/include/pthread.h:675: error: parse error before '*' token /usr/include/pthread.h:678: error: parse error before '*' token /usr/include/pthread.h:681: error: parse error before '*' token /usr/include/pthread.h:689: error: parse error before '*' token /usr/include/pthread.h:693: error: parse error before '*' token /usr/include/pthread.h:696: error: parse error before '*' token make: 1254-004 The error code from the last command is 1. Stop. AIX 5.3:/usr/include/sys$ grep spinlock types.h pthread_spinlock_t; AIX 5.3:/usr/include/sys$ AIX 5.2:/usr/include/sys$ grep spinlock types.h AIX 5.2:/usr/include/sys$ |