Hi All,
When i was building openssl 9.8h , i got this error ..
(cd ..; gmake DIRS=test TESTS=alltests all)
gmake[1]: Entering directory `/joshi/openssl-0.9.8h_final'
making all in test...
gmake[2]: Entering directory `/joshi/openssl-0.9.8h_final/test'
xlc_r -I.. -I../include -DOPENSSL_THREADS -qthreaded -DDSO_DLFCN
-DHAVE_DLFCN_H -DSSL_ALLOW_ADH -q32 -O -DB_ENDIAN -qmaxmem=16384 -c -o
ssltest.o ssltest.c
"ssltest.c", line 131.9: 1506-213 (S) Macro name _XOPEN_SOURCE cannot be
redefined.
"ssltest.c", line 131.9: 1506-358 (I) "_XOPEN_SOURCE" is defined on line 127
of /usr/include/standards.h.
gmake[2]: *** [ssltest.o] Error 1
gmake[2]: Leaving directory `/joshi/openssl-0.9.8h_final/test'
gmake[1]: *** [build_tests] Error 1
gmake[1]: Leaving directory `/joshi/openssl-0.9.8h_final'
make: *** [top] Error 2
I have modified the ssltest.c
to
#ifndef _XOPEN_SOURCE
#define _XOPEN_SOURCE
#endif
Now it is working fine ..
Will this change impact any negative effect on the functionality.
Please help
Thanks
Rajan
Andrew Masterson wrote:
>
> make fails on openssl-fips-1.2 at
>
>
>
> ----------------------------------------------
>
>
>
> cc -I.. -I../include -I../fips -DOPENSSL_THREADS -qthreaded
> -DDSO_DLFCN -DHAVE_DLFCN_H -q64 -O -DB_ENDIAN -qmaxmem=16384 -qro
> -qroconst -c ssltest.c
>
> "ssltest.c", line 131.9: 1506-236 (W) Macro name _XOPEN_SOURCE has been
> redefined.
>
> "ssltest.c", line 131.9: 1506-358 (I) "_XOPEN_SOURCE" is defined on line
> 114 of /usr/include/standards.h.
>
> ( :; LIBDEPS="${LIBDEPS:--L.. -lssl -L.. -lcrypto }";
> LDCMD="${LDCMD:-../fips/fipsld}"; LDFLAGS="${LDFLAGS:--DOPENSSL_THREADS
> -qthreaded -DDSO_DLFCN -DHAVE_DLFCN_H -q64 -O -DB_ENDIAN -qmaxmem=16384
> -qro -qroconst}"; LIBPATH=`for x in $LIBDEPS; do if echo $x | grep '^
> *-L' > /dev/null 2>&1; then echo $x | sed -e 's/^ *-L//'; fi; done |
> uniq`; LIBPATH=`echo $LIBPATH | sed -e 's/ /:/g'`;
> LD_LIBRARY_PATH=$LIBPATH:$LD_LIBRARY_PATH ${LDCMD} ${LDFLAGS} -o
> ${APPNAME:=ssltest} ssltest.o ${LIBDEPS} )
>
> unable to find /usr/local/ssl/lib/fips-1.0//fipscanister.o
>
> make: 1254-004 The error code from the last command is 1.
>
>
>
>
>
> Stop.
>
> make: 1254-004 The error code from the last command is 2.
>
>
>
>
>
> Stop.
>
> make: 1254-004 The error code from the last command is 1.
>
>
>
>
>
> Stop.
>
>
>
--
View this message in context:
http://www.nabble.com/Compiling-openssl-0.9.8j-on-AIX-5.3-64-bit-tp21579264p22779805.html
Sent from the OpenSSL - User mailing list archive at Nabble.com.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [email protected]
Automated List Manager [email protected]