Subject: Re: kernel compile, 20 Oct. sources
To: None <>
From: None <>
List: port-alpha
Date: 10/21/1997 22:19:26
> did I miss something?  Here's what I get when compiling the GENERIC kernel
> from tarballed sources I just downloaded:
> cc -g -O2 -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes
> -Wno-format -mno-fp-regs -I. -I../../../../arch -I../../../.. -nostdinc
> -Dalpha  -c ../../../../dev/rnd.c
> cc1: warnings being treated as errors
> ../../../../dev/rnd.c:728: warning: function declaration isn't a prototype
> *** Error code 1
> Stop.

I reported this yesterday with a fix, see PR kern/4306.
Essentially you need to provide a prototype for rnd_detach_source
in /sys/sys/rnd.h, like this:

void            rnd_detach_source __P((rndsource_element_t *));


- Havard