I'm recieving the following error(s) when trying run make on syslog-ng-1.5.23.
Any suggestions or help would be appreciated.
 
# make
Making all in src
make  all-recursive
Making all in .
gcc  -g -O2 -Wall -I/usr/local/include/libol -D_GNU_SOURCE  -o syslog-ng  main.o sources.o center.o filters.o destinations.o  log.o cfgfile.o cfg-grammar.o cfg-lex.o affile.o afsocket.o afunix.o  afinet.o afinter.o afuser.o afstreams.o afprogram.o afremctrl.o  nscache.o utils.o syslog-names.o getopt.o getopt1.o -lpthread -ldoor   /usr/local/lib/libol.a -lsocket -lnsl -lxnet
Undefined                       first referenced
 symbol                             in file
res_init                            main.o
yywrap                              cfg-lex.o
ld: fatal: Symbol referencing errors. No output written to syslog-ng
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `syslog-ng'
Current working directory /usr/local/syslog-ng-1.5.23/src
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /usr/local/syslog-ng-1.5.23/src
*** Error code 1
make: Fatal error: Command failed for target `all-recursive-am'
Current working directory /usr/local/syslog-ng-1.5.23/src
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
#