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]

I think the ar command is supposed to -X32, not -X 32. I'm trying a build now with IBM VisualAge compiler.
______________________________________________________________________
OpenPKG                                             http://openpkg.org
User Communication List                      openpkg-users@openpkg.org

Reply via email to