-----BEGIN PGP SIGNED MESSAGE-----
Using either NetBSD 1.6.2 make, or NetBSD pkgsrc gmake to build 0.9.8a
seems to result in a continuous make loop.
istari-[/sandel/src/openssl-0.9.8a] mcr 1074 %gmake --version
GNU Make 3.80
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
It appears that the problem is that the make enters the "apps" subdir, and
then the subdir Make decides that it needs to go back to the root to
build the libraries, and then the crypto directory decides *IT* needs to
do the same thing, and the result is a loop.
(This runs until it hits the per-user process limit.)
I configured using:
./Configure no-asm no-threads BSD-x86
Doing it with "no-shared" didn't help. I did do "asm" and "threads"
first, but decided I didn't want that (asm didn't work).
After some debugging, I realized that it was a partial previous build
had left crypto/lib present, but not libcrypto.a. A make clean solved
the problem.
So:
./Configure no-threads BSD-x86
make
(fails at s512base2-out.s...)
istari-[/sandel/src/openssl-0.9.8a] mcr 1157 %ls -l libcrypto.a crypto/lib
- -rw-r--r-- 1 mcr wheel 0 Nov 3 22:01 crypto/lib
- -rw-r--r-- 1 mcr wheel 153902 Nov 3 22:01 libcrypto.a
./Configure no-threads no-asm BSD-x86
make
# goes into the loop.
It appears that somewhere along the way we wind up with:
istari-[/sandel/src/openssl-0.9.8a] mcr 1166 %ls -l libcrypto.a crypto/lib
ls: libcrypto.a: No such file or directory
- -rw-r--r-- 1 mcr wheel 0 Nov 3 22:05 crypto/lib
I tried this, but it didn't help. Perhaps it needs to be applied to all
files down the tree.
This posting is partly to fill google with an answer.
- --- openssl-0.9.8a.orig/crypto/Makefile Thu Nov 3 21:50:18 2005
+++ openssl-0.9.8a/crypto/Makefile Thu Nov 3 22:00:01 2005
@@ -94,12 +94,14 @@
@$(PERL) $(TOP)/util/mklink.pl ../apps $(APPS)
@target=links; $(RECURSIVE_MAKE)
- -lib: $(LIBOBJ)
+lib: $(LIB)
+ @touch lib
+
+$(LIB): $(LIBOBJ)
$(AR) $(LIB) $(LIBOBJ)
$(RANLIB) $(LIB) || echo Never mind.
- - @touch lib
- -shared: buildinf.h lib subdirs
+shared: buildinf.h lib subdirs
if [ -n "$(SHARED_LIBS)" ]; then \
(cd ..; $(MAKE) $(SHARED_LIB)); \
fi
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Finger me for keys
iQCVAwUBQ2rQ2YqHRg3pndX9AQFhyQP/VisuM+dStfF3XWig1DAl005GCl9UzFcN
OlIDovLi+7DVbwszuhtrQ+7dG0mTNQ98RxhIPXfa9lgVt1M/oDU5C5HkZ8cROql+
enIPjcGUZ55mdc9FkcX9fjQeNPxObor4VIxw2jerG7yD7PBVTYg/eOx0MloHxJ1L
U20FlPryf14=
=0NNU
-----END PGP SIGNATURE-----
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [email protected]
Automated List Manager [EMAIL PROTECTED]