RELENG_5: zs(4) does not link without sbus
Marius Strobl
marius at alchemy.franken.de
Wed Mar 2 15:24:57 GMT 2005
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
More information about the freebsd-sparc64
mailing list