Hi,
I am trying to compile syslog-ng-2.1.3
using the --enable-static-linking option in the cnfigure part. But, while
trying to do the make , I get the below error.
/usr/lib/gcc/s390x-redhat-linux/4.1.2/../../../../lib64/libwrap.a(options.o):
In function `group_option':
(.text+0x85a): warning: Using 'endgrent'
in statically linked applications requires at runtime the shared libraries
from the glibc version used for linking
libsyslog-ng.a(misc.o): In function
`resolve_user':
/tmp/TEST/WORK/syslog-ng-2.1.3/src/misc.c:258:
warning: Using 'getpwnam' in statically linked applications requires at
runtime the shared libraries from the glibc version used for linking
/usr/local/lib/libglib-2.0.a(gutils.o):
In function `g_get_any_init_do':
/tmp/TEST/WORK/glib-2.16.5/glib/gutils.c:1645:
warning: Using 'getpwuid' in statically linked applications requires at
runtime the shared libraries from the glibc version used for linking
/tmp/TEST/WORK/glib-2.16.5/glib/gutils.c:1644:
warning: Using 'setpwent' in statically linked applications requires at
runtime the shared libraries from the glibc version used for linking
/tmp/TEST/WORK/glib-2.16.5/glib/gutils.c:1646:
warning: Using 'endpwent' in statically linked applications requires at
runtime the shared libraries from the glibc version used for linking
/tmp/TEST/WORK/glib-2.16.5/glib/gutils.c:1588:
warning: Using 'getpwnam_r' in statically linked applications requires
at runtime the shared libraries from the glibc version used for linking
/tmp/TEST/WORK/glib-2.16.5/glib/gutils.c:1591:
warning: Using 'getpwuid_r' in statically linked applications requires
at runtime the shared libraries from the glibc version used for linking
libsyslog-ng.a(afinet.o): In function
`afinet_resolve_name':
/tmp/TEST/WORK/syslog-ng-2.1.3/src/afinet.c:103:
warning: Using 'getaddrinfo' in statically linked applications requires
at runtime the shared libraries from the glibc version used for linking
libsyslog-ng.a(misc.o): In function
`resolve_hostname':
/tmp/TEST/WORK/syslog-ng-2.1.3/src/misc.c:166:
warning: Using 'gethostbyaddr' in statically linked applications requires
at runtime the shared libraries from the glibc version used for linking
Can you please help me out here.
Regards,
Rakesh.
CSC • This is a PRIVATE message. If you are not the intended recipient,
please delete without copying and kindly advise us by e-mail of the mistake
in delivery. NOTE: Regardless of content, this e-mail shall not operate
to bind CSC to any order or other contract unless pursuant to explicit
written agreement or government initiative expressly permitting the use
of e-mail for such purpose • Computer Sciences Corporation India Pvt Ltd
• 7th, Floor, Block 1B, DLF IT Park, Sivaji Garden, Nandambakkam Post,
Ramapuram, Chennai-600 089.