public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* /usr/include path issue
@ 2011-05-19  6:54 Gabor Alsecz
  2011-05-19 10:20 ` Csaba Raduly
  2011-05-19 12:45 ` Nellis, Kenneth
  0 siblings, 2 replies; 5+ messages in thread
From: Gabor Alsecz @ 2011-05-19  6:54 UTC (permalink / raw)
  To: cygwin

Hi All,

I am using the latest cygwin installation and I have an issue with my
/usr/include directory under cygwin bash.

my .c file snippet looks like this:

#include <netdb.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>

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

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

end of thread, other threads:[~2011-05-19 16:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-19  6:54 /usr/include path issue 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 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).