Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 08 Feb 2004 20:24:28 +0100
From:      Radim Kolar <hsn@netmag.cz>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   i386/62595: npx.c do not compiles without ISA bus configured
Message-ID:  <E1ApuXc-0000xL-Bu@asura.bsd>
Resent-Message-ID: <200402091730.i19HUL13070170@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         62595
>Category:       i386
>Synopsis:       npx.c do not compiles without ISA bus configured
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-i386
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 09 09:30:21 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Radim Kolar
>Release:        FreeBSD 5.2-RELEASE-p2 i386
>Organization:
Sanatana Dharma
>Environment:
System: FreeBSD asura.bsd 5.2-RELEASE-p2 FreeBSD 5.2-RELEASE-p2 #2: Sun Feb 8 16:07:05 CET 2004 root@asura.bsd:/usr/src/sys/i386/compile/GENERIC i386

	
>Description:
If you don't have 'device isa' entry in kernel configuration, kernel
build will fail in npx driver. I want to build a smallest possible kernel,
so i have commeted isa bus out.
>How-To-Repeat:
asura# make NO_MODULES=yes
cc -c -O -pipe -mcpu=pentiumpro -Wall -Wredundant-decls -Wnested-externs -Wstric
t-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fforma
t-extensions -std=c99 -g -nostdinc -I-  -I. -I../../.. -I../../../contrib/dev/ac
pica -I../../../contrib/ipfilter -I../../../contrib/dev/ath -I../../../contrib/d
ev/ath/freebsd -I../../../contrib/ngatm -D_KERNEL -include opt_global.h -fno-com
mon -finline-limit=15000 -fno-strict-aliasing  -mno-align-long-strings -mpreferr
ed-stack-boundary=2 -ffreestanding -Werror  ../../../i386/isa/npx.c
../../../i386/isa/npx.c:1032: warning: `npx_driver' defined but not used
../../../i386/isa/npx.c:1038: warning: `npx_devclass' defined but not used
*** Error code 1

Stop in /usr/src/sys/i386/compile/DEBUG.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1ApuXc-0000xL-Bu>