Date: Tue, 9 Jun 1998 11:31:20 -0400 (EDT) From: Mik Firestone <fireston@lexmark.com> To: freebsd-current@FreeBSD.ORG (Mail list FreeBSD-current) Subject: kernel broken? Message-ID: <199806091531.AA12348@interlock2.lexmark.com>
next in thread | raw e-mail | index | archive | help
I sup'd a new world this morning ( around 4:00 am, EDT ) and was able to build the world with -DNOLKM. When I went to build a new kernel, though, I received this error: cc -c -O -pipe -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wuninitialized -ansi -nostdinc -I- -I. -I../.. -I../../../include -DKERNEL -include opt_global.h ../../kern/kern_clock.c ../../kern/kern_clock.c: In function `microtime': ../../kern/kern_clock.c:517: too few arguments to function ../../kern/kern_clock.c: In function `nanotime': ../../kern/kern_clock.c:535: too few arguments to function ../../kern/kern_clock.c: In function `microuptime': ../../kern/kern_clock.c:577: too few arguments to function ../../kern/kern_clock.c: In function `nanouptime': ../../kern/kern_clock.c:593: too few arguments to function ../../kern/kern_clock.c: In function `init_timecounter': ../../kern/kern_clock.c:629: too few arguments to function ../../kern/kern_clock.c:643: too few arguments to function ../../kern/kern_clock.c:653: too few arguments to function ../../kern/kern_clock.c: In function `sync_other_counter': ../../kern/kern_clock.c:712: too few arguments to function ../../kern/kern_clock.c: At top level: ../../kern/kern_clock.c:795: warning: initialization from incompatible pointer type ../../kern/kern_clock.c:796: warning: initialization makes pointer from integer without a cast ../../kern/kern_clock.c:799: warning: initialization makes integer from pointer without a cast It seems a call to get_timecount is responsible for these problems. Each time it is used, get_timecount is called like: tc->get_timcount(). If I have read /usr/include/sys/time.h correctly ( and no promises there ), get_timecount is expecting a timecounter pointer in the param list. Before I go around randomly inserting pointers, what should the calls to get_timecount in kern_clock actually look like? Thanks, Mik -- Mik Firestone fireston@lexmark.com If ever I become an Evil Overlord: I will not grow a goatee. In the old days they made you look diabolic. Now they just make you look like a disaffected member of Generation X. 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?199806091531.AA12348>