Date: Wed, 2 Mar 2005 16:24:49 +0100 From: Marius Strobl <marius@alchemy.franken.de> To: Joerg Wunsch <joerg_wunsch@interface-systems.de> Cc: freebsd-sparc64@freebsd.org Subject: Re: RELENG_5: zs(4) does not link without sbus Message-ID: <20050302162448.A54517@newtrinity.zeist.de> In-Reply-To: <20050302145151.GC2266@ida.interface-business.de>; from j@ida.interface-business.de on Wed, Mar 02, 2005 at 03:51:51PM %2B0100 References: <20050302145151.GC2266@ida.interface-business.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Mar 02, 2005 at 03:51:51PM +0100, Joerg Wunsch wrote: > When trying to configure a kernel that has "device zs" but no > "device sbus", linking fails: > > linking kernel > zs.o(.text+0x4a4): In function `zstty_attach': > : undefined reference to `zstty_console' > zs.o(.text+0x1064): In function `zstty_param': > : undefined reference to `zstty_set_speed' > *** Error code 1 > > Is zs supposed to depend on sbus? There's no man page for it, so I > can't tell. > Sort of, one needs either fhc(4) or sbus(4) (or powermac(4) on powerpc) so the front-end is built. Not sure if it is a good idea to change sys/conf/files to build zs.c only when the respective front-end is also built, if a machine doesn't have a bus zs(4) can hang off from it doesn't make much sense to add zs(4) to its kernel config file in the first place. The current behaviour at least serves as a hint that zs(4) can be removed from the kernel config file... Marius
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050302162448.A54517>