Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Nov 1998 00:53:29 -0500 (EST)
From:      garman@earthling.net
To:        randy@psg.com
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: kernel make failure in smbus
Message-ID:  <199811160555.VAA22008@hub.freebsd.org>
In-Reply-To: <m0zfH8p-0008G3C@rip.psg.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 15 Nov, Randy Bush wrote:
> cc -c -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit  -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes  -Wpointer-arith -Winline -Wuninitialized -Wformat  -fformat-extensions -ansi  -nostdinc -I- -I. -I../.. -I../../../include  -DKERNEL -include opt_global.h -aout  ../../dev/smbus/smbus.c
> ../../dev/smbus/smbus.c:84: `bus_create_intr_desc' undeclared here (not in a function)
> ../../dev/smbus/smbus.c:84: initializer element for `smbus_methods[7].desc' is not constant
> ../../dev/smbus/smbus.c:84: `bus_generic_create_intr' undeclared here (not in a function)
> ../../dev/smbus/smbus.c:84: initializer element for `smbus_methods[7].func' is not constant
> ../../dev/smbus/smbus.c:85: `bus_connect_intr_desc' undeclared here (not in a function)
> ../../dev/smbus/smbus.c:85: initializer element for `smbus_methods[8].desc' is not constant
> ../../dev/smbus/smbus.c:85: `bus_generic_connect_intr' undeclared here (not in a function)
> ../../dev/smbus/smbus.c:85: initializer element for `smbus_methods[8].func' is not constant
> *** Error code 1
> 
a quick-and-dirty way of making those messages disappear is to comment
out the offending lines (similar errors will occur in the iicbus.c
file as well) -- i did that and the tv seems to still work fine.

note that i do not take responsibility if your machine goes up in
flames as a result :)

enjoy
-- 
Jason Garman                                      http://garman.dyn.ml.org/
Student, University of Maryland                        garman@earthling.net
And now... did you know that:                                 Whois: JAG145
 "If you fart consistently for 6 years and 9 months, enough gas is
  produced to create the energy of an atomic bomb." -- 0xdeadbeef posting


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?199811160555.VAA22008>