Cannot build cygwin DLL any more: stddef.h/stdarg.h not found, and MAGIC bad

Christopher Faylor me@cgf.cx
Sun Jul 18 02:22:00 GMT 2004


On Sun, Jul 18, 2004 at 01:58:05AM +0200, Gerd Spalink wrote:
>Hello,
>
>I am just desperately trying to get my DLL build environment up and running
>again. I am building cygwin with cygwin on a W2K machine.
>Needless to say, I started from a clean CVS checkout / configure run.
>When files from the winsup directory are compiled, the compiler
>stops because stddef.h and stdarg.h are not being found. One of the compiler
>flags is 
>
>-nostdinc++ -nostdinc
>
>Is this correct, or does it ring a bell in anyone?

Yes.  You can check back in CVS to see how long those to options have
been on the command line.  You'll have to debug this further,
unfortunately.

>For now, I fixed it by copying the two files to
>.../src/newlib/libc/include
>
>But then, I get the following two warnings:
>
>*** WARNING WARNING WARNING WARNING WARNING ***
>*** ../../../../src/winsup/cygwin/shared_info.h: magic number for USER_MAGIC changed old 0x8dc7b1d5U != new 0xefaed2a6U
>*** WARNING WARNING WARNING WARNING WARNING ***
>*** WARNING WARNING WARNING WARNING WARNING ***
>*** ../../../../src/winsup/cygwin/shared_info.h: magic number for SHARED_MAGIC changed old 0x818f75beU != new 0xefaed2a6U
>*** WARNING WARNING WARNING WARNING WARNING ***
>
>Is this related to the first problem?

Not likely.  See:
http://sources.redhat.com/ml/cygwin-developers/2002-01/msg00003.html

The cygwin-developers archive is protected but your login is your email
address: Gerd.Spalink@t-online.de (case is important) and your password
is cygdev41 .

cygdev41 should be, in fact, everybody's password.

cgf



More information about the Cygwin-developers mailing list