Subject: port-mac68k/13531: Compilation of Kernel without fd* floppy support fails.
To: None <gnats-bugs@gnats.netbsd.org>
From: None <mtheobalds@mac.com>
List: netbsd-bugs
Date: 07/22/2001 09:14:36
>Number:         13531
>Category:       port-mac68k
>Synopsis:       Compilation of Kernel without fd* floppy support fails.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    port-mac68k-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 22 09:12:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Matthew Theobalds
>Release:        mac68k/1.5.1
>Organization:
<none>
>Environment:
NetBSD sonic 1.5.1 NetBSD 1.5.1 (GENERIC) #0: Wed Jul 11 15:55:34 CST 2001     oster@piggy.oster.net:/u3/mac68k/src/sys/arch/mac68k/compile/GENERIC mac68k
>Description:
When compiling a custom kernel with the line:

#fd*	at iwm? drive ?

commented out, the kernel build fails with the following error:

sh ../../../../conf/newvers.sh
cc  -O2 -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes  -Wpointer-arith -Wno-uninitialized -Wno-main -msoft-float -I. -I../../../../arch -I../../../.. -nostdinc -DHZ="0x3c" -DM68040 -DFPU_EMULATE -DLKM -DDIAGNOSTIC -DGRF_COMPAT -DMAXUSERS=16 -D_KERNEL -Dmac68k  -c vers.c
ld -n -Ttext 0 -e start -S -o netbsd ${SYSTEM_OBJ} vers.o
ioconf.o: Undefined symbol `_iwm_ca' referenced from data segment
*** Error code 1

Stop.

Uncommenting this line and building the kernel offers no problems at all: But a kernel should be able to be built without this floppy support.
>How-To-Repeat:
Comment out the line reading:

#fd*	at iwm? drive ?

in the kernel config file.
>Fix:
Uncomment the line reading:

#fd*	at iwm? drive ?

in the kernel config file.
>Release-Note:
>Audit-Trail:
>Unformatted: