X-Spam-Check-By: sourceware.org Date: Sat, 11 Aug 2007 13:47:41 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: compiling with gmp not working Message-ID: <20070811174741.GB19084@ednor.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <46BDDF6F DOT 1070800 AT umich DOT edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46BDDF6F.1070800@umich.edu> User-Agent: Mutt/1.5.15 (2007-04-06) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Sat, Aug 11, 2007 at 12:10:23PM -0400, Ankit Singla wrote: > As a matter of fact, I can't seem to use many of the basic build tools > cygwin provides. A pidgin-2.1.0 configure tells me I don't have inet_aton or > regex, both of which, if I understand correctly, are included in a base > cygwin install. The headers for both of those also exist in /usr/include. > Calling configure with "CPP_FLAGS=-I/usr/include" (in both of these cases) > also results in the same issue. Think about it for a minute. What kind of compiler would we be providing if you had to specifically add -I/usr/include to the command line? The question was whether you have installed libgmp-devel. That's a separate package from gmp. You can search for files in packages at: http://cygwin.com/packages/ As to inet_aton not being available, you'd have to inspect the configure script to see why it thinks it isn't available. As a wild guess, I'd have to wonder if you are somehow specifying "gcc -mno-cygwin" on the compile line but still expecting cygwin header files to be available. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/