Ralf S. Engelschall wrote:
On Tue, Oct 16, 2007, Douglas S. Summers wrote:
Getting this building the latest OpenPKG release (using GCC):
Configured for aix-gcc.
+ /openpkg/RPM/TMP/openpkg-20071015/make-3.81/make CC=gcc build_libs
build_apps
making all in crypto...
make[1]: Entering directory
`/opt/openpkg/RPM/TMP/openpkg-20071015/openssl-0.9.8f/crypto'
( echo "#ifndef MK1MF_BUILD"; \
echo ' /* auto-generated by crypto/Makefile for crypto/cversion.c
*/';\
echo ' #define CFLAGS "gcc -O -DB_ENDIAN"'; \
echo ' #define PLATFORM "aix-gcc"'; \
echo " #define DATE \"`LC_ALL=C LC_TIME=C date`\""; \
echo '#endif' ) >buildinf.h
gcc -I. -I.. -I../include -O -DB_ENDIAN -c -o cryptlib.o cryptlib.c
gcc -I. -I.. -I../include -O -DB_ENDIAN -c -o mem.o mem.c
gcc -I. -I.. -I../include -O -DB_ENDIAN -c -o mem_clr.o mem_clr.c
gcc -I. -I.. -I../include -O -DB_ENDIAN -c -o mem_dbg.o mem_dbg.c
gcc -I. -I.. -I../include -O -DB_ENDIAN -c -o cversion.o cversion.c
gcc -I. -I.. -I../include -O -DB_ENDIAN -c -o ex_data.o ex_data.c
gcc -I. -I.. -I../include -O -DB_ENDIAN -c -o tmdiff.o tmdiff.c
gcc -I. -I.. -I../include -O -DB_ENDIAN -c -o cpt_err.o cpt_err.c
gcc -I. -I.. -I../include -O -DB_ENDIAN -c -o ebcdic.o ebcdic.c
gcc -I. -I.. -I../include -O -DB_ENDIAN -c -o uid.o uid.c
gcc -I. -I.. -I../include -O -DB_ENDIAN -c -o o_time.o o_time.c
gcc -I. -I.. -I../include -O -DB_ENDIAN -c -o o_str.o o_str.c
gcc -I. -I.. -I../include -O -DB_ENDIAN -c -o o_dir.o o_dir.c
ar -X 32 r ../libcrypto.a cryptlib.o mem.o mem_clr.o mem_dbg.o cversion.o
ex_data.o tmdiff.o cpt_err.o ebcdic.o uid.o o_time.o o_str.o o_dir.o
ar: illegal option -- X
Usage: ar [emulation options] [-]{dmpqrstx}[abcfilNoPsSuvV] [member-name]
[count] archive-file file...
ar -M [<mri-script]
No, the problem is that this "ar" in GNU binutils' "ar" and this one
doesn't want this option at all. I've now removed those options from the
OpenSSL Configure script in the latest release of the OpenPKG "openssl"
package. Please retry.
Built successfully on AIX 5.3. Thanks Ralph.
Doug
______________________________________________________________________
OpenPKG http://openpkg.org
User Communication List openpkg-users@openpkg.org