This is the mail archive of the cygwin-developers@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


On Sun, 18 Jul 2004, 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?
>
> 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

Gerd,

FYI,

cvs -d :pserver:anoncvs@sources.redhat.com:/cvs/src login
cvs -d :pserver:anoncvs@sources.redhat.com:/cvs/src checkout winsup
mkdir build && cd build && ../src/configure -v --enable-debugging && make -k all

just worked for me (from a new empty directory).  This will not build
dumper.exe, but should build everything else (including the Cygwin dll),
with debugging.

HTH,
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]