bug-gnulib
[Top][All Lists]
Advanced

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

Re: Help needed (MinGW)


From: Bruno Haible
Subject: Re: Help needed (MinGW)
Date: Wed, 03 Jan 2018 20:33:21 +0100
User-agent: KMail/5.1.3 (Linux/4.4.0-101-generic; KDE/5.18.0; x86_64; ; )

Hi Tim,

> I currently see during MinGW build:
> 
>   CC       fatal-signal.lo
> In file included from /usr/share/mingw-w64/include/signal.h:10:0,
>                  from ./signal.h:52,
>                  from fatal-signal.c:26:
> ./signal.h:593:1: error: expected identifier or '(' before numeric constant
>  _GL_FUNCDECL_SYS (pthread_sigmask, int,
>  ^
> 
> Any idea what is going on here, it's in the gnulib area ?

The usual tips for such an error:

1) Does it still occur after you did "make distclean", then reconfigure
   and "make"?

2) Use CC="gcc -no-integrated-cpp" to get higher quality diagnostics from GCC.

3) Run "make V=1" to see the actual compilation command line. [1]
   Then modify that command line to add -E instead of -c -o options, and
   redirect that preprocessor output to a file. Analyze it.

Bruno

[1] 
https://www.gnu.org/software/automake/manual/html_node/Automake-Silent-Rules.html




reply via email to

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