Help me in implementing email alert

This is the place for you, if you got rsyslog up and running but wonder how to make it do what you want.

Moderator: rgerhards

Re: Help me in implementing email alert

Postby rgerhards on Tue Jul 01, 2008 7:41 am

The debug log still says there is no ommail present. Did you successfully build it? How did you build it? Please post output of ./configure and make.

Also, please post your /var/log/messages - isn't the error message showing up there?
User avatar
rgerhards
Site Admin
 
Posts: 1780
Joined: Thu Feb 13, 2003 11:57 am

Professional Services Information

  • Custom written rsyslog.conf?
  • Maintenance Contract?
  • Installation support?

Re: Help me in implementing email alert

Postby rgerhards on Tue Jul 01, 2008 7:45 am

Some more answers to the question you raised via private mail:

You should see "Mail support enabled: Yes" when you do a configure with --enable-mail. Likewise, "Mail support enabled: no" should be seen if not. If neither of these lines is present, you probably have a too-old version which does not support sending mail.

You can send to any mail address, as long as the server you connect to permits relaying.
User avatar
rgerhards
Site Admin
 
Posts: 1780
Joined: Thu Feb 13, 2003 11:57 am

Ommail is missing in rsyslog-3.16.1

Postby prakash.akumalla on Tue Jul 01, 2008 10:11 am

Hai,

I have configured many times but did not find ommail.so . I think this is missed in this package. I request to check it once.
prakash.akumalla
Frequent Poster
 
Posts: 101
Joined: Thu Jun 26, 2008 2:37 pm

Re: Help me in implementing email alert

Postby rgerhards on Tue Jul 01, 2008 11:17 am

ommail.so is an output file. Please do as directed and send me the files I requested. Without that, I can not help you.
User avatar
rgerhards
Site Admin
 
Posts: 1780
Joined: Thu Feb 13, 2003 11:57 am

Re: Help me in implementing email alert

Postby prakash.akumalla on Tue Jul 01, 2008 11:25 am

Hai,

I have checked many times and did not find any type of mail which contains ommail. I did not get that even in rsyslog-3.16.2. Any way this is the output I am getting var/log/messages

shared object file: No such file or directory
2008-07-01T16:09:03.441213+05:18 server rsyslogd:could not load module '/usr/local/lib/rsyslog/ommail.so', dlopen: /usr/local/lib/rsyslog/ommail.so: cannot open

There is no directory ommail anywhere.
prakash.akumalla
Frequent Poster
 
Posts: 101
Joined: Thu Jun 26, 2008 2:37 pm

Re: Help me in implementing email alert

Postby rgerhards on Tue Jul 01, 2008 11:26 am

I meant this...

rgerhards wrote:The debug log still says there is no ommail present. Did you successfully build it? How did you build it? Please post output of ./configure and make.

Also, please post your /var/log/messages - isn't the error message showing up there?
User avatar
rgerhards
Site Admin
 
Posts: 1780
Joined: Thu Feb 13, 2003 11:57 am

Re: Help me in implementing email alert

Postby prakash.akumalla on Tue Jul 01, 2008 11:28 am

Hai,

This is what the out put when i give the command ./configure --help. There is no mail option to enable that while configuring.

[root@server rsyslog-3.16.1]# ./configure --help
`configure' configures rsyslog 3.16.1 to adapt to many kinds of systems.

Usage: ./configure [OPTION]... [VAR=VALUE]...

To assign environment variables (e.g., CC, CFLAGS...), specify them as
VAR=VALUE. See below for descriptions of some of the useful variables.

Defaults for the options are specified in brackets.

Configuration:
-h, --help display this help and exit
--help=short display options specific to this package
--help=recursive display the short help of all the included packages
-V, --version display version information and exit
-q, --quiet, --silent do not print `checking...' messages
--cache-file=FILE cache test results in FILE [disabled]
-C, --config-cache alias for `--cache-file=config.cache'
-n, --no-create do not create output files
--srcdir=DIR find the sources in DIR [configure dir or `..']

Installation directories:
--prefix=PREFIX install architecture-independent files in PREFIX
[/usr/local]
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
[PREFIX]

By default, `make install' will install all the files in
`/usr/local/bin', `/usr/local/lib' etc. You can specify
an installation prefix other than `/usr/local' using `--prefix',
for instance `--prefix=$HOME'.

For better control, use the options below.

Fine tuning of the installation directories:
--bindir=DIR user executables [EPREFIX/bin]
--sbindir=DIR system admin executables [EPREFIX/sbin]
--libexecdir=DIR program executables [EPREFIX/libexec]
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
--libdir=DIR object code libraries [EPREFIX/lib]
--includedir=DIR C header files [PREFIX/include]
--oldincludedir=DIR C header files for non-gcc [/usr/include]
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
--infodir=DIR info documentation [DATAROOTDIR/info]
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
--mandir=DIR man documentation [DATAROOTDIR/man]
--docdir=DIR documentation root [DATAROOTDIR/doc/rsyslog]
--htmldir=DIR html documentation [DOCDIR]
--dvidir=DIR dvi documentation [DOCDIR]
--pdfdir=DIR pdf documentation [DOCDIR]
--psdir=DIR ps documentation [DOCDIR]

Program names:
--program-prefix=PREFIX prepend PREFIX to installed program names
--program-suffix=SUFFIX append SUFFIX to installed program names
--program-transform-name=PROGRAM run sed PROGRAM on installed program names

System types:
--build=BUILD configure for building on BUILD [guessed]
--host=HOST cross-compile to build programs to run on HOST [BUILD]

Optional Features:
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--disable-dependency-tracking speeds up one-time build
--enable-dependency-tracking do not reject slow dependency extractors
--enable-static[=PKGS] build static libraries [default=no]
--enable-shared[=PKGS] build shared libraries [default=yes]
--enable-fast-install[=PKGS]
optimize for fast installation [default=yes]
--disable-libtool-lock avoid locking (might break parallel builds)
--enable-largefile Enable large file support [default=yes]
--enable-regexp Enable regular expressions support [default=yes]
--enable-zlib Enable zlib compression support [default=yes]
--enable-gssapi-krb5 Enable GSSAPI Kerberos 5 support [default=no]
--enable-pthreads Enable multithreading via pthreads [default=yes]
--enable-klog Integrated klog functionality [default=yes]
--disable-unix Disable support for unix
--enable-inet Enable networking support [default=yes]
--disable-fsstnd Disable support for FSSTND
--enable-debug Enable debug mode [default=no]
--enable-rtinst Enable runtime instrumentation mode [default=no]
--enable-valgrind Enable valgrind support settings [default=no]
--enable-mysql Enable MySql database support [default=no]
--enable-pgsql Enable PostgreSQL database support [default=no]
--enable-libdbi Enable libdbi database support [default=no]
--enable-snmp Enable SNMP support [default=no]
--enable-rsyslogd Build rsyslogd [default=yes]
--enable-relp Enable RELP support [default=no]
--enable-rfc3195 Enable RFC3195 support [default=no]
--enable-imfile file input module enabled [default=no]
--enable-imtemplate Compiles imtemplate template module [default=no]

Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
--with-pic try to use only PIC/non-PIC objects [default=use
both]
--with-tags[=TAGS] include additional configurations [automatic]

Some influential environment variables:
CC C compiler command
CFLAGS C compiler flags
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
nonstandard directory <lib dir>
LIBS libraries to pass to the linker, e.g. -l<library>
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
you have headers in a nonstandard directory <include dir>
CPP C preprocessor
CXX C++ compiler command
CXXFLAGS C++ compiler flags
CXXCPP C++ preprocessor
F77 Fortran 77 compiler command
FFLAGS Fortran 77 compiler flags
PKG_CONFIG path to pkg-config utility
RELP_CFLAGS C compiler flags for RELP, overriding pkg-config
RELP_LIBS linker flags for RELP, overriding pkg-config

Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.

Report bugs to <rsyslog@lists.adiscon.com>.
prakash.akumalla
Frequent Poster
 
Posts: 101
Joined: Thu Jun 26, 2008 2:37 pm

Re: Help me in implementing email alert

Postby rgerhards on Tue Jul 01, 2008 11:30 am

I need the output of how you call configure, not its help text ;) Also, I need the result from running make (run "make clean" before running make so that I get a full log).
User avatar
rgerhards
Site Admin
 
Posts: 1780
Joined: Thu Feb 13, 2003 11:57 am

Re: Help me in implementing email alert

Postby prakash.akumalla on Tue Jul 01, 2008 11:37 am

Hi,

This is when i executed ./configure --enable-mysql

shared object file: No such file or directory
2008-06-30T16:47:39.313146+05:18 server rsyslogd:could not load module '/usr/local/lib/rsyslog/ommail.so', dlopen: /usr/local/lib/rsyslog/ommail.so: cannot open shared object file: No such file or directory
2008-06-30T16:52:54.438412+05:18 server rsyslogd:could not load module '/usr/local/lib/rsyslog/ommail.so', dlopen: /usr/local/lib/rsyslog/ommail.so: cannot open shared object file: No such file or directory
2008-06-30T16:59:04.945380+05:18 server rsyslogd:could not load module '/usr/local/lib/rsyslog/ommail.so', dlopen: /usr/local/lib/rsyslog/ommail.so: cannot open shared object file: No such file or directory
2008-06-30T17:15:58.610666+05:18 server rsyslogd:could not load module '/usr/local/lib/rsyslog/ommail.so', dlopen: /usr/local/lib/rsyslog/ommail.so: cannot open shared object file: No such file or directory
2008-06-30T17:45:09.820220+05:18 server rsyslogd:could not load module '/usr/local/lib/rsyslog/ommail.so', dlopen: /usr/local/lib/rsyslog/ommail.so: cannot open shared object file: No such file or directory
2008-06-30T18:29:07.607754+05:18 server rsyslogd:could not load module '/usr/local/lib/rsyslog/ommail.so', dlopen: /usr/local/lib/rsyslog/ommail.so: cannot open shared object file: No such file or directory
2008-06-30T18:34:44.478354+05:18 server rsyslogd:could not load module '/usr/local/lib/rsyslog/ommail.so', dlopen: /usr/local/lib/rsyslog/ommail.so: cannot open shared object file: No such file or directory
2008-06-30T18:48:58.639018+05:18 server rsyslogd:could not load module '/usr/local/lib/rsyslog/ommail.so', dlopen: /usr/local/lib/rsyslog/ommail.so: cannot open shared object file: No such file or directory
2008-06-30T18:49:46.156568+05:18 server rsyslogd:could not load module '/usr/local/lib/rsyslog/ommail.so', dlopen: /usr/local/lib/rsyslog/ommail.so: cannot open shared object file: No such file or directory
2008-06-30T18:50:30.386864+05:18 server rsyslogd:could not load module '/usr/local/lib/rsyslog/ommail.so', dlopen: /usr/local/lib/rsyslog/ommail.so: cannot open shared object file: No such file or directory
2008-06-30T18:51:02.950086+05:18 server rsyslogd:could not load module '/usr/local/lib/rsyslog/ommail.so', dlopen: /usr/local/lib/rsyslog/ommail.so: cannot open shared object file: No such file or directory
2008-06-30T18:51:37.222509+05:18 server rsyslogd:could not load module '/usr/local/lib/rsyslog/ommail.so', dlopen: /usr/local/lib/rsyslog/ommail.so: cannot open shared object file: No such file or directory
2008-06-30T18:56:33.108977+05:18 server rsyslogd:could not load module '/usr/local/lib/rsyslog/ommail.so', dlopen: /usr/local/lib/rsyslog/ommail.so: cannot open shared object file: No such file or directory
2008-06-30T19:27:14.096091+05:18 server rsyslogd:could not load module '/usr/local/lib/rsyslog/ommail.so', dlopen: /usr/local/lib/rsyslog/ommail.so: cannot open shared object file: No such file or directory
2008-07-01T13:40:25.453215+05:18 server rsyslogd:could not load module '/usr/local/lib/rsyslog/ommail.so', dlopen: /usr/local/lib/rsyslog/ommail.so: cannot open shared object file: No such file or directory
2008-07-01T13:41:35.941877+05:18 server rsyslogd:could not load module '/usr/local/lib/rsyslog/ommail.so', dlopen: /usr/local/lib/rsyslog/ommail.so: cannot open shared object file: No such file or directory
2008-07-01T13:45:18.883493+05:18 server rsyslogd:could not load module '/usr/local/lib/rsyslog/ommail.so', dlopen: /usr/local/lib/rsyslog/ommail.so: cannot open shared object file: No such file or directory
2008-07-01T13:48:35.243845+05:18 server rsyslogd:could not load module '/usr/local/lib/rsyslog/ommail.so', dlopen: /usr/local/lib/rsyslog/ommail.so: cannot open shared object file: No such file or directory
2008-07-01T13:48:47.652546+05:18 server rsyslogd:could not load module '/usr/local/lib/rsyslog/ommail.so', dlopen: /usr/local/lib/rsyslog/ommail.so: cannot open shared object file: No such file or directory
2008-07-01T13:51:50.330781+05:18 server rsyslogd:could not load module '/usr/local/lib/rsyslog/ommail.so', dlopen: /usr/local/lib/rsyslog/ommail.so: cannot open shared object file: No such file or directory
2008-07-01T14:39:01.648479+05:18 server rsyslogd:could not load module '/usr/local/lib/rsyslog/ommail.so', dlopen: /usr/local/lib/rsyslog/ommail.so: cannot open shared object file: No such file or directory
2008-07-01T15:16:00.251290+05:18 server rsyslogd:could not load module '/usr/local/lib/rsyslog/ommail.so', dlopen: /usr/local/lib/rsyslog/ommail.so: cannot open shared object file: No such file or directory
2008-07-01T15:55:05.585660+05:18 server rsyslogd:could not load module '/usr/local/lib/rsyslog/ommail.so', dlopen: /usr/local/lib/rsyslog/ommail.so: cannot open shared object file: No such file or directory
2008-07-01T16:08:57.670876+05:18 server rsyslogd:could not load module '/usr/local/lib/rsyslog/ommail.so', dlopen: /usr/local/lib/rsyslog/ommail.so: cannot open shared object file: No such file or directory
2008-07-01T16:09:03.441213+05:18 server rsyslogd:could not load module '/usr/local/lib/rsyslog/ommail.so', dlopen: /usr/local/lib/rsyslog/ommail.so: cannot open shared object file: No such file or directory
2008-07-01T16:23:49.336522+05:18 server rsyslogd:could not load module '/usr/local/lib/rsyslog/ommail.so', dlopen: /usr/local/lib/rsyslog/ommail.so: cannot open shared object file: No such file or directory
[root@server log]# cd /~
-bash: cd: /~: No such file or directory
[root@server log]# cd
[root@server ~]# cd rsyslog-3.16.1
[root@server rsyslog-3.16.1]# ./configure --help
`configure' configures rsyslog 3.16.1 to adapt to many kinds of systems.

Usage: ./configure [OPTION]... [VAR=VALUE]...

To assign environment variables (e.g., CC, CFLAGS...), specify them as
VAR=VALUE. See below for descriptions of some of the useful variables.

Defaults for the options are specified in brackets.

Configuration:
-h, --help display this help and exit
--help=short display options specific to this package
--help=recursive display the short help of all the included packages
-V, --version display version information and exit
-q, --quiet, --silent do not print `checking...' messages
--cache-file=FILE cache test results in FILE [disabled]
-C, --config-cache alias for `--cache-file=config.cache'
-n, --no-create do not create output files
--srcdir=DIR find the sources in DIR [configure dir or `..']

Installation directories:
--prefix=PREFIX install architecture-independent files in PREFIX
[/usr/local]
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
[PREFIX]

By default, `make install' will install all the files in
`/usr/local/bin', `/usr/local/lib' etc. You can specify
an installation prefix other than `/usr/local' using `--prefix',
for instance `--prefix=$HOME'.

For better control, use the options below.

Fine tuning of the installation directories:
--bindir=DIR user executables [EPREFIX/bin]
--sbindir=DIR system admin executables [EPREFIX/sbin]
--libexecdir=DIR program executables [EPREFIX/libexec]
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
--libdir=DIR object code libraries [EPREFIX/lib]
--includedir=DIR C header files [PREFIX/include]
--oldincludedir=DIR C header files for non-gcc [/usr/include]
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
--infodir=DIR info documentation [DATAROOTDIR/info]
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
--mandir=DIR man documentation [DATAROOTDIR/man]
--docdir=DIR documentation root [DATAROOTDIR/doc/rsyslog]
--htmldir=DIR html documentation [DOCDIR]
--dvidir=DIR dvi documentation [DOCDIR]
--pdfdir=DIR pdf documentation [DOCDIR]
--psdir=DIR ps documentation [DOCDIR]

Program names:
--program-prefix=PREFIX prepend PREFIX to installed program names
--program-suffix=SUFFIX append SUFFIX to installed program names
--program-transform-name=PROGRAM run sed PROGRAM on installed program names

System types:
--build=BUILD configure for building on BUILD [guessed]
--host=HOST cross-compile to build programs to run on HOST [BUILD]

Optional Features:
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--disable-dependency-tracking speeds up one-time build
--enable-dependency-tracking do not reject slow dependency extractors
--enable-static[=PKGS] build static libraries [default=no]
--enable-shared[=PKGS] build shared libraries [default=yes]
--enable-fast-install[=PKGS]
optimize for fast installation [default=yes]
--disable-libtool-lock avoid locking (might break parallel builds)
--enable-largefile Enable large file support [default=yes]
--enable-regexp Enable regular expressions support [default=yes]
--enable-zlib Enable zlib compression support [default=yes]
--enable-gssapi-krb5 Enable GSSAPI Kerberos 5 support [default=no]
--enable-pthreads Enable multithreading via pthreads [default=yes]
--enable-klog Integrated klog functionality [default=yes]
--disable-unix Disable support for unix
--enable-inet Enable networking support [default=yes]
--disable-fsstnd Disable support for FSSTND
--enable-debug Enable debug mode [default=no]
--enable-rtinst Enable runtime instrumentation mode [default=no]
--enable-valgrind Enable valgrind support settings [default=no]
--enable-mysql Enable MySql database support [default=no]
--enable-pgsql Enable PostgreSQL database support [default=no]
--enable-libdbi Enable libdbi database support [default=no]
--enable-snmp Enable SNMP support [default=no]
--enable-rsyslogd Build rsyslogd [default=yes]
--enable-relp Enable RELP support [default=no]
--enable-rfc3195 Enable RFC3195 support [default=no]
--enable-imfile file input module enabled [default=no]
--enable-imtemplate Compiles imtemplate template module [default=no]

Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
--with-pic try to use only PIC/non-PIC objects [default=use
both]
--with-tags[=TAGS] include additional configurations [automatic]

Some influential environment variables:
CC C compiler command
CFLAGS C compiler flags
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
nonstandard directory <lib dir>
LIBS libraries to pass to the linker, e.g. -l<library>
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
you have headers in a nonstandard directory <include dir>
CPP C preprocessor
CXX C++ compiler command
CXXFLAGS C++ compiler flags
CXXCPP C++ preprocessor
F77 Fortran 77 compiler command
FFLAGS Fortran 77 compiler flags
PKG_CONFIG path to pkg-config utility
RELP_CFLAGS C compiler flags for RELP, overriding pkg-config
RELP_LIBS linker flags for RELP, overriding pkg-config

Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.

Report bugs to <rsyslog@lists.adiscon.com>.
[root@server rsyslog-3.16.1]# cd ..
[root@server ~]# ls
anaconda-ks.cfg install.log install.log.syslog rsyslog-3.16.1 rsyslog-3.16.1.tar.gz
[root@server ~]# cd rsyslog-3.16.1
[root@server rsyslog-3.16.1]# ./configure --enable-mysql
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 98304
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
appending configuration tag "F77" to libtool
checking host system type... (cached) i686-pc-linux-gnu
checking for library containing clock_gettime... -lrt
checking for library containing dlopen... -ldl
checking for sys/types.h... (cached) yes
checking for netinet/in.h... yes
checking for arpa/nameser.h... yes
checking for netdb.h... yes
checking for resolv.h... yes
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for netdb.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking paths.h usability... yes
checking paths.h presence... yes
checking for paths.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for sys/stat.h... (cached) yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking utmp.h usability... yes
checking utmp.h presence... yes
checking for utmp.h... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking for mode_t... yes
checking for uid_t in sys/types.h... yes
checking for uint8_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for working volatile... yes
checking for struct sockaddr.sa_len... no
checking for unistd.h... (cached) yes
checking for working chown... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking whether gcc needs -traditional... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking return type of signal handlers... void
checking whether lstat dereferences a symlink specified with a trailing slash... yes
checking whether stat accepts an empty string... no
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... yes
checking for vprintf... yes
checking for _doprnt... no
checking for flock... yes
checking for basename... yes
checking for alarm... yes
checking for clock_gettime... no
checking for gethostbyname... yes
checking for gethostname... yes
checking for gettimeofday... yes
checking for localtime_r... yes
checking for memset... yes
checking for mkdir... yes
checking for regcomp... yes
checking for select... yes
checking for setid... no
checking for socket... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strndup... yes
checking for strnlen... yes
checking for strrchr... yes
checking for strstr... yes
checking for strtol... yes
checking for strtoul... yes
checking for uname... yes
checking for ttyname_r... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for deflate in -lz... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_create in -lpthread... yes
checking for SYSLOG_UNIXAF support... yes
checking for FSSTND support... yes
checking mysql/mysql.h usability... yes
checking mysql/mysql.h presence... yes
checking for mysql/mysql.h... yes
checking for mysql_config... yes
checking for mysql_init in -lmysqlclient... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating plugins/imudp/Makefile
config.status: creating plugins/imtcp/Makefile
config.status: creating plugins/imgssapi/Makefile
config.status: creating plugins/imuxsock/Makefile
config.status: creating plugins/immark/Makefile
config.status: creating plugins/imklog/Makefile
config.status: creating plugins/imtemplate/Makefile
config.status: creating plugins/imfile/Makefile
config.status: creating plugins/imrelp/Makefile
config.status: creating plugins/omtesting/Makefile
config.status: creating plugins/omgssapi/Makefile
config.status: creating plugins/ommysql/Makefile
config.status: creating plugins/ompgsql/Makefile
config.status: creating plugins/omrelp/Makefile
config.status: creating plugins/omlibdbi/Makefile
config.status: creating plugins/omsnmp/Makefile
config.status: creating config.h
config.status: executing depfiles commands
****************************************************
rsyslog will be compiled with the following settings:

Multithreading support enabled: yes
Klog functionality enabled: yes
Regular expressions support enabled: yes
Zlib compression support enabled: yes
MySql support enabled: yes
libdbi support enabled: no
PostgreSQL support enabled: no
SNMP support enabled: no
RELP support enabled: no
file input module enabled: no
input template module will be compiled: no
Large file support enabled: yes
Networking support enabled: yes
Enable GSSAPI Kerberos 5 support: no
Debug mode enabled: no
Runtime Instrumentation enabled: no
valgrind support settings enabled: no
rsyslogd will be built: yes
###################################################################################################
###################################################################################################

this is when I executed make after executing make clean once

[root@server rsyslog-3.16.1]# make
make all-recursive
make[1]: Entering directory `/root/rsyslog-3.16.1'
Making all in .
make[2]: Entering directory `/root/rsyslog-3.16.1'
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -pthread -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT lmnet_la-net.lo -MD -MP -MF .deps/lmnet_la-net.Tpo -c -o lmnet_la-net.lo `test -f 'net.c' || echo './'`net.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -pthread -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT lmnet_la-net.lo -MD -MP -MF .deps/lmnet_la-net.Tpo -c net.c -fPIC -DPIC -o .libs/lmnet_la-net.o
mv -f .deps/lmnet_la-net.Tpo .deps/lmnet_la-net.Plo
/bin/sh ./libtool --tag=CC --mode=link gcc -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -module -avoid-version -o lmnet.la -rpath /usr/local/lib/rsyslog lmnet_la-net.lo
gcc -shared .libs/lmnet_la-net.o -Wl,-soname -Wl,lmnet.so -o .libs/lmnet.so
creating lmnet.la
(cd .libs && rm -f lmnet.la && ln -s ../lmnet.la lmnet.la)
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -pthread -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT lmtcpsrv_la-tcps_sess.lo -MD -MP -MF .deps/lmtcpsrv_la-tcps_sess.Tpo -c -o lmtcpsrv_la-tcps_sess.lo `test -f 'tcps_sess.c' || echo './'`tcps_sess.c
gcc -DHAVE_CONFIG_H -I. -pthread -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT lmtcpsrv_la-tcps_sess.lo -MD -MP -MF .deps/lmtcpsrv_la-tcps_sess.Tpo -c tcps_sess.c -fPIC -DPIC -o .libs/lmtcpsrv_la-tcps_sess.o
tcps_sess.c: In function 'tcps_sessDebugPrint':
tcps_sess.c:107: warning: unused parameter 'pThis'
mv -f .deps/lmtcpsrv_la-tcps_sess.Tpo .deps/lmtcpsrv_la-tcps_sess.Plo
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -pthread -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT lmtcpsrv_la-tcpsrv.lo -MD -MP -MF .deps/lmtcpsrv_la-tcpsrv.Tpo -c -o lmtcpsrv_la-tcpsrv.lo `test -f 'tcpsrv.c' || echo './'`tcpsrv.c
gcc -DHAVE_CONFIG_H -I. -pthread -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT lmtcpsrv_la-tcpsrv.lo -MD -MP -MF .deps/lmtcpsrv_la-tcpsrv.Tpo -c tcpsrv.c -fPIC -DPIC -o .libs/lmtcpsrv_la-tcpsrv.o
tcpsrv.c: In function 'tcpsrvDebugPrint':
tcpsrv.c:680: warning: unused parameter 'pThis'
mv -f .deps/lmtcpsrv_la-tcpsrv.Tpo .deps/lmtcpsrv_la-tcpsrv.Plo
/bin/sh ./libtool --tag=CC --mode=link gcc -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -module -avoid-version -o lmtcpsrv.la -rpath /usr/local/lib/rsyslog lmtcpsrv_la-tcps_sess.lo lmtcpsrv_la-tcpsrv.lo
gcc -shared .libs/lmtcpsrv_la-tcps_sess.o .libs/lmtcpsrv_la-tcpsrv.o -Wl,-soname -Wl,lmtcpsrv.so -o .libs/lmtcpsrv.so
creating lmtcpsrv.la
(cd .libs && rm -f lmtcpsrv.la && ln -s ../lmtcpsrv.la lmtcpsrv.la)
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -pthread -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT lmtcpclt_la-tcpclt.lo -MD -MP -MF .deps/lmtcpclt_la-tcpclt.Tpo -c -o lmtcpclt_la-tcpclt.lo `test -f 'tcpclt.c' || echo './'`tcpclt.c
gcc -DHAVE_CONFIG_H -I. -pthread -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT lmtcpclt_la-tcpclt.lo -MD -MP -MF .deps/lmtcpclt_la-tcpclt.Tpo -c tcpclt.c -fPIC -DPIC -o .libs/lmtcpclt_la-tcpclt.o
mv -f .deps/lmtcpclt_la-tcpclt.Tpo .deps/lmtcpclt_la-tcpclt.Plo
/bin/sh ./libtool --tag=CC --mode=link gcc -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -module -avoid-version -o lmtcpclt.la -rpath /usr/local/lib/rsyslog lmtcpclt_la-tcpclt.lo
gcc -shared .libs/lmtcpclt_la-tcpclt.o -Wl,-soname -Wl,lmtcpclt.so -o .libs/lmtcpclt.so
creating lmtcpclt.la
(cd .libs && rm -f lmtcpclt.la && ln -s ../lmtcpclt.la lmtcpclt.la)
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -pthread -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT lmregexp_la-regexp.lo -MD -MP -MF .deps/lmregexp_la-regexp.Tpo -c -o lmregexp_la-regexp.lo `test -f 'regexp.c' || echo './'`regexp.c
gcc -DHAVE_CONFIG_H -I. -pthread -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT lmregexp_la-regexp.lo -MD -MP -MF .deps/lmregexp_la-regexp.Tpo -c regexp.c -fPIC -DPIC -o .libs/lmregexp_la-regexp.o
mv -f .deps/lmregexp_la-regexp.Tpo .deps/lmregexp_la-regexp.Plo
/bin/sh ./libtool --tag=CC --mode=link gcc -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -module -avoid-version -o lmregexp.la -rpath /usr/local/lib/rsyslog lmregexp_la-regexp.lo
gcc -shared .libs/lmregexp_la-regexp.o -Wl,-soname -Wl,lmregexp.so -o .libs/lmregexp.so
creating lmregexp.la
(cd .libs && rm -f lmregexp.la && ln -s ../lmregexp.la lmregexp.la)
gcc -DHAVE_CONFIG_H -I. -D_PATH_MODDIR=\"/usr/local/lib/rsyslog/\" -pthread -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT rsyslogd-datetime.o -MD -MP -MF .deps/rsyslogd-datetime.Tpo -c -o rsyslogd-datetime.o `test -f 'datetime.c' || echo './'`datetime.c
mv -f .deps/rsyslogd-datetime.Tpo .deps/rsyslogd-datetime.Po
gcc -DHAVE_CONFIG_H -I. -D_PATH_MODDIR=\"/usr/local/lib/rsyslog/\" -pthread -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT rsyslogd-errmsg.o -MD -MP -MF .deps/rsyslogd-errmsg.Tpo -c -o rsyslogd-errmsg.o `test -f 'errmsg.c' || echo './'`errmsg.c
mv -f .deps/rsyslogd-errmsg.Tpo .deps/rsyslogd-errmsg.Po
gcc -DHAVE_CONFIG_H -I. -D_PATH_MODDIR=\"/usr/local/lib/rsyslog/\" -pthread -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT rsyslogd-syslogd.o -MD -MP -MF .deps/rsyslogd-syslogd.Tpo -c -o rsyslogd-syslogd.o `test -f 'syslogd.c' || echo './'`syslogd.c
mv -f .deps/rsyslogd-syslogd.Tpo .deps/rsyslogd-syslogd.Po
gcc -DHAVE_CONFIG_H -I. -D_PATH_MODDIR=\"/usr/local/lib/rsyslog/\" -pthread -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT rsyslogd-sysvar.o -MD -MP -MF .deps/rsyslogd-sysvar.Tpo -c -o rsyslogd-sysvar.o `test -f 'sysvar.c' || echo './'`sysvar.c
mv -f .deps/rsyslogd-sysvar.Tpo .deps/rsyslogd-sysvar.Po
gcc -DHAVE_CONFIG_H -I. -D_PATH_MODDIR=\"/usr/local/lib/rsyslog/\" -pthread -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT rsyslogd-vm.o -MD -MP -MF .deps/rsyslogd-vm.Tpo -c -o rsyslogd-vm.o `test -f 'vm.c' || echo './'`vm.c
mv -f .deps/rsyslogd-vm.Tpo .deps/rsyslogd-vm.Po
gcc -DHAVE_CONFIG_H -I. -D_PATH_MODDIR=\"/usr/local/lib/rsyslog/\" -pthread -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT rsyslogd-vmstk.o -MD -MP -MF .deps/rsyslogd-vmstk.Tpo -c -o rsyslogd-vmstk.o `test -f 'vmstk.c' || echo './'`vmstk.c
mv -f .deps/rsyslogd-vmstk.Tpo .deps/rsyslogd-vmstk.Po
gcc -DHAVE_CONFIG_H -I. -D_PATH_MODDIR=\"/usr/local/lib/rsyslog/\" -pthread -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT rsyslogd-vmprg.o -MD -MP -MF .deps/rsyslogd-vmprg.Tpo -c -o rsyslogd-vmprg.o `test -f 'vmprg.c' || echo './'`vmprg.c
mv -f .deps/rsyslogd-vmprg.Tpo .deps/rsyslogd-vmprg.Po
gcc -DHAVE_CONFIG_H -I. -D_PATH_MODDIR=\"/usr/local/lib/rsyslog/\" -pthread -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT rsyslogd-vmop.o -MD -MP -MF .deps/rsyslogd-vmop.Tpo -c -o rsyslogd-vmop.o `test -f 'vmop.c' || echo './'`vmop.c
mv -f .deps/rsyslogd-vmop.Tpo .deps/rsyslogd-vmop.Po
gcc -DHAVE_CONFIG_H -I. -D_PATH_MODDIR=\"/usr/local/lib/rsyslog/\" -pthread -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT rsyslogd-debug.o -MD -MP -MF .deps/rsyslogd-debug.Tpo -c -o rsyslogd-debug.o `test -f 'debug.c' || echo './'`debug.c
mv -f .deps/rsyslogd-debug.Tpo .deps/rsyslogd-debug.Po
gcc -DHAVE_CONFIG_H -I. -D_PATH_MODDIR=\"/usr/local/lib/rsyslog/\" -pthread -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT rsyslogd-pidfile.o -MD -MP -MF .deps/rsyslogd-pidfile.Tpo -c -o rsyslogd-pidfile.o `test -f 'pidfile.c' || echo './'`pidfile.c
mv -f .deps/rsyslogd-pidfile.Tpo .deps/rsyslogd-pidfile.Po
gcc -DHAVE_CONFIG_H -I. -D_PATH_MODDIR=\"/usr/local/lib/rsyslog/\" -pthread -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT rsyslogd-template.o -MD -MP -MF .deps/rsyslogd-template.Tpo -c -o rsyslogd-template.o `test -f 'template.c' || echo './'`template.c
mv -f .deps/rsyslogd-template.Tpo .deps/rsyslogd-template.Po
gcc -DHAVE_CONFIG_H -I. -D_PATH_MODDIR=\"/usr/local/lib/rsyslog/\" -pthread -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT rsyslogd-outchannel.o -MD -MP -MF .deps/rsyslogd-outchannel.Tpo -c -o rsyslogd-outchannel.o `test -f 'outchannel.c' || echo './'`outchannel.c
mv -f .deps/rsyslogd-outchannel.Tpo .deps/rsyslogd-outchannel.Po
gcc -DHAVE_CONFIG_H -I. -D_PATH_MODDIR=\"/usr/local/lib/rsyslog/\" -pthread -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT rsyslogd-stringbuf.o -MD -MP -MF .deps/rsyslogd-stringbuf.Tpo -c -o rsyslogd-stringbuf.o `test -f 'stringbuf.c' || echo './'`stringbuf.c
mv -f .deps/rsyslogd-stringbuf.Tpo .deps/rsyslogd-stringbuf.Po
gcc -DHAVE_CONFIG_H -I. -D_PATH_MODDIR=\"/usr/local/lib/rsyslog/\" -pthread -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT rsyslogd-srUtils.o -MD -MP -MF .deps/rsyslogd-srUtils.Tpo -c -o rsyslogd-srUtils.o `test -f 'srUtils.c' || echo './'`srUtils.c
mv -f .deps/rsyslogd-srUtils.Tpo .deps/rsyslogd-srUtils.Po
gcc -DHAVE_CONFIG_H -I. -D_PATH_MODDIR=\"/usr/local/lib/rsyslog/\" -pthread -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT rsyslogd-parse.o -MD -MP -MF .deps/rsyslogd-parse.Tpo -c -o rsyslogd-parse.o `test -f 'parse.c' || echo './'`parse.c
mv -f .deps/rsyslogd-parse.Tpo .deps/rsyslogd-parse.Po
gcc -DHAVE_CONFIG_H -I. -D_PATH_MODDIR=\"/usr/local/lib/rsyslog/\" -pthread -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT rsyslogd-threads.o -MD -MP -MF .deps/rsyslogd-threads.Tpo -c -o rsyslogd-threads.o `test -f 'threads.c' || echo './'`threads.c
mv -f .deps/rsyslogd-threads.Tpo .deps/rsyslogd-threads.Po
gcc -DHAVE_CONFIG_H -I. -D_PATH_MODDIR=\"/usr/local/lib/rsyslog/\" -pthread -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT rsyslogd-stream.o -MD -MP -MF .deps/rsyslogd-stream.Tpo -c -o rsyslogd-stream.o `test -f 'stream.c' || echo './'`stream.c
mv -f .deps/rsyslogd-stream.Tpo .deps/rsyslogd-stream.Po
gcc -DHAVE_CONFIG_H -I. -D_PATH_MODDIR=\"/usr/local/lib/rsyslog/\" -pthread -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT rsyslogd-var.o -MD -MP -MF .deps/rsyslogd-var.Tpo -c -o rsyslogd-var.o `test -f 'var.c' || echo './'`var.c
mv -f .deps/rsyslogd-var.Tpo .deps/rsyslogd-var.Po
gcc -DHAVE_CONFIG_H -I. -D_PATH_MODDIR=\"/usr/local/lib/rsyslog/\" -pthread -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT rsyslogd-wtp.o -MD -MP -MF .deps/rsyslogd-wtp.Tpo -c -o rsyslogd-wtp.o `test -f 'wtp.c' || echo './'`wtp.c
mv -f .deps/rsyslogd-wtp.Tpo .deps/rsyslogd-wtp.Po
gcc -DHAVE_CONFIG_H -I. -D_PATH_MODDIR=\"/usr/local/lib/rsyslog/\" -pthread -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT rsyslogd-wti.o -MD -MP -MF .deps/rsyslogd-wti.Tpo -c -o rsyslogd-wti.o `test -f 'wti.c' || echo './'`wti.c
mv -f .deps/rsyslogd-wti.Tpo .deps/rsyslogd-wti.Po
gcc -DHAVE_CONFIG_H -I. -D_PATH_MODDIR=\"/usr/local/lib/rsyslog/\" -pthread -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT rsyslogd-queue.o -MD -MP -MF .deps/rsyslogd-queue.Tpo -c -o rsyslogd-queue.o `test -f 'queue.c' || echo './'`queue.c
mv -f .deps/rsyslogd-queue.Tpo .deps/rsyslogd-queue.Po
gcc -DHAVE_CONFIG_H -I. -D_PATH_MODDIR=\"/usr/local/lib/rsyslog/\" -pthread -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT rsyslogd-sync.o -MD -MP -MF .deps/rsyslogd-sync.Tpo -c -o rsyslogd-sync.o `test -f 'sync.c' || echo './'`sync.c
mv -f .deps/rsyslogd-sync.Tpo .deps/rsyslogd-sync.Po
gcc -DHAVE_CONFIG_H -I. -D_PATH_MODDIR=\"/usr/local/lib/rsyslog/\" -pthread -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT rsyslogd-obj.o -MD -MP -MF .deps/rsyslogd-obj.Tpo -c -o rsyslogd-obj.o `test -f 'obj.c' || echo './'`obj.c
obj.c: In function âUnregisterObjâ:
obj.c:1093: warning: unused parameter âpInfoâ
mv -f .deps/rsyslogd-obj.Tpo .deps/rsyslogd-obj.Po
gcc -DHAVE_CONFIG_H -I. -D_PATH_MODDIR=\"/usr/local/lib/rsyslog/\" -pthread -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT rsyslogd-msg.o -MD -MP -MF .deps/rsyslogd-msg.Tpo -c -o rsyslogd-msg.o `test -f 'msg.c' || echo './'`msg.c
mv -f .deps/rsyslogd-msg.Tpo .deps/rsyslogd-msg.Po
gcc -DHAVE_CONFIG_H -I. -D_PATH_MODDIR=\"/usr/local/lib/rsyslog/\" -pthread -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT rsyslogd-expr.o -MD -MP -MF .deps/rsyslogd-expr.Tpo -c -o rsyslogd-expr.o `test -f 'expr.c' || echo './'`expr.c
expr.c: In function âexprConstructFinalizeâ:
expr.c:339: warning: unused parameter âpThisâ
mv -f .deps/rsyslogd-expr.Tpo .deps/rsyslogd-expr.Po
gcc -DHAVE_CONFIG_H -I. -D_PATH_MODDIR=\"/usr/local/lib/rsyslog/\" -pthread -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT rsyslogd-ctok.o -MD -MP -MF .deps/rsyslogd-ctok.Tpo -c -o rsyslogd-ctok.o `test -f 'ctok.c' || echo './'`ctok.c
mv -f .deps/rsyslogd-ctok.Tpo .deps/rsyslogd-ctok.Po
gcc -DHAVE_CONFIG_H -I. -D_PATH_MODDIR=\"/usr/local/lib/rsyslog/\" -pthread -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT rsyslogd-ctok_token.o -MD -MP -MF .deps/rsyslogd-ctok_token.Tpo -c -o rsyslogd-ctok_token.o `test -f 'ctok_token.c' || echo './'`ctok_token.c
mv -f .deps/rsyslogd-ctok_token.Tpo .deps/rsyslogd-ctok_token.Po
gcc -DHAVE_CONFIG_H -I. -D_PATH_MODDIR=\"/usr/local/lib/rsyslog/\" -pthread -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT rsyslogd-conf.o -MD -MP -MF .deps/rsyslogd-conf.Tpo -c -o rsyslogd-conf.o `test -f 'conf.c' || echo './'`conf.c
mv -f .deps/rsyslogd-conf.Tpo .deps/rsyslogd-conf.Po
gcc -DHAVE_CONFIG_H -I. -D_PATH_MODDIR=\"/usr/local/lib/rsyslog/\" -pthread -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT rsyslogd-omshell.o -MD -MP -MF .deps/rsyslogd-omshell.Tpo -c -o rsyslogd-omshell.o `test -f 'omshell.c' || echo './'`omshell.c
mv -f .deps/rsyslogd-omshell.Tpo .deps/rsyslogd-omshell.Po
gcc -DHAVE_CONFIG_H -I. -D_PATH_MODDIR=\"/usr/local/lib/rsyslog/\" -pthread -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT rsyslogd-omusrmsg.o -MD -MP -MF .deps/rsyslogd-omusrmsg.Tpo -c -o rsyslogd-omusrmsg.o `test -f 'omusrmsg.c' || echo './'`omusrmsg.c
mv -f .deps/rsyslogd-omusrmsg.Tpo .deps/rsyslogd-omusrmsg.Po
gcc -DHAVE_CONFIG_H -I. -D_PATH_MODDIR=\"/usr/local/lib/rsyslog/\" -pthread -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT rsyslogd-omfwd.o -MD -MP -MF .deps/rsyslogd-omfwd.Tpo -c -o rsyslogd-omfwd.o `test -f 'omfwd.c' || echo './'`omfwd.c
mv -f .deps/rsyslogd-omfwd.Tpo .deps/rsyslogd-omfwd.Po
gcc -DHAVE_CONFIG_H -I. -D_PATH_MODDIR=\"/usr/local/lib/rsyslog/\" -pthread -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT rsyslogd-tcpsyslog.o -MD -MP -MF .deps/rsyslogd-tcpsyslog.Tpo -c -o rsyslogd-tcpsyslog.o `test -f 'tcpsyslog.c' || echo './'`tcpsyslog.c
mv -f .deps/rsyslogd-tcpsyslog.Tpo .deps/rsyslogd-tcpsyslog.Po
gcc -DHAVE_CONFIG_H -I. -D_PATH_MODDIR=\"/usr/local/lib/rsyslog/\" -pthread -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT rsyslogd-omfile.o -MD -MP -MF .deps/rsyslogd-omfile.Tpo -c -o rsyslogd-omfile.o `test -f 'omfile.c' || echo './'`omfile.c
mv -f .deps/rsyslogd-omfile.Tpo .deps/rsyslogd-omfile.Po
gcc -DHAVE_CONFIG_H -I. -D_PATH_MODDIR=\"/usr/local/lib/rsyslog/\" -pthread -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT rsyslogd-omdiscard.o -MD -MP -MF .deps/rsyslogd-omdiscard.Tpo -c -o rsyslogd-omdiscard.o `test -f 'omdiscard.c' || echo './'`omdiscard.c
mv -f .deps/rsyslogd-omdiscard.Tpo .deps/rsyslogd-omdiscard.Po
gcc -DHAVE_CONFIG_H -I. -D_PATH_MODDIR=\"/usr/local/lib/rsyslog/\" -pthread -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT rsyslogd-modules.o -MD -MP -MF .deps/rsyslogd-modules.Tpo -c -o rsyslogd-modules.o `test -f 'modules.c' || echo './'`modules.c
mv -f .deps/rsyslogd-modules.Tpo .deps/rsyslogd-modules.Po
gcc -DHAVE_CONFIG_H -I. -D_PATH_MODDIR=\"/usr/local/lib/rsyslog/\" -pthread -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT rsyslogd-objomsr.o -MD -MP -MF .deps/rsyslogd-objomsr.Tpo -c -o rsyslogd-objomsr.o `test -f 'objomsr.c' || echo './'`objomsr.c
mv -f .deps/rsyslogd-objomsr.Tpo .deps/rsyslogd-objomsr.Po
gcc -DHAVE_CONFIG_H -I. -D_PATH_MODDIR=\"/usr/local/lib/rsyslog/\" -pthread -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT rsyslogd-cfsysline.o -MD -MP -MF .deps/rsyslogd-cfsysline.Tpo -c -o rsyslogd-cfsysline.o `test -f 'cfsysline.c' || echo './'`cfsysline.c
mv -f .deps/rsyslogd-cfsysline.Tpo .deps/rsyslogd-cfsysline.Po
gcc -DHAVE_CONFIG_H -I. -D_PATH_MODDIR=\"/usr/local/lib/rsyslog/\" -pthread -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT rsyslogd-linkedlist.o -MD -MP -MF .deps/rsyslogd-linkedlist.Tpo -c -o rsyslogd-linkedlist.o `test -f 'linkedlist.c' || echo './'`linkedlist.c
mv -f .deps/rsyslogd-linkedlist.Tpo .deps/rsyslogd-linkedlist.Po
gcc -DHAVE_CONFIG_H -I. -D_PATH_MODDIR=\"/usr/local/lib/rsyslog/\" -pthread -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT rsyslogd-iminternal.o -MD -MP -MF .deps/rsyslogd-iminternal.Tpo -c -o rsyslogd-iminternal.o `test -f 'iminternal.c' || echo './'`iminternal.c
mv -f .deps/rsyslogd-iminternal.Tpo .deps/rsyslogd-iminternal.Po
gcc -DHAVE_CONFIG_H -I. -D_PATH_MODDIR=\"/usr/local/lib/rsyslog/\" -pthread -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT rsyslogd-action.o -MD -MP -MF .deps/rsyslogd-action.Tpo -c -o rsyslogd-action.o `test -f 'action.c' || echo './'`action.c
mv -f .deps/rsyslogd-action.Tpo .deps/rsyslogd-action.Po
/bin/sh ./libtool --tag=CC --mode=link gcc -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -export-dynamic -o rsyslogd rsyslogd-datetime.o rsyslogd-errmsg.o rsyslogd-syslogd.o rsyslogd-sysvar.o rsyslogd-vm.o rsyslogd-vmstk.o rsyslogd-vmprg.o rsyslogd-vmop.o rsyslogd-debug.o rsyslogd-pidfile.o rsyslogd-template.o rsyslogd-outchannel.o rsyslogd-stringbuf.o rsyslogd-srUtils.o rsyslogd-parse.o rsyslogd-threads.o rsyslogd-stream.o rsyslogd-var.o rsyslogd-wtp.o rsyslogd-wti.o rsyslogd-queue.o rsyslogd-sync.o rsyslogd-obj.o rsyslogd-msg.o rsyslogd-expr.o rsyslogd-ctok.o rsyslogd-ctok_token.o rsyslogd-conf.o rsyslogd-omshell.o rsyslogd-omusrmsg.o rsyslogd-omfwd.o rsyslogd-tcpsyslog.o rsyslogd-omfile.o rsyslogd-omdiscard.o rsyslogd-modules.o rsyslogd-objomsr.o rsyslogd-cfsysline.o rsyslogd-linkedlist.o rsyslogd-iminternal.o rsyslogd-action.o -lz -lpthread -ldl -lrt
gcc -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -o rsyslogd rsyslogd-datetime.o rsyslogd-errmsg.o rsyslogd-syslogd.o rsyslogd-sysvar.o rsyslogd-vm.o rsyslogd-vmstk.o rsyslogd-vmprg.o rsyslogd-vmop.o rsyslogd-debug.o rsyslogd-pidfile.o rsyslogd-template.o rsyslogd-outchannel.o rsyslogd-stringbuf.o rsyslogd-srUtils.o rsyslogd-parse.o rsyslogd-threads.o rsyslogd-stream.o rsyslogd-var.o rsyslogd-wtp.o rsyslogd-wti.o rsyslogd-queue.o rsyslogd-sync.o rsyslogd-obj.o rsyslogd-msg.o rsyslogd-expr.o rsyslogd-ctok.o rsyslogd-ctok_token.o rsyslogd-conf.o rsyslogd-omshell.o rsyslogd-omusrmsg.o rsyslogd-omfwd.o rsyslogd-tcpsyslog.o rsyslogd-omfile.o rsyslogd-omdiscard.o rsyslogd-modules.o rsyslogd-objomsr.o rsyslogd-cfsysline.o rsyslogd-linkedlist.o rsyslogd-iminternal.o rsyslogd-action.o -Wl,--export-dynamic -lz -lpthread -ldl -lrt
make[2]: Leaving directory `/root/rsyslog-3.16.1'
Making all in doc
make[2]: Entering directory `/root/rsyslog-3.16.1/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/rsyslog-3.16.1/doc'
Making all in plugins/immark
make[2]: Entering directory `/root/rsyslog-3.16.1/plugins/immark'
/bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -pthread -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT immark_la-immark.lo -MD -MP -MF .deps/immark_la-immark.Tpo -c -o immark_la-immark.lo `test -f 'immark.c' || echo './'`immark.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -pthread -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT immark_la-immark.lo -MD -MP -MF .deps/immark_la-immark.Tpo -c immark.c -fPIC -DPIC -o .libs/immark_la-immark.o
mv -f .deps/immark_la-immark.Tpo .deps/immark_la-immark.Plo
/bin/sh ../../libtool --tag=CC --mode=link gcc -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -module -avoid-version -o immark.la -rpath /usr/local/lib/rsyslog immark_la-immark.lo
gcc -shared .libs/immark_la-immark.o -Wl,-soname -Wl,immark.so -o .libs/immark.so
creating immark.la
(cd .libs && rm -f immark.la && ln -s ../immark.la immark.la)
make[2]: Leaving directory `/root/rsyslog-3.16.1/plugins/immark'
Making all in plugins/imuxsock
make[2]: Entering directory `/root/rsyslog-3.16.1/plugins/imuxsock'
/bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -pthread -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT imuxsock_la-imuxsock.lo -MD -MP -MF .deps/imuxsock_la-imuxsock.Tpo -c -o imuxsock_la-imuxsock.lo `test -f 'imuxsock.c' || echo './'`imuxsock.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -pthread -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT imuxsock_la-imuxsock.lo -MD -MP -MF .deps/imuxsock_la-imuxsock.Tpo -c imuxsock.c -fPIC -DPIC -o .libs/imuxsock_la-imuxsock.o
mv -f .deps/imuxsock_la-imuxsock.Tpo .deps/imuxsock_la-imuxsock.Plo
/bin/sh ../../libtool --tag=CC --mode=link gcc -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -module -avoid-version -o imuxsock.la -rpath /usr/local/lib/rsyslog imuxsock_la-imuxsock.lo
gcc -shared .libs/imuxsock_la-imuxsock.o -Wl,-soname -Wl,imuxsock.so -o .libs/imuxsock.so
creating imuxsock.la
(cd .libs && rm -f imuxsock.la && ln -s ../imuxsock.la imuxsock.la)
make[2]: Leaving directory `/root/rsyslog-3.16.1/plugins/imuxsock'
Making all in plugins/imtcp
make[2]: Entering directory `/root/rsyslog-3.16.1/plugins/imtcp'
/bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -pthread -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT imtcp_la-imtcp.lo -MD -MP -MF .deps/imtcp_la-imtcp.Tpo -c -o imtcp_la-imtcp.lo `test -f 'imtcp.c' || echo './'`imtcp.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -pthread -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT imtcp_la-imtcp.lo -MD -MP -MF .deps/imtcp_la-imtcp.Tpo -c imtcp.c -fPIC -DPIC -o .libs/imtcp_la-imtcp.o
mv -f .deps/imtcp_la-imtcp.Tpo .deps/imtcp_la-imtcp.Plo
/bin/sh ../../libtool --tag=CC --mode=link gcc -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -module -avoid-version -o imtcp.la -rpath /usr/local/lib/rsyslog imtcp_la-imtcp.lo
gcc -shared .libs/imtcp_la-imtcp.o -Wl,-soname -Wl,imtcp.so -o .libs/imtcp.so
creating imtcp.la
(cd .libs && rm -f imtcp.la && ln -s ../imtcp.la imtcp.la)
make[2]: Leaving directory `/root/rsyslog-3.16.1/plugins/imtcp'
Making all in plugins/imudp
make[2]: Entering directory `/root/rsyslog-3.16.1/plugins/imudp'
/bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -pthread -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT imudp_la-imudp.lo -MD -MP -MF .deps/imudp_la-imudp.Tpo -c -o imudp_la-imudp.lo `test -f 'imudp.c' || echo './'`imudp.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -pthread -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT imudp_la-imudp.lo -MD -MP -MF .deps/imudp_la-imudp.Tpo -c imudp.c -fPIC -DPIC -o .libs/imudp_la-imudp.o
mv -f .deps/imudp_la-imudp.Tpo .deps/imudp_la-imudp.Plo
/bin/sh ../../libtool --tag=CC --mode=link gcc -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -module -avoid-version -o imudp.la -rpath /usr/local/lib/rsyslog imudp_la-imudp.lo
gcc -shared .libs/imudp_la-imudp.o -Wl,-soname -Wl,imudp.so -o .libs/imudp.so
creating imudp.la
(cd .libs && rm -f imudp.la && ln -s ../imudp.la imudp.la)
make[2]: Leaving directory `/root/rsyslog-3.16.1/plugins/imudp'
Making all in plugins/omtesting
make[2]: Entering directory `/root/rsyslog-3.16.1/plugins/omtesting'
/bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -pthread -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT omtesting_la-omtesting.lo -MD -MP -MF .deps/omtesting_la-omtesting.Tpo -c -o omtesting_la-omtesting.lo `test -f 'omtesting.c' || echo './'`omtesting.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -pthread -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT omtesting_la-omtesting.lo -MD -MP -MF .deps/omtesting_la-omtesting.Tpo -c omtesting.c -fPIC -DPIC -o .libs/omtesting_la-omtesting.o
mv -f .deps/omtesting_la-omtesting.Tpo .deps/omtesting_la-omtesting.Plo
/bin/sh ../../libtool --tag=CC --mode=link gcc -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -module -avoid-version -o omtesting.la -rpath /usr/local/lib/rsyslog omtesting_la-omtesting.lo
gcc -shared .libs/omtesting_la-omtesting.o -Wl,-soname -Wl,omtesting.so -o .libs/omtesting.so
creating omtesting.la
(cd .libs && rm -f omtesting.la && ln -s ../omtesting.la omtesting.la)
make[2]: Leaving directory `/root/rsyslog-3.16.1/plugins/omtesting'
Making all in plugins/imklog
make[2]: Entering directory `/root/rsyslog-3.16.1/plugins/imklog'
/bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -pthread -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT imklog_la-imklog.lo -MD -MP -MF .deps/imklog_la-imklog.Tpo -c -o imklog_la-imklog.lo `test -f 'imklog.c' || echo './'`imklog.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -pthread -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT imklog_la-imklog.lo -MD -MP -MF .deps/imklog_la-imklog.Tpo -c imklog.c -fPIC -DPIC -o .libs/imklog_la-imklog.o
imklog.c: In function 'writeSyslogV':
imklog.c:132: warning: function might be possible candidate for 'printf' format attribute
imklog.c:132: warning: function might be possible candidate for 'printf' format attribute
mv -f .deps/imklog_la-imklog.Tpo .deps/imklog_la-imklog.Plo
/bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -pthread -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT imklog_la-ksym.lo -MD -MP -MF .deps/imklog_la-ksym.Tpo -c -o imklog_la-ksym.lo `test -f 'ksym.c' || echo './'`ksym.c
gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -pthread -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT imklog_la-ksym.lo -MD -MP -MF .deps/imklog_la-ksym.Tpo -c ksym.c -fPIC -DPIC -o .libs/imklog_la-ksym.o
mv -f .deps/imklog_la-ksym.Tpo .deps/imklog_la-ksym.Plo
/bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -pthread -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT imklog_la-ksym_mod.lo -MD -MP -MF .deps/imklog_la-ksym_mod.Tpo -c -o imklog_la-ksym_mod.lo `test -f 'ksym_mod.c' || echo './'`ksym_mod.c
gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -pthread -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT imklog_la-ksym_mod.lo -MD -MP -MF .deps/imklog_la-ksym_mod.Tpo -c ksym_mod.c -fPIC -DPIC -o .libs/imklog_la-ksym_mod.o
ksym_mod.c: In function 'LookupModuleSymbol':
ksym_mod.c:456: warning: comparison between signed and unsigned
ksym_mod.c:457: warning: comparison between signed and unsigned
ksym_mod.c:458: warning: comparison between signed and unsigned
mv -f .deps/imklog_la-ksym_mod.Tpo .deps/imklog_la-ksym_mod.Plo
/bin/sh ../../libtool --tag=CC --mode=link gcc -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -module -avoid-version -o imklog.la -rpath /usr/local/lib/rsyslog imklog_la-imklog.lo imklog_la-ksym.lo imklog_la-ksym_mod.lo
gcc -shared .libs/imklog_la-imklog.o .libs/imklog_la-ksym.o .libs/imklog_la-ksym_mod.o -Wl,-soname -Wl,imklog.so -o .libs/imklog.so
creating imklog.la
(cd .libs && rm -f imklog.la && ln -s ../imklog.la imklog.la)
make[2]: Leaving directory `/root/rsyslog-3.16.1/plugins/imklog'
Making all in plugins/ommysql
make[2]: Entering directory `/root/rsyslog-3.16.1/plugins/ommysql'
/bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I/usr/include/mysql -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv -pthread -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT ommysql_la-ommysql.lo -MD -MP -MF .deps/ommysql_la-ommysql.Tpo -c -o ommysql_la-ommysql.lo `test -f 'ommysql.c' || echo './'`ommysql.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I/usr/include/mysql -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv -pthread -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -MT ommysql_la-ommysql.lo -MD -MP -MF .deps/ommysql_la-ommysql.Tpo -c ommysql.c -fPIC -DPIC -o .libs/ommysql_la-ommysql.o
mv -f .deps/ommysql_la-ommysql.Tpo .deps/ommysql_la-ommysql.Plo
/bin/sh ../../libtool --tag=CC --mode=link gcc -g -O2 -W -Wall -Wformat-security -Wshadow -Wcast-align -Wpointer-arith -Wmissing-format-attribute -g -module -avoid-version -o ommysql.la -rpath /usr/local/lib/rsyslog ommysql_la-ommysql.lo -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -L/usr/lib -lssl -lcrypto
gcc -shared .libs/ommysql_la-ommysql.o -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -L/usr/lib -lssl -lcrypto -Wl,-soname -Wl,ommysql.so -o .libs/ommysql.so
creating ommysql.la
(cd .libs && rm -f ommysql.la && ln -s ../ommysql.la ommysql.la)
make[2]: Leaving directory `/root/rsyslog-3.16.1/plugins/ommysql'
make[1]: Leaving directory `/root/rsyslog-3.16.1'
[root@server rsyslog-3.16.1]#
prakash.akumalla
Frequent Poster
 
Posts: 101
Joined: Thu Jun 26, 2008 2:37 pm

Re: Help me in implementing email alert

Postby rgerhards on Tue Jul 01, 2008 11:41 am

lol, ok, that helps. I should have noticed, but... ommail was introduced in 3.17.0:

http://www.rsyslog.com/doc-rsyslog_ng_comparison.html

As such, it is not present in 3.16.x builds ;) I suggest you upgrade.
User avatar
rgerhards
Site Admin
 
Posts: 1780
Joined: Thu Feb 13, 2003 11:57 am

Re: Help me in implementing email alert

Postby rgerhards on Tue Jul 01, 2008 11:49 am

oh, and before I forget: you need to add the --enable-mail directive to configure, as below:

# ./configure --enable-mysql --enable-mail

Otherwise it won't be compiled.
User avatar
rgerhards
Site Admin
 
Posts: 1780
Joined: Thu Feb 13, 2003 11:57 am

Re: Help me in implementing email alert

Postby prakash.akumalla on Tue Jul 01, 2008 12:33 pm

Hai,
Here is another problem. Here i am trying to send mails to another user ie root1. I am in root. My configuration file is like this.

$ModLoad ommail
$ActionMailSMTPServer mailserver's ip
$ActionMailSMTPPort 25
$ActionMailFrom root@localhost
$ActionMailTo root1@localhost
$template mailSubject,"disk problem on %server%"
$template mailBody,"RSYSLOG Alert\r\nmsg='%msg%'"
$ActionMailSubject mailSubject
$ActionExecOnlyOnceEveryInterval 60
*.* :ommail:;mailBody

But i did not see any mails in root1.
when ever i give the command mail in root1 i am getting -bash: mail: command not found
Where can i see the mails and where lies the error.
prakash.akumalla
Frequent Poster
 
Posts: 101
Joined: Thu Jun 26, 2008 2:37 pm

Re: Help me in implementing email alert

Postby rgerhards on Tue Jul 01, 2008 12:42 pm

are there any rsyslog-messages in /var/log/messages?
User avatar
rgerhards
Site Admin
 
Posts: 1780
Joined: Thu Feb 13, 2003 11:57 am

Re: Help me in implementing email alert

Postby prakash.akumalla on Tue Jul 01, 2008 12:50 pm

Hai,
These are the changes in my /var/log/messages when i run rsyslog


[root@server rsyslog-3.16.1]# view /var/log/messages
2008-07-01T18:03:43+05:18 server kernel: imklog 3.16.1, log source = /proc/kmsg started.
2008-07-01T18:03:43+05:18 server kernel: Inspecting /boot/System.map-2.6.18-53.el5
2008-07-01T18:03:43+05:18 server kernel: Loaded 28327 symbols from /boot/System.map-2.6.18-53.el5.
2008-07-01T18:03:43+05:18 server kernel: Symbols match kernel version 2.6.18.
2008-07-01T18:03:44+05:18 server kernel: Loaded 9396 symbols from 44 modules.
2008-07-01T18:03:44.029800+05:18 server rsyslogd: [origin software="rsyslogd" swVersion="3.16.1" x-pid="16971" x-info="http://www.rsyslog.com"] restart
2008-07-01T18:03:44.034867+05:18 server rsyslogd:WARNING: rsyslogd is running in compatibility mode. Automatically generated config directives may interfer with your rsyslog.conf settings. We suggest upgrading your config and adding -c3 as the first rsyslogd option.
2008-07-01T18:03:44.034887+05:18 server rsyslogd:could not load module '/usr/local/lib/rsyslog/ommail.so', dlopen: /usr/local/lib/rsyslog/ommail.so: cannot open shared object file: No such file or directory
2008-07-01T18:03:44.034902+05:18 server rsyslogd:the last error occured in /etc/rsyslog.conf, line 2
2008-07-01T18:03:44.034915+05:18 server rsyslogd:invalid or yet-unknown config file command - have you forgotten to load a module?
2008-07-01T18:03:44.034928+05:18 server rsyslogd:the last error occured in /etc/rsyslog.conf, line 11
2008-07-01T18:03:44.034941+05:18 server rsyslogd:invalid or yet-unknown config file command - have you forgotten to load a module?
2008-07-01T18:03:44.034955+05:18 server rsyslogd:the last error occured in /etc/rsyslog.conf, line 14
2008-07-01T18:03:44.034968+05:18 server rsyslogd:invalid or yet-unknown config file command - have you forgotten to load a module?
2008-07-01T18:03:44.034981+05:18 server rsyslogd:the last error occured in /etc/rsyslog.conf, line 17
2008-07-01T18:03:44.034994+05:18 server rsyslogd:invalid or yet-unknown config file command - have you forgotten to load a module?
2008-07-01T18:03:44.035007+05:18 server rsyslogd:the last error occured in /etc/rsyslog.conf, line 18
2008-07-01T18:03:44.035020+05:18 server rsyslogd:invalid or yet-unknown config file command - have you forgotten to load a module?
2008-07-01T18:03:44.035032+05:18 server rsyslogd:the last error occured in /etc/rsyslog.conf, line 19
2008-07-01T18:03:44.035045+05:18 server rsyslogd:invalid or yet-unknown config file command - have you forgotten to load a module?
2008-07-01T18:03:44.035058+05:18 server rsyslogd:the last error occured in /etc/rsyslog.conf, line 20
2008-07-01T18:03:44.035072+05:18 server rsyslogd:invalid or yet-unknown config file command - have you forgotten to load a module?
2008-07-01T18:03:44.035085+05:18 server rsyslogd:the last error occured in /etc/rsyslog.conf, line 23
2008-07-01T18:03:44.035098+05:18 server rsyslogd:invalid or yet-unknown config file command - have you forgotten to load a module?
2008-07-01T18:03:44.035467+05:18 server rsyslogd:the last error occured in /etc/rsyslog.conf, line 24
2008-07-01T18:03:44.035483+05:18 server rsyslogd:the last error occured in /etc/rsyslog.conf, line 25
2008-07-01T18:03:44.035497+05:18 server rsyslogd:warning: selector line without actions will be discarded
2008-07-01T18:03:44.035510+05:18 server rsyslogd:unknown facility name "error"
2008-07-01T18:03:44.035524+05:18 server rsyslogd:the last error occured in /etc/rsyslog.conf, line 50
2008-07-01T18:03:44.035538+05:18 server rsyslogd:warning: selector line without actions will be discarded
2008-07-01T18:03:44.035553+05:18 server rsyslogd:unknown priority name ""
2008-07-01T18:03:44.035567+05:18 server rsyslogd:the last error occured in /etc/rsyslog.conf, line 54
2008-07-01T18:03:44.035581+05:18 server rsyslogd:warning: selector line without actions will be discarded
2008-07-01T18:03:44.035595+05:18 server rsyslogd:unknown facility name "error"
2008-07-01T18:03:44.035734+05:18 server rsyslogd:the last error occured in /etc/rsyslog.conf, line 62
2008-07-01T18:03:44.035748+05:18 server rsyslogd:warning: selector line without actions will be discarded
2008-07-01T18:03:44.035762+05:18 server rsyslogd:Warning: backward compatibility layer added to following directive to rsyslog.conf: ModLoad immark
2008-07-01T18:03:44.035775+05:18 server rsyslogd:Warning: backward compatibility layer added to following directive to rsyslog.conf: MarkMessagePeriod 1200
2008-07-01T18:03:44.035790+05:18 server rsyslogd:Warning: backward compatibility layer added to following directive to rsyslog.conf: ModLoad imuxsock
prakash.akumalla
Frequent Poster
 
Posts: 101
Joined: Thu Jun 26, 2008 2:37 pm

Re: Help me in implementing email alert

Postby rgerhards on Tue Jul 01, 2008 12:53 pm

OK, you have *a lot* of errors. You should get rid of them. Fix one after the other and review this log file until they disappear. However, the log also indicates that you still do not have ommail compiled.

I can look into that, but then you need to post the output of both ./configure and make.
User avatar
rgerhards
Site Admin
 
Posts: 1780
Joined: Thu Feb 13, 2003 11:57 am

Google Ads


PreviousNext

Return to Configuration

Who is online

Users browsing this forum: Yahoo [Bot] and 0 guests

cron