<br><font size=2 face="sans-serif">Yes you are correct, the actual error
message here seems to be some lines below the one that I porvided earlier.
Below is the error message that gets generated.</font>
<br>
<br><font size=2 face="sans-serif">/usr/lib/gcc/s390x-redhat-linux/4.1.2/../../../../lib64/libwrap.a(hosts_access.o):
In function `host_match':</font>
<br><font size=2 face="sans-serif">(.text+0xc62): undefined reference to
`yp_get_default_domain'</font>
<br><font size=2 face="sans-serif">collect2: ld returned 1 exit status</font>
<br><font size=2 face="sans-serif">make[2]: *** [syslog-ng] Error 1</font>
<br><font size=2 face="sans-serif">make[2]: Leaving directory `/tmp/TEST/WORK/syslog-ng-2.1.3/src'</font>
<br><font size=2 face="sans-serif">make[1]: *** [all-recursive] Error 1</font>
<br><font size=2 face="sans-serif">make[1]: Leaving directory `/tmp/TEST/WORK/syslog-ng-2.1.3'</font>
<br><font size=2 face="sans-serif">make: *** [all] Error 2</font>
<br>
<br><font size=2 face="sans-serif">Any suggestions to get around with the
above error?</font>
<br>
<br><font size=2 face="sans-serif">Regards,</font>
<br><font size=2 face="sans-serif">Rakesh</font>
<br><font size=2 face="sans-serif"><br>
<br>
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.<br>
</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">From:</font>
<td><font size=1 face="sans-serif">Pal Tamas <folti@balabit.hu></font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">To:</font>
<td><font size=1 face="sans-serif">"Syslog-ng users' and developers'
mailing list" <syslog-ng@lists.balabit.hu></font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Date:</font>
<td><font size=1 face="sans-serif">11/22/2010 03:28 PM</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Subject:</font>
<td><font size=1 face="sans-serif">Re: [syslog-ng] Syslog-ng error</font></table>
<br>
<hr noshade>
<br>
<br>
<br><tt><font size=2>On Mon, Nov 22, 2010 at 02:30:45PM +0530, Rakesh Pillai
wrote:<br>
> <br>
> <br>
> Hi,<br>
> <br>
> I am trying to compile syslog-ng-2.1.3 using the --enable-static-linking
option<br>
> in the cnfigure part. But, while trying to do the make , I get the
below error.<br>
> <br>
> /usr/lib/gcc/s390x-redhat-linux/4.1.2/../../../../lib64/libwrap.a(options.o):<br>
> In function `group_option':<br>
> (.text+0x85a): warning: Using 'endgrent' in statically linked applications<br>
> requires at runtime the shared libraries from the glibc version used
for<br>
> linking<br>
> libsyslog-ng.a(misc.o): In function `resolve_user':<br>
> /tmp/TEST/WORK/syslog-ng-2.1.3/src/misc.c:258: warning: Using 'getpwnam'
in<br>
> statically linked applications requires at runtime the shared libraries
from<br>
> the glibc version used for linking<br>
> /usr/local/lib/libglib-2.0.a(gutils.o): In function `g_get_any_init_do':<br>
> /tmp/TEST/WORK/glib-2.16.5/glib/gutils.c:1645: warning: Using 'getpwuid'
in<br>
> statically linked applications requires at runtime the shared libraries
from<br>
> the glibc version used for linking<br>
> /tmp/TEST/WORK/glib-2.16.5/glib/gutils.c:1644: warning: Using 'setpwent'
in<br>
> statically linked applications requires at runtime the shared libraries
from<br>
> the glibc version used for linking<br>
> /tmp/TEST/WORK/glib-2.16.5/glib/gutils.c:1646: warning: Using 'endpwent'
in<br>
> statically linked applications requires at runtime the shared libraries
from<br>
> the glibc version used for linking<br>
> /tmp/TEST/WORK/glib-2.16.5/glib/gutils.c:1588: warning: Using 'getpwnam_r'
in<br>
> statically linked applications requires at runtime the shared libraries
from<br>
> the glibc version used for linking<br>
> /tmp/TEST/WORK/glib-2.16.5/glib/gutils.c:1591: warning: Using 'getpwuid_r'
in<br>
> statically linked applications requires at runtime the shared libraries
from<br>
> the glibc version used for linking<br>
> libsyslog-ng.a(afinet.o): In function `afinet_resolve_name':<br>
> /tmp/TEST/WORK/syslog-ng-2.1.3/src/afinet.c:103: warning: Using 'getaddrinfo'<br>
> in statically linked applications requires at runtime the shared libraries
from<br>
> the glibc version used for linking<br>
> libsyslog-ng.a(misc.o): In function `resolve_hostname':<br>
> /tmp/TEST/WORK/syslog-ng-2.1.3/src/misc.c:166: warning: Using 'gethostbyaddr'<br>
> in statically linked applications requires at runtime the shared libraries
from<br>
> the glibc version used for linking<br>
> <br>
> Can you please help me out here.<br>
Hi,<br>
<br>
These aren't errors, only warnings. If your compilation failed, the<br>
errors were different lines, probably under these block.<br>
<br>
These are linker warnings, because some glibc calls provided by<br>
plugins of glibc's NSS[1] framework.<br>
<br>
Like all the user and group information handling plugins, where there<br>
are different plugins for all the different database backends possible.<br>
(like oldschool /etc/(passwd|group|shadow), NIS, NIS+) or network adress<br>
lookup (DNS or Hesiod).<br>
<br>
As the warning says, the statically linked binaries will work reliably<br>
only on machines which have the same version of glibc installed, as<br>
your builder machine.<br>
<br>
[1]: </font></tt><a href="http://www.gnu.org/s/libc/manual/html_node/Name-Service-Switch.html"><tt><font size=2>http://www.gnu.org/s/libc/manual/html_node/Name-Service-Switch.html</font></tt></a><tt><font size=2><br>
<br>
Regards,<br>
-- <br>
Pal Tamas/Folti<br>
folti@balabit.hu<br>
______________________________________________________________________________<br>
Member info: </font></tt><a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng"><tt><font size=2>https://lists.balabit.hu/mailman/listinfo/syslog-ng</font></tt></a><tt><font size=2><br>
Documentation: </font></tt><a href="http://www.balabit.com/support/documentation/?product=syslog-ng"><tt><font size=2>http://www.balabit.com/support/documentation/?product=syslog-ng</font></tt></a><tt><font size=2><br>
FAQ: </font></tt><a href="http://www.campin.net/syslog-ng/faq.html"><tt><font size=2>http://www.campin.net/syslog-ng/faq.html</font></tt></a><tt><font size=2><br>
<br>
</font></tt>
<br>
<br>