Alright, I've decided to go with the Rom codebase. I've downloaded Rom24b6, and extracted the zip succesfully. However, when I run make, I also run into the following problem. Note this is not the first time either, I've run into this same exact problem on other codebases. Here it is.
comm.c: In function `main':
comm.c:421: warning: implicit declaration of function `close'
comm.c: In function `read_from_descriptor':
comm.c:1073: warning: implicit declaration of function `read'
comm.c: In function `write_to_descriptor':
comm.c:1531: warning: implicit declaration of function `write'
comm.c: In function `nanny':
comm.c:1652: warning: implicit declaration of function `crypt'
comm.c:1652: warning: passing arg 1 of `strcmp' makes pointer from integer witho
ut a cast
comm.c:1764: warning: assignment makes pointer from integer without a cast
comm.c:1787: warning: passing arg 1 of `strcmp' makes pointer from integer witho
ut a cast
gcc -c -Wall -O -g const.c
gcc -c -Wall -O -g db.c
db.c:54: error: conflicting types for `random'
/usr/include/stdlib.h:183: error: previous declaration of `random'
db.c:56: error: conflicting types for `srandom'
/usr/include/stdlib.h:184: error: previous declaration of `srandom'
make: *** [db.o] Error 1
Steven@computer ~/rom24/src
$
That silly srandom thing. I just cannot figure it out. Any help would be greatly appreciated. Thanks.
comm.c: In function `main':
comm.c:421: warning: implicit declaration of function `close'
comm.c: In function `read_from_descriptor':
comm.c:1073: warning: implicit declaration of function `read'
comm.c: In function `write_to_descriptor':
comm.c:1531: warning: implicit declaration of function `write'
comm.c: In function `nanny':
comm.c:1652: warning: implicit declaration of function `crypt'
comm.c:1652: warning: passing arg 1 of `strcmp' makes pointer from integer witho
ut a cast
comm.c:1764: warning: assignment makes pointer from integer without a cast
comm.c:1787: warning: passing arg 1 of `strcmp' makes pointer from integer witho
ut a cast
gcc -c -Wall -O -g const.c
gcc -c -Wall -O -g db.c
db.c:54: error: conflicting types for `random'
/usr/include/stdlib.h:183: error: previous declaration of `random'
db.c:56: error: conflicting types for `srandom'
/usr/include/stdlib.h:184: error: previous declaration of `srandom'
make: *** [db.o] Error 1
Steven@computer ~/rom24/src
$
That silly srandom thing. I just cannot figure it out. Any help would be greatly appreciated. Thanks.