Hello, I am trying to compile syslog-ng 1.5.26 on a Red Hat Linux 7.3 system, in order to use template() destinations so that I can log to a mysql database. While running the make command, it fails as follows: syslog-ng-1.5.26]# make Making all in src make[1]: Entering directory `/usr/local/install/syslog-ng-1.5.26/src' make all-recursive make[2]: Entering directory `/usr/local/install/syslog-ng-1.5.26/src' Making all in . make[3]: Entering directory `/usr/local/install/syslog-ng-1.5.26/src' gcc -g -O2 -Wall -I/usr/local/install/libol-0.3.14/src -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 -lresolv -lfl /usr/local/install/libol-0.3.14/src/.libs/libol.a -lnsl sources.o: In function `do_read_line': /usr/local/install/syslog-ng-1.5.26/src/sources.c:91: undefined reference to `MIN' sources.o: In function `make_log_reader': /usr/local/install/syslog-ng-1.5.26/src/sources.c:169: undefined reference to `MAX' cfg-lex.o: In function `append_string': /usr/local/install/syslog-ng-1.5.26/src/cfg-lex.l:239: undefined reference to `MIN' affile.o: In function `do_init_dest_writer': /usr/local/install/syslog-ng-1.5.26/src/affile.c:287: undefined reference to `MAX' affile.o: In function `append_string': /usr/local/install/syslog-ng-1.5.26/src/affile.c:558: undefined reference to `MIN' affile.o: In function `expand_macro': /usr/local/install/syslog-ng-1.5.26/src/affile.c:654: undefined reference to `MIN' afinet.o: In function `do_init_afinet_dest': /usr/local/install/syslog-ng-1.5.26/src/afinet.c:461: undefined reference to `MAX' collect2: ld returned 1 exit status make[3]: *** [syslog-ng] Error 1 make[3]: Leaving directory `/usr/local/install/syslog-ng-1.5.26/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/install/syslog-ng-1.5.26/src' make[1]: *** [all-recursive-am] Error 2 make[1]: Leaving directory `/usr/local/install/syslog-ng-1.5.26/src' make: *** [all-recursive] Error 1 What is going wrong here? What should I do to correct this? *************************************************************** This message is intended for the addressee named and may contain confidential information. If you are not the intended recipient, please delete it and notify the sender. Views expressed in this message are those of the individual sender, and are not necessarily the views of the Department of Lands. This email message has been swept by MIMEsweeper for the presence of computer viruses. ***************************************************************