/usr/include path issue
Thu May 19 12:45:00 GMT 2011
> From: Gabor Alsecz
> 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
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
$ 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
More information about the Cygwin