Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jan 2003 17:51:20 -0600
From:      Peter Schultz <pmes@speakeasy.net>
To:        current@freebsd.org
Subject:   i386 SCHED_ULE buildkernel error
Message-ID:  <3E371778.3030803@speakeasy.net>

next in thread | raw e-mail | index | archive | help
cc -c -O -pipe -mcpu=pentiumpro -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline 
-Wcast-qual  -fformat-extensions -ansi  -nostdinc -I-  -I. 
-I/usr/src/sys -I/usr/src/sys/dev -I/usr/src/sys/contrib/dev/acpica 
-I/usr/src/sys/contrib/ipfilter -D_KERNEL -include opt_global.h 
-fno-common  -mno-align-long-strings -mpreferred-stack-boundary=2 
-ffreestanding -Werror  /usr/src/sys/kern/sched_ule.c
cc1: warnings being treated as errors
/usr/src/sys/kern/sched_ule.c: In function `sched_check_runqs':
/usr/src/sys/kern/sched_ule.c:624: warning: implicit declaration of 
function `runq_depth'
*** Error code 1

Stop in /usr/obj/usr/src/sys/MAXKERNEL.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.


With -Wno-error:
linking kernel
sched_ule.o: In function `sched_check_runqs':
sched_ule.o(.text+0x99f): undefined reference to `runq_depth'
sched_ule.o(.text+0x9af): undefined reference to `runq_depth'
sched_ule.o(.text+0x9c8): undefined reference to `runq_depth'
sched_ule.o(.text+0x9d8): undefined reference to `runq_depth'
*** Error code 1

Stop in /usr/obj/usr/src/sys/MAXKERNEL.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.


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?3E371778.3030803>