Subject: Re: -current kernel hasn't been compiling
To: Gary Timuss <gtimuss@sirius.UVic.CA>
From: Dave Huang <email@example.com>
Date: 04/10/1997 11:06:52
On Thu, 10 Apr 1997, Gary Timuss wrote:
> For the last 5 months or so, I've been unable to compile a kernel. I'm
> seeing the following. Config attached. If someone has some ideas, please
> let me know.
> P.S. this is the third time I've sent this to the list, and nothing has
> ever got back to me (including my message, apologies if somehow you've
> already seen this).
> > /usr/src/sys/arch/i386/compile/PROZAC prozac# make
> > cc -m486 -Werror -Wall -Wmissing-prototypes -Wstrict-prototypes -I. -I../../../../arch -I../../../.. -nostdinc -DSWAPPAGER -DVNODEPAGER -DDEVPAGER -DEXEC_AOUT -DEXEC_SCRIPT -DI586_CPU -DDUMMY_NOPS -DXSERVER -DUCONSOLE -DINSECURE -DRTC_OFFSET="0" -DDIAGNO> STIC -DKTRACE -DSYSVMSG -DSYSVSEM -DSYSVSHM -DCOMPAT_NOMID -DCOMPAT_09 -DCOMPAT_10 -DCOMPAT_11 -DCOMPAT_12 -DCOMPAT_43 -DTCP_COMPAT_42 -DCOMPAT_LINUX -DCOMPAT_FREEBSD -DEXEC_ELF32 -DUSER_LDT -DLKM -DFFS -DLFS -DMFS -DNFS -DMSDOSFS -DFDESC -DKERNFS -DNULLF> S -DPROCFS -DNFSSERVER -DFIFO -DGATEWAY -DINET -DPCIVERBOSE -DMAXUSERS=32 -D_KERNEL -Di386 -c param.c
> > cc1: warnings being treated as errors
> > machine/intr.h:78: warning: `splraise' defined but not used
[ a bunch of other warnings deleted ]
Oh yeah, I've gotten that before, but forgot about it... I was trying to
compile a kernel with -g and without -O2. Apparently, compiling without
optimizations makes it break, but I don't know why.
Name: Dave Huang | Mammal, mammal / their names are called /
INet: firstname.lastname@example.org | they raise a paw / the bat, the cat /
FurryMUCK: Dahan | dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 21 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++