Chandler 1, Mac OS X 10.6, X86-64: make world: make[3]: *** [../libcrypto.a] Error 1, make[2]: *** [build_crypto] Error 1, make[1]: *** [openssl] Error 2, make: *** [openssl] Error 2

1 message Options
Embed this post
Permalink
Graham Perrin

Chandler 1, Mac OS X 10.6, X86-64: make world: make[3]: *** [../libcrypto.a] Error 1, make[2]: *** [build_crypto] Error 1, make[1]: *** [openssl] Error 2, make: *** [openssl] Error 2

Reply Threaded More More options
Print post
Permalink
For a moment, setting aside the topic re: make DEBUG=1 world

After commanding more simply
make world
 

make -C /Users/gjp22/Developer/chandler/external/openssl/openssl-0.9.8d/build_release
making all in crypto...
( echo "#ifndef MK1MF_BUILD"; \
	echo '  /* auto-generated by crypto/Makefile for crypto/cversion.c */'; \
	echo '  #define CFLAGS "cc -fPIC -fno-common -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -O3 -fomit-frame-pointer -fno-common"'; \
	echo '  #define PLATFORM "darwin-i386-cc"'; \
	echo "  #define DATE \"`LC_ALL=C LC_TIME=C date`\""; \
	echo '#endif' ) >buildinf.h
cc -I. -I.. -I../include -fPIC -fno-common -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -O3 -fomit-frame-pointer -fno-common   -c -o cryptlib.o cryptlib.c
cc -I. -I.. -I../include -fPIC -fno-common -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -O3 -fomit-frame-pointer -fno-common   -c -o mem.o mem.c
cc -I. -I.. -I../include -fPIC -fno-common -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -O3 -fomit-frame-pointer -fno-common   -c -o mem_clr.o mem_clr.c
cc -I. -I.. -I../include -fPIC -fno-common -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -O3 -fomit-frame-pointer -fno-common   -c -o mem_dbg.o mem_dbg.c
cc -I. -I.. -I../include -fPIC -fno-common -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -O3 -fomit-frame-pointer -fno-common   -c -o cversion.o cversion.c
cc -I. -I.. -I../include -fPIC -fno-common -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -O3 -fomit-frame-pointer -fno-common   -c -o ex_data.o ex_data.c
cc -I. -I.. -I../include -fPIC -fno-common -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -O3 -fomit-frame-pointer -fno-common   -c -o tmdiff.o tmdiff.c
cc -I. -I.. -I../include -fPIC -fno-common -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -O3 -fomit-frame-pointer -fno-common   -c -o cpt_err.o cpt_err.c
cc -I. -I.. -I../include -fPIC -fno-common -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -O3 -fomit-frame-pointer -fno-common   -c -o ebcdic.o ebcdic.c
cc -I. -I.. -I../include -fPIC -fno-common -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -O3 -fomit-frame-pointer -fno-common   -c -o uid.o uid.c
cc -I. -I.. -I../include -fPIC -fno-common -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -O3 -fomit-frame-pointer -fno-common   -c -o o_time.o o_time.c
cc -I. -I.. -I../include -fPIC -fno-common -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -O3 -fomit-frame-pointer -fno-common   -c -o o_str.o o_str.c
cc -I. -I.. -I../include -fPIC -fno-common -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -O3 -fomit-frame-pointer -fno-common   -c -o o_dir.o o_dir.c
ar  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: ../libcrypto.a is a fat file (use libtool(1) or lipo(1) and ar(1) on it)
ar: ../libcrypto.a: Inappropriate file type or format
make[3]: *** [../libcrypto.a] Error 1
make[2]: *** [build_crypto] Error 1
make[1]: *** [openssl] Error 2
make: *** [openssl] Error 2


lipo reports,

[macbookpro08-centrim:openssl/openssl-0.9.8d/build_release] gjp22% lipo -info libcrypto.a
Architectures in the fat file: libcrypto.a are: x86_64 i386 


Additional details attached.

Any ideas?

2009-08-29-0630.txt