From owner-freebsd-multimedia Wed Jan 22 10:17:52 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id KAA17753 for multimedia-outgoing; Wed, 22 Jan 1997 10:17:52 -0800 (PST) Received: from housing1.stucen.gatech.edu (ken@housing1.stucen.gatech.edu [130.207.52.71]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id KAA17747 for ; Wed, 22 Jan 1997 10:17:49 -0800 (PST) Received: (from ken@localhost) by housing1.stucen.gatech.edu (8.8.4/8.8.4) id NAA02799; Wed, 22 Jan 1997 13:16:22 -0500 (EST) From: Kenneth Merry Message-Id: <199701221816.NAA02799@housing1.stucen.gatech.edu> Subject: Re: Troubles sompiling kernel with GUS support In-Reply-To: <199701221230.HAA17318@netcom11.netcom.com> from Stan Brown at "Jan 22, 97 07:30:48 am" To: stanb@netcom.com (Stan Brown) Date: Wed, 22 Jan 1997 13:16:21 -0500 (EST) Cc: freebsd-multimedia@freebsd.org X-Mailer: ELM [version 2.4ME+ PL25 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Stan Brown wrote... > > > I am trying to compile a kernel with GUS support. First I ahd the > problem of nbor finding one of the include file sin the midid. Someone > sugested hard coding the path to this in the .c file that references it > I did this, but now I get prooblems at link time. > > See below. I think i must be doing somethign wromg here, could some > kind soul give me some advice on this? > > > cc -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -nostdinc -I- -I. -I../.. -I../../../include -DMAX_CONS=12 -DHARD_FONTS -DCOMPAT_43 -DCD9660 -DMSDOSFS -DNFS -DFFS -DINET -DKERNEL -c vers.c > loading kernel > gus_card.o: Undefined symbol `_snd_set_irq_handler' referenced from text segment > gus_card.o: Undefined symbol `_snd_release_irq' referenced from text segment > gus_midi.o: Undefined symbol `_num_midis' referenced from text segment Looks like you may need "controller snd0" in your config file. Here's what the sound stuff in my config file looks like: controller snd0 device gus0 at isa? vector gusintr (if you don't have Plug N Play BIOS, you'll need to use a different line for the gus device, I think) Hope this helps, Ken -- Kenneth Merry ken@ulc199.residence.gatech.edu Disclaimer: I don't speak for GTRI, GT, or Elvis.