bug-gnulib
[Top][All Lists]
Advanced

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

Re: missing module dependencies for vasnprintf


From: Bruno Haible
Subject: Re: missing module dependencies for vasnprintf
Date: Thu, 8 Apr 2010 23:54:57 +0200
User-agent: KMail/1.9.9

Hi,

Jarno Rajahalme wrote:
> modules/vasnprintf is missing dependencies, which results in compile error:
> 
> vasnprintf.c:103:28: error: isnanl-nolibm.h: No such file or directory
> vasnprintf.c:104:20: error: fpucw.h: No such file or directory
> vasnprintf.c:109:28: error: isnand-nolibm.h: No such file or directory
> vasnprintf.c:110:27: error: printf-frexp.h: No such file or directory
> vasnprintf.c:116:28: error: printf-frexpl.h: No such file or directory
> 
> I got rid of the errors with this change:
> *** modules/vasnprintf~       Fri Apr  2 17:41:34 2010
> --- modules/vasnprintf        Thu Apr  8 12:32:19 2010
> ***************
> *** 25,30 ****
> --- 25,38 ----
>  xsize
>  errno
>  memchr
> + fpucw
> + isnand-nolibm
> + isnanl-nolibm
> + frexp-nolibm
> + frexpl-nolibm
> + printf-frexp
> + printf-frexpl
> + 
> 
>  configure.ac:
>  gl_FUNC_VASNPRINTF

This should not be needed. The include files that you mention are only
used when NEED_PRINTF_LONG_DOUBLE || NEED_PRINTF_INFINITE_LONG_DOUBLE || 
NEED_PRINTF_DIRECTIVE_A || NEED_PRINTF_DOUBLE,
and these symbols will only be defined to 1 in <config.h> if a module
of the family *printf-posix is used, and each of these modules depends
on 'vasnprintf-posix', and 'vasnprintf-posix' depends on the modules
that you mention.

Can you tell us how to reproduce the compilation error that you got?
I.e.
  1) Which modules did you ask gnulib-tool to import?
  2) On which platform are you compiling the tarball?

Bruno




reply via email to

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