public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: Missing headers with -mno-cygwin
  2001-11-11  8:26   ` Graham Murray
@ 2001-11-11  8:26     ` Charles Wilson
  0 siblings, 0 replies; 6+ messages in thread
From: Charles Wilson @ 2001-11-11  8:26 UTC (permalink / raw)
  To: Graham Murray; +Cc: Tomislav Goles, cygwin

Graham Murray wrote:
> 
> "Tomislav Goles" <tom@ait-tech.com> writes:
> 
> > I had the same (at least sounds like it) problem and fixed
> > it by going into setup and re-installing mingw and mingw-runtime
> > packages. I don't know how/what uninstalled those but now things
> > are back to normal.
> > Hope this helps,
> 
> Thanks. That seems to have fixed the problem.

This was caused by a packaging oops in cygwin-1.3.5-1.  It included
mingw and w32api files by mistake, and overwrote the REAL mingw and
w32api packages when installed.  When you upgrade to 1.3.5-2 (which
correctly does NOT contain those files), they were removed.

But the original ones from the ACTUAL mingw and w32api packages were not
reinstated.

As I said, a packaging error.

Anyway, the fix is to reinstall mingw and w32api.

--Chuck

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Missing headers with -mno-cygwin
  2001-11-11  8:26 Missing headers with -mno-cygwin Graham Murray
  2001-11-11  8:26 ` Tomislav Goles
@ 2001-11-11  8:26 ` Pavel Tsekov
  2001-11-11  8:26   ` Graham Murray
  1 sibling, 1 reply; 6+ messages in thread
From: Pavel Tsekov @ 2001-11-11  8:26 UTC (permalink / raw)
  To: Graham Murray; +Cc: cygwin

Graham Murray wrote:
> 
> On trying to build an application which uses -mno-cygwin, the
> compilation fails because it cannot find "standard" sytem headers. I
> added "-v" to the CFLAGS and the output follows. I am sure that this
> worked about 2 weeks ago, and since then I have only used the setup
> (from the web page) utility to keep everything up-to-date.
> 
> In file included from h-basic.h:20,
>                  from angband.h:19,
>                  from artifact.c:13:
> h-system.h:20: stdio.h: No such file or directory
> h-system.h:21: ctype.h: No such file or directory
> h-system.h:22: errno.h: No such file or directory
> h-system.h:28: stdlib.h: No such file or directory
> h-system.h:50: time.h: No such file or directory
> h-system.h:59: io.h: No such file or directory
> h-system.h:67: memory.h: No such file or directory
> h-system.h:73: fcntl.h: No such file or directory
> h-system.h:104: string.h: No such file or directory
> make: *** [artifact.o] Error 1

I hate to ask this :) Do you have these headers in the
/usr/include/mingw directory ?

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: Missing headers with -mno-cygwin
  2001-11-11  8:26 Missing headers with -mno-cygwin Graham Murray
@ 2001-11-11  8:26 ` Tomislav Goles
  2001-11-11  8:26   ` Graham Murray
  2001-11-11  8:26 ` Pavel Tsekov
  1 sibling, 1 reply; 6+ messages in thread
From: Tomislav Goles @ 2001-11-11  8:26 UTC (permalink / raw)
  To: Graham Murray; +Cc: cygwin


I had the same (at least sounds like it) problem and fixed
it by going into setup and re-installing mingw and mingw-runtime
packages. I don't know how/what uninstalled those but now things
are back to normal.
Hope this helps,
Tomislav Goles

> -----Original Message-----
> From: cygwin-owner@sources.redhat.com
> [mailto:cygwin-owner@sources.redhat.com]On Behalf Of Graham Murray
> Sent: Thursday, November 15, 2001 8:21 AM
> To: cygwin@cygwin.com
> Subject: Missing headers with -mno-cygwin
> 
> 
> On trying to build an application which uses -mno-cygwin, the
> compilation fails because it cannot find "standard" sytem headers. I
> added "-v" to the CFLAGS and the output follows. I am sure that this
> worked about 2 weeks ago, and since then I have only used the setup
> (from the web page) utility to keep everything up-to-date. 
> 
> $ make -f makefile.cyg
> gcc -Wall -W -v -pedantic -mno-cygwin -O2 -fno-strength-reduce 
> -DUSE_TRANSPARENC
> Y -DWINDOWS  -c -o artifact.o artifact.c
> Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/specs
> gcc version 2.95.3-5 (cygwin special)
>  /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/cpp0.exe -lang-c -v 
> -D__GNUC__=2 -D__G
> NUC_MINOR__=95 -D_X86_=1 -D_X86_=1 -Asystem(winnt) -D__OPTIMIZE__ 
> -Wall -W -peda
> ntic -Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__ -Di686 
> -Dpentiumpro
> -D__i686 -D__i686__ -D__pentiumpro -D__pentiumpro__ 
> -D__stdcall=__attribute__((_
> _stdcall__)) -D__cdecl=__attribute__((__cdecl__)) 
> -D_stdcall=__attribute__((__st
> dcall__)) -D_cdecl=__attribute__((__cdecl__)) 
> -D__declspec(x)=__attribute__((x))
>  -D__MSVCRT__ -D__MINGW32__ -isystem /usr/local/include/mingw 
> -idirafter /usr/in
> clude/mingw -DWIN32 -DWINNT -D_WIN32 -D_WIN32 -D__WIN32 -D__WIN32__ 
> -idirafter /
> usr/include/w32api -DUSE_TRANSPARENCY -DWINDOWS artifact.c 
> /cygdrive/c/DOCUME~1/
> gmurray/LOCALS~1/Temp/ccibUs3k.i
> GNU CPP version 2.95.3-5 (cygwin special) (80386, BSD syntax)
> #include "..." search starts here:
> #include <...> search starts here:
>  /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/include
>  /usr/include/mingw
>  /usr/include/w32api
> End of search list.
> The following default directories have been omitted from the search path:
> End of omitted list.
> In file included from h-basic.h:20,
>                  from angband.h:19,
>                  from artifact.c:13:
> h-system.h:20: stdio.h: No such file or directory
> h-system.h:21: ctype.h: No such file or directory
> h-system.h:22: errno.h: No such file or directory
> h-system.h:28: stdlib.h: No such file or directory
> h-system.h:50: time.h: No such file or directory
> h-system.h:59: io.h: No such file or directory
> h-system.h:67: memory.h: No such file or directory
> h-system.h:73: fcntl.h: No such file or directory
> h-system.h:104: string.h: No such file or directory
> make: *** [artifact.o] Error 1
> 
> 
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
> 
> 


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Missing headers with -mno-cygwin
@ 2001-11-11  8:26 Graham Murray
  2001-11-11  8:26 ` Tomislav Goles
  2001-11-11  8:26 ` Pavel Tsekov
  0 siblings, 2 replies; 6+ messages in thread
From: Graham Murray @ 2001-11-11  8:26 UTC (permalink / raw)
  To: cygwin

On trying to build an application which uses -mno-cygwin, the
compilation fails because it cannot find "standard" sytem headers. I
added "-v" to the CFLAGS and the output follows. I am sure that this
worked about 2 weeks ago, and since then I have only used the setup
(from the web page) utility to keep everything up-to-date. 

$ make -f makefile.cyg
gcc -Wall -W -v -pedantic -mno-cygwin -O2 -fno-strength-reduce -DUSE_TRANSPARENC
Y -DWINDOWS  -c -o artifact.o artifact.c
Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/specs
gcc version 2.95.3-5 (cygwin special)
 /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/cpp0.exe -lang-c -v -D__GNUC__=2 -D__G
NUC_MINOR__=95 -D_X86_=1 -D_X86_=1 -Asystem(winnt) -D__OPTIMIZE__ -Wall -W -peda
ntic -Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__ -Di686 -Dpentiumpro
-D__i686 -D__i686__ -D__pentiumpro -D__pentiumpro__ -D__stdcall=__attribute__((_
_stdcall__)) -D__cdecl=__attribute__((__cdecl__)) -D_stdcall=__attribute__((__st
dcall__)) -D_cdecl=__attribute__((__cdecl__)) -D__declspec(x)=__attribute__((x))
 -D__MSVCRT__ -D__MINGW32__ -isystem /usr/local/include/mingw -idirafter /usr/in
clude/mingw -DWIN32 -DWINNT -D_WIN32 -D_WIN32 -D__WIN32 -D__WIN32__ -idirafter /
usr/include/w32api -DUSE_TRANSPARENCY -DWINDOWS artifact.c /cygdrive/c/DOCUME~1/
gmurray/LOCALS~1/Temp/ccibUs3k.i
GNU CPP version 2.95.3-5 (cygwin special) (80386, BSD syntax)
#include "..." search starts here:
#include <...> search starts here:
 /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/include
 /usr/include/mingw
 /usr/include/w32api
End of search list.
The following default directories have been omitted from the search path:
End of omitted list.
In file included from h-basic.h:20,
                 from angband.h:19,
                 from artifact.c:13:
h-system.h:20: stdio.h: No such file or directory
h-system.h:21: ctype.h: No such file or directory
h-system.h:22: errno.h: No such file or directory
h-system.h:28: stdlib.h: No such file or directory
h-system.h:50: time.h: No such file or directory
h-system.h:59: io.h: No such file or directory
h-system.h:67: memory.h: No such file or directory
h-system.h:73: fcntl.h: No such file or directory
h-system.h:104: string.h: No such file or directory
make: *** [artifact.o] Error 1


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Missing headers with -mno-cygwin
  2001-11-11  8:26 ` Tomislav Goles
@ 2001-11-11  8:26   ` Graham Murray
  2001-11-11  8:26     ` Charles Wilson
  0 siblings, 1 reply; 6+ messages in thread
From: Graham Murray @ 2001-11-11  8:26 UTC (permalink / raw)
  To: Tomislav Goles; +Cc: cygwin

"Tomislav Goles" <tom@ait-tech.com> writes:

> I had the same (at least sounds like it) problem and fixed
> it by going into setup and re-installing mingw and mingw-runtime
> packages. I don't know how/what uninstalled those but now things
> are back to normal.
> Hope this helps,

Thanks. That seems to have fixed the problem.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Missing headers with -mno-cygwin
  2001-11-11  8:26 ` Pavel Tsekov
@ 2001-11-11  8:26   ` Graham Murray
  0 siblings, 0 replies; 6+ messages in thread
From: Graham Murray @ 2001-11-11  8:26 UTC (permalink / raw)
  To: Pavel Tsekov; +Cc: cygwin

Pavel Tsekov <ptsekov@syntrex.com> writes:

> Graham Murray wrote:
>> 
>> On trying to build an application which uses -mno-cygwin, the
>> compilation fails because it cannot find "standard" sytem headers. I
>> added "-v" to the CFLAGS and the output follows. I am sure that this
>> worked about 2 weeks ago, and since then I have only used the setup
>> (from the web page) utility to keep everything up-to-date.
>> 
>> In file included from h-basic.h:20,
>>                  from angband.h:19,
>>                  from artifact.c:13:
>> h-system.h:20: stdio.h: No such file or directory
>> h-system.h:21: ctype.h: No such file or directory
>> h-system.h:22: errno.h: No such file or directory
>> h-system.h:28: stdlib.h: No such file or directory
>> h-system.h:50: time.h: No such file or directory
>> h-system.h:59: io.h: No such file or directory
>> h-system.h:67: memory.h: No such file or directory
>> h-system.h:73: fcntl.h: No such file or directory
>> h-system.h:104: string.h: No such file or directory
>> make: *** [artifact.o] Error 1
>
> I hate to ask this :) Do you have these headers in the
> /usr/include/mingw directory ?

No. The /usr/include/mingw directory is almost empty.

  c:/cygwin/usr/include/mingw:
  total 3  free 6057282
  drwxrwxrwx   2 gmurray  root        0 Nov 13 07:57 .
  drwxrwxrwx   2 gmurray  root        0 Nov 15 12:54 ..
  -rw-rw-rw-   1 gmurray  root       16 May 14  2001 GL
  -rw-rw-rw-   1 gmurray  root     2721 Jun 18 03:02 _G_config.h
  -rw-rw-rw-   1 gmurray  root       20 May 14  2001 glui.h
  -rw-rw-rw-   1 gmurray  root       21 May 14  2001 gluix.h


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2001-11-15 17:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-11  8:26 Missing headers with -mno-cygwin Graham Murray
2001-11-11  8:26 ` Tomislav Goles
2001-11-11  8:26   ` Graham Murray
2001-11-11  8:26     ` Charles Wilson
2001-11-11  8:26 ` Pavel Tsekov
2001-11-11  8:26   ` Graham Murray

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).