From owner-freebsd-hackers Sun Jun 1 00:52:51 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id AAA12075 for hackers-outgoing; Sun, 1 Jun 1997 00:52:51 -0700 (PDT) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id AAA12070 for ; Sun, 1 Jun 1997 00:52:48 -0700 (PDT) Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id JAA04622 for freebsd-hackers@FreeBSD.ORG; Sun, 1 Jun 1997 09:52:47 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.8.5/8.8.5) id JAA04103; Sun, 1 Jun 1997 09:45:43 +0200 (MET DST) Message-ID: <19970601094543.XN15458@uriah.heep.sax.de> Date: Sun, 1 Jun 1997 09:45:43 +0200 From: j@uriah.heep.sax.de (J Wunsch) To: freebsd-hackers@FreeBSD.ORG Subject: Re: Make Release Question References: X-Mailer: Mutt 0.60_p2-3,5,8-9 Mime-Version: 1.0 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: ; from Simon Shapiro on May 31, 1997 22:24:13 -0700 Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk As Simon Shapiro wrote: > 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... I thought the discussed solution was to conditionalize the NAT inclusion with a compile-time -D option, and do not include it into the binary for the installation floppy. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)