This is the mail archive of the
libc-hacker@cygnus.com
mailing list for the glibc project.
Fix for configure --disable-shared
- To: libc-hacker@cygnus.com
- Subject: Fix for configure --disable-shared
- From: Andreas Jaeger <aj@arthur.rhein-neckar.de>
- Date: 19 Mar 1999 17:28:15 +0100
I run configure --enable-static-nss --disable-shared --enable-add-ons
--disable-profile to just build static libraries on Linux/ix86.
I got the following problem (see also PR libc/965):
make -C debug others
make[2]: Entering directory `/usr/glibc/src/libc/debug'
make[2]: *** No rule to make target `/usr/glibc/src/buildreport/19990319/soversions.mk', needed by `/usr/glibc/src/buildreport/19990319/debug/catchsegv'. Stop.
make[2]: Leaving directory `/usr/glibc/src/libc/debug'
make[1]: *** [debug/others] Error 2
which is fixed by the appended patch to debug/Makefile. This is the
only patch neccessary for a normal `make'. I send patches for `make
check' separatly.
A problem where I don't know a solution - but don't think we need to
have one are the following warnings:
make -C elf others
make[2]: Entering directory `/usr/glibc/src/libc/elf'
Makefile:174: warning: overriding commands for target `/usr/glibc/glibc-2.1/lib/'
Makefile:170: warning: ignoring old commands for target `/usr/glibc/glibc-2.1/lib/'
make[2]: Nothing to be done for `others'.
make[2]: Leaving directory `/usr/glibc/src/libc/elf'
Andreas
1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* debug/Makefile (install-bin): Install and build catchsegv only
if build-shared == yes. Reported by jussi@jlaako.pp.fi [PR
libc/965].
--- debug/Makefile.~1~ Tue Oct 20 07:17:18 1998
+++ debug/Makefile Fri Mar 19 12:45:36 1999
@@ -1,4 +1,4 @@
-# Copyright (C) 1998 Free Software Foundation, Inc.
+# Copyright (C) 1998, 1999 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
# The GNU C Library is free software; you can redistribute it and/or
@@ -40,8 +40,10 @@
distribute += catchsegv.sh
ifeq ($(elf),yes)
+ifeq ($(build-shared),yes)
install-bin = catchsegv
endif
+endif
generated = catchsegv
include ../Rules
--
Andreas Jaeger aj@arthur.rhein-neckar.de jaeger@informatik.uni-kl.de
for pgp-key finger ajaeger@aixd1.rhrk.uni-kl.de