From owner-freebsd-current Tue Apr 29 15:41:45 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id PAA15552 for current-outgoing; Tue, 29 Apr 1997 15:41:45 -0700 (PDT) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.50]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id PAA15547 for ; Tue, 29 Apr 1997 15:41:43 -0700 (PDT) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id PAA00779 for current@freebsd.org; Tue, 29 Apr 1997 15:41:26 -0700 From: Terry Lambert Message-Id: <199704292241.PAA00779@phaeton.artisoft.com> Subject: PLEASE COMMIT: Minor bug in /usr/src/lib/csu/i386/Makefile, with patch (resend) To: current@freebsd.org Date: Tue, 29 Apr 1997 15:41:26 -0700 (MST) X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Did you just miss this because of the long subject? Here it is again... ------------------------------------------------------------------------ The Makefile in /usr/src/lib/csu/i386 incorrectly references the system include sirectory instead of the local include directory to obtain the header dlfcn.h. Unless you blindly do a "make install" so that the install of the header occurs before the build, the build will fail for RTLD_NOW or similar dependency changes. For what it's worth, I think it's broken to put the dlfcn.h header here and install it seperately from the standard include installs, anyway. In any case, this patch makes the build look for the dlfcn.h locally before going to the (potentially stale) /usr/include version. Index: Makefile =================================================================== RCS file: /b/cvstree/ncvs/src/lib/csu/i386/Makefile,v retrieving revision 1.30 diff -c -r1.30 Makefile *** 1.30 1997/04/02 16:49:18 --- Makefile 1997/04/27 21:37:01 *************** *** 1,7 **** # from: @(#)Makefile 5.6 (Berkeley) 5/22/91 # $Id: Makefile,v 1.30 1997/04/02 16:49:18 jdp Exp $ ! CFLAGS+= -DLIBC_SCCS -fno-omit-frame-pointer OBJS= crt0.o c++rt0.o gcrt0.o scrt0.o sgcrt0.o CLEANFILES+= a.out MAN3+= dlopen.3 --- 1,7 ---- # from: @(#)Makefile 5.6 (Berkeley) 5/22/91 # $Id: Makefile,v 1.30 1997/04/02 16:49:18 jdp Exp $ ! CFLAGS+= -DLIBC_SCCS -fno-omit-frame-pointer -I${.CURDIR} OBJS= crt0.o c++rt0.o gcrt0.o scrt0.o sgcrt0.o CLEANFILES+= a.out MAN3+= dlopen.3 =================================================================== Regards, Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.