This is the mail archive of the
cygwin-developers@cygwin.com
mailing list for the Cygwin project.
Cannot build cygwin DLL any more: stddef.h/stdarg.h not found, and MAGIC bad
- From: Gerd dot Spalink at t-online dot de (Gerd Spalink)
- To: "cygwin-developers at cygwin dot com" <cygwin-developers at cygwin dot com>
- Date: Sun, 18 Jul 2004 01:58:05 +0200
- Subject: Cannot build cygwin DLL any more: stddef.h/stdarg.h not found, and MAGIC bad
- Organization: privat
- Reply-to: "Gerd dot Spalink at t-online dot de" <Gerd dot Spalink at t-online dot de>
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?
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?
Gerd Spalink