From: "Nellis, Kenneth" <Kenneth.Nellis@acs-inc.com>
To: <cygwin@cygwin.com>
Subject: RE: /usr/include path issue
Date: Thu, 19 May 2011 12:45:00 -0000 [thread overview]
Message-ID: <2BF01EB27B56CC478AD6E5A0A28931F2028A3BE6@A1DAL1SWPES19MB.ams.acs-inc.net> (raw)
In-Reply-To: <BANLkTima=eDmHqsHA-i4BzF-ko77HjY5pA@mail.gmail.com>
> From: Gabor Alsecz
> <snip/>
> And when running gcc from bash with the followin command:
> gcc getip.c
>
> i receive the following error:
> fatal error: netdb.h: No such file or directory
>
> So how can i add the fine include directory path to the compiler or
> cygwin bash to find the .h includes?
>
> Same issue (include .h file(s) not found) when i try to
> compile/configure Kannel under cygwin
>
> Regards,
> Gabor
I get a different error from yours when gcc can't find an include
file, so I'm wondering if it's not a /usr/include path issue, but
something else?
$ gcc --version
gcc (GCC) 4.3.4 20090804 (release) 1
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ gcc x.c
x.c:1:17: error: xyz.h: No such file or directory
$
--Ken Nellis
prev parent reply other threads:[~2011-05-19 12:45 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-19 6:54 Gabor Alsecz
2011-05-19 10:20 ` Csaba Raduly
2011-05-19 10:34 ` Gábor Alsecz
2011-05-19 16:32 ` Christopher Faylor
2011-05-19 12:45 ` Nellis, Kenneth [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2BF01EB27B56CC478AD6E5A0A28931F2028A3BE6@A1DAL1SWPES19MB.ams.acs-inc.net \
--to=kenneth.nellis@acs-inc.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).