From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26032 invoked by alias); 19 May 2011 06:54:35 -0000 Received: (qmail 26018 invoked by uid 22791); 19 May 2011 06:54:34 -0000 X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from mail-pw0-f43.google.com (HELO mail-pw0-f43.google.com) (209.85.160.43) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 19 May 2011 06:54:20 +0000 Received: by pwj4 with SMTP id 4so1468684pwj.2 for ; Wed, 18 May 2011 23:54:19 -0700 (PDT) MIME-Version: 1.0 Received: by 10.142.12.16 with SMTP id 16mr1595287wfl.253.1305788059328; Wed, 18 May 2011 23:54:19 -0700 (PDT) Received: by 10.143.68.17 with HTTP; Wed, 18 May 2011 23:54:19 -0700 (PDT) Date: Thu, 19 May 2011 06:54:00 -0000 Message-ID: Subject: /usr/include path issue From: Gabor Alsecz To: cygwin@cygwin.com Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2011-05/txt/msg00266.txt.bz2 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 #include #include #include #include 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