From owner-freebsd-hackers Sun Jun 1 14:30:11 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id OAA05860 for hackers-outgoing; Sun, 1 Jun 1997 14:30:11 -0700 (PDT) Received: from austin.polstra.com (austin.polstra.com [206.213.73.10]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id OAA05855 for ; Sun, 1 Jun 1997 14:30:09 -0700 (PDT) Received: from austin.polstra.com (jdp@localhost) by austin.polstra.com (8.8.5/8.8.5) with ESMTP id OAA21968 for ; Sun, 1 Jun 1997 14:30:08 -0700 (PDT) Message-Id: <199706012130.OAA21968@austin.polstra.com> To: hackers@freebsd.org Subject: Re: Make Release Question Newsgroups: polstra.freebsd.hackers In-Reply-To: <19970601094543.XN15458@uriah.heep.sax.de> References: <19970601094543.XN15458@uriah.heep.sax.de> Organization: Polstra & Co., Seattle, WA Date: Sun, 01 Jun 1997 14:30:08 -0700 From: John Polstra Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > Make release produces: > > > > cc -static -o boot_crunch boot_crunch.o sh.lo find.lo pwd.lo ft.lo ppp.lo > > sysinstall.lo newfs.lo gzip.lo cpio.lo bad144.lo fsck.lo ifconfig.lo > > route.lo slattach.lo mount_nfs.lo -ll -ledit -lutil -lkvm -lmd -lcrypt > > -lftpio -lalias -ldialog -lncurses -lmytinfo -L/usr/src/release/libdisk/obj > > -ldisk -lipx > > ppp.lo: Undefined symbol `_dlopen' referenced from text segment > > ppp.lo: Undefined symbol `_dlerror' referenced from text segment > > Hmm, i've created a -current SNAP yesterday. I think the problem is > with ppp trying to dlopen() the NAT alias library. Only dynamically > linked binaries can call dlopen(). > > I wonder why it works in -current... The /usr/lib/scrt0.o in -current has stubs for dlopen() and friends, which always return a failure code. The /usr/lib/scrt0.o in -2.2 does not have those stubs. So in -current, you don't get the undefined symbols. But if the code ever tries to actually load something with dlopen(), it will fail at runtime. John -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Self-knowledge is always bad news." -- John Barth