bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libgnu: rpl_getcwd broken on OpenBSD 4.6


From: Paul Eggert
Subject: Re: libgnu: rpl_getcwd broken on OpenBSD 4.6
Date: Fri, 18 Nov 2011 12:52:23 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0) Gecko/20110927 Thunderbird/7.0

On 11/18/11 12:07, Mats Erik Andersson wrote:

> The [fstatat] module is built, but not automatically included in "libgnu.a".

OK, thanks.  Now we need to find out why that problem is happening.
The fstatat module lists this in its configure.ac section:

gl_FUNC_FSTATAT
if test $HAVE_FSTATAT = 0 || test $REPLACE_FSTATAT = 1; then
  AC_LIBOBJ([fstatat])
fi
AC_REQUIRE([AC_C_INLINE]) dnl because 'inline' is used in lib/openat.h
gl_MODULE_INDICATOR([fstatat]) dnl for lib/openat.h
gl_SYS_STAT_MODULE_INDICATOR([fstatat])

The AC_LIBOBJ([fstatat]) should put the fstatat module into libgnu.a.
Can you see why it is not having its intended
effect?  You might look into config.log for starters.

Also, can you double-check libgnu.a for all occurrences of fstatat
and/or rpl_fstatat?  Something like "nm -o libgnu.a | grep fstatat",
or whatever the moral equivalent of that is, on OpenBSD.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]