From owner-freebsd-current Sat Sep 7 19:21:34 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1A1BC37B400 for ; Sat, 7 Sep 2002 19:21:30 -0700 (PDT) Received: from gw.catspoiler.org (217-ip-163.nccn.net [209.79.217.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9452743E42 for ; Sat, 7 Sep 2002 19:21:29 -0700 (PDT) (envelope-from dl-freebsd@catspoiler.org) Received: from mousie.catspoiler.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.12.5/8.12.5) with ESMTP id g882LEwr088654; Sat, 7 Sep 2002 19:21:19 -0700 (PDT) (envelope-from dl-freebsd@catspoiler.org) Message-Id: <200209080221.g882LEwr088654@gw.catspoiler.org> Date: Sat, 7 Sep 2002 19:21:14 -0700 (PDT) From: Don Lewis Subject: Re: HEADS UP: i386 a.out binary users! To: null@pozo.com Cc: tlambert2@mindspring.com, peter@wemm.org, current@FreeBSD.ORG In-Reply-To: <5.1.1.6.2.20020907190825.00a956c8@pozo.com> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 7 Sep, Manfred Antar wrote: > At 12:23 AM 9/7/2002 -0700, Terry Lambert wrote: >>Peter Wemm wrote: >>> You will need to either add: >>> options COMPAT_AOUT >>> to your kernel config when you next rebuild, or do a 'kldload aout' >>> when you want to run an old a.out binary. >> >>Is this going to be turned on be default in the rc scripts, >>until such time as sysinstall is taught about asking the user >>the same way it asks the user about compatability packages or >>Linux emulation? > > I cant get a kernel to compile without COMPAT_AOUT: > > (pro2)201}make > linking kernel.debug > imgact_gzip.o: In function `do_aout_hdr': > ../../../kern/imgact_gzip.c:280: undefined reference to `aout_sysvec' > *** Error code 1 > > Stop in /usr/src/sys/i386/compile/pro2. > > Works fine if I add options COMPAT_AOUT I didn't have that problem when I rebuilt the kernel and world four or five hours ago, but there's no rc.conf knob to load the aout module, so setiathome failed to start when I rebooted the system. This knob should probably also be connected to the code in /etc/rc that runs "${ldconfig} -aout ...". To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message