Very strange. gcc doesn't normally crash, although it is possible with badly-formed source. Try getting another db.c from the archive or something. It should compile OK.
act_info.o: In function `do_password':
/home/zeno/dist/src/act_info.c:3474: undefined reference to `crypt'
act_wiz.o: In function `do_form_password':
/home/zeno/dist/src/act_wiz.c:5441: undefined reference to `crypt'
build.o: In function `do_mset':
/home/zeno/dist/src/build.c:1692: undefined reference to `crypt'
comm.o: In function `nanny':
/home/zeno/dist/src/comm.c:1663: undefined reference to `crypt'
/home/zeno/dist/src/comm.c:1750: undefined reference to `crypt'
comm.o:/home/zeno/dist/src/comm.c:1771: more undefined references to `crypt' follow
collect2: ld returned 1 exit status
make[1]: *** [smaug] Error 1
make[1]: Leaving directory `/home/zeno/dist/src'
make: *** [all] Error 2