Subject: kern/10039: pcic at isapnp is i386-specific
To: None <gnats-bugs@gnats.netbsd.org>
From: Daniel Carosone <dan@geek.com.au>
List: netbsd-bugs
Date: 05/03/2000 02:24:11
>Number:         10039
>Category:       kern
>Synopsis:       pcic at isapnp is i386-specific
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed May 03 02:25:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Daniel Carosone
>Release:        today
>Organization:
	
>Environment:
NetBSD-current on alpha.

>Description:
Trying to build a kernel on alpha with "pcic* at isapnp?" in the
config fails: 

cc  -O2 -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes  -Wpointer-arith -Wno-main -mno-fp-regs -I. -I../../../../arch -I../../../.. -nostdinc -I../../../../../crypto-intl/sys -I../../../../../gnu/sys -DDIAGNOSTIC -DIPSEC_DEBUG -DTLP_MATCH_21040 -DTLP_MATCH_21041 -DMAXUSERS=32 -D_KERNEL -Dalpha  -c ../../../../dev/isapnp/i82365_isapnp.c
cc1: warnings being treated as errors
../../../../dev/isapnp/i82365_isapnp.c: In function `pcic_isapnp_attach':
../../../../dev/isapnp/i82365_isapnp.c:157: warning: implicit declaration of function `isa_mem_alloc'
*** Error code 1

The function isa_mem_alloc exists only in the i386 port's
isapnp_machdep.c; it needs to be provided by other ports as well.

>How-To-Repeat:
config a kernel as above
>Fix:
one per port? 
>Release-Note:
>Audit-Trail:
>Unformatted: