Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Oct 2000 15:23:38 +0900
From:      Makoto MATSUSHITA <matusita@jp.FreeBSD.org>
To:        current@freebsd.org
Subject:   buildkernel breakage on Today's kernel
Message-ID:  <20001021152338Y.matusita@jp.FreeBSD.org>

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

From <URL:http://current.jp.FreeBSD.org/build/i386/LINT/5.0-CURRENT-20001021-JPSNAP.bad>:

cc -c -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi  -nostdinc -I- -I. -I../.. -I../../../include -DGPROF -D_KERNEL -include opt_global.h -elf -malign-functions=4 -fno-builtin -mpreferred-stack-boundary=2 -pg ../../dev/en/midway.c
In file included from ../../dev/en/midway.c:160:
../../dev/en/midwayreg.h:13: conflicting types for `bus_space_tag_t'
machine/bus_at386.h:110: previous declaration of `bus_space_tag_t'
../../dev/en/midwayreg.h:13: warning: redundant redeclaration of `bus_space_tag_t' in same scope
machine/bus_at386.h:110: warning: previous declaration of `bus_space_tag_t'
../../dev/en/midwayreg.h:15: conflicting types for `bus_space_handle_t'
machine/bus_at386.h:111: previous declaration of `bus_space_handle_t'
../../dev/en/midwayreg.h:15: warning: redundant redeclaration of `bus_space_handle_t' in same scope
machine/bus_at386.h:111: warning: previous declaration of `bus_space_handle_t'
../../dev/en/midwayreg.h:16: redefinition of `bus_size_t'
machine/bus_at386.h:96: `bus_size_t' previously declared here
../../dev/en/midwayreg.h:17: conflicting types for `bus_addr_t'
machine/bus_at386.h:95: previous declaration of `bus_addr_t'
../../dev/en/midwayreg.h:17: warning: redundant redeclaration of `bus_addr_t' in same scope
machine/bus_at386.h:95: warning: previous declaration of `bus_addr_t'
*** Error code 1

src/sys/dev/en/midwayreg.h says 'bus_space_tag_t' is 'void *',
however, src/sys/i386/include/bus_at386.h says it is 'int'. Sorry, I
dunno which is correct.

-- -
Makoto `MAR' MATSUSHITA


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001021152338Y.matusita>