This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: /usr/include path issue
> 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