Subject: Re: libc error when compiling
To: None <edelcamp@easynet.fr>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: current-users
Date: 02/10/1998 17:02:51
On Tue, 10 Feb 1998 11:36:39 +0100 (CET) 
 Eric Delcamp <edelcamp@Pop-Bordeaux-13.easynet.fr> wrote:

Your include files and sources are out of sync...

 > Hi !
 > 
 > I got this error on m68k and i386 port :
 > 
 > cc -O -m486 -DUVM -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith  -DNLS -DYP -DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRANT -I/usr/src/lib/libc/include -D__DBINTERFACE_PRIVATE -DRESOLVSORT -DPOSIX_MISTAKE -DFLOATING_POINT -c /usr/src/l
  ib/libc/stdlib/random.c
 > /usr/src/lib/libc/stdlib/random.c: In function `initstate':
 > /usr/src/lib/libc/stdlib/random.c:272: argument `n' doesn't match prototype
 > /usr/include/stdlib.h:170: prototype declaration
 > *** Error code 1
 > 
 > Thanks.

Jason R. Thorpe                                       thorpej@nas.nasa.gov
NASA Ames Research Center                            Home: +1 408 866 1912
NAS: M/S 258-5                                       Work: +1 650 604 0935
Moffett Field, CA 94035                             Pager: +1 415 428 6939