Hi All, I downloaded openssl-fips-1.2.3.tar.gz<http://openssl.org/source/openssl-fips-1.2.3.tar.gz> and try to build it on AIX 5.2. I configured it like this: ./Configure fipscanisterbuild aix-gcc --openssldir= /emc/suna1/build/openssl-fips-1.2.3. But when make, it came to the following issue. -------------------------------------------------- In file included from /usr/local/lib/gcc/powerpc-ibm-aix4.3.2.0/3.4.3/include/sy s/signal.h:309, from /usr/local/lib/gcc/powerpc-ibm-aix4.3.2.0/3.4.3/include/sy s/wait.h:62, from /usr/local/lib/gcc/powerpc-ibm-aix4.3.2.0/3.4.3/include/st dlib.h:233, from cryptlib.h:62, from cryptlib.c:117: /usr/include/sys/context.h:169: error: parse error before "sigset64_t" /usr/include/sys/context.h:172: error: parse error before '}' token In file included from /usr/include/sys/lockf.h:45, from /usr/include/unistd.h:735, from ../e_os.h:392, from cryptlib.h:65, from cryptlib.c:117: /usr/include/sys/stat.h:254: error: parse error before "blksize64_t" /usr/include/sys/stat.h:263: error: parse error before '}' token make: The error code from the last command is 1. ---------------------------------------------------- Here is my investigation result of the build issue from internet: The problem is that you are trying to run GCC built for AIX 4.3.2 (note the powerpc-ibm-aix4.3.2.0 in the path) on AIX 5.3. GCC uses cached copies of header files that it "fixes". If there is no change, no header file is cached. This causes a sequence of included header files to thread between GCC's copy and the system header files. Different releases of AIX change the header files in ways that one cannot mix them. To bootstrap a newer version of GCC on a newer release of AIX, the solution is to delete the GCC header file cache FOR THE SOLE PURPOSE OF BUILDING GCC. Do not use GCC in that state for any other purpose than building and immediately installing the new version of GCC. Do not complain to me or anyone else if that warning is ignored. (Copy from http://comments.gmane.org/gmane.comp.gcc.help/16798)
My question is, is install new version of Gcc for AIX5.2 the only solution? Is there any other way to solve this as I do NOT have root access right to the AIX host. Thanks. Ailsa ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List openssl-dev@openssl.org Automated List Manager majord...@openssl.org