Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Date: Tue, 15 Oct 2002 17:54:23 +0000 From: skyper To: cygwin AT cygwin DOT com Subject: netinet/in.h and solution for `_impure_ptr' problems Message-ID: <20021015175423.GN9066@segfault.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.25i Hi, first let me get some hints to all those who try to run into the same problems as i did. I tried to compile some small crypto/openssl program under cygwin with -mno-cygwin. The compiler complained that the header files of openssl/err.h could not be found. -mno-cygwin forces the compiler to look into a different default directory for the include files (not /usr/include). Dont do the same mistake as i did, do not add -I/usr/include or you will get above error (_impure_ptr and others). Instead copy the missing headers to a different directory (to ur srctop directory for example or to the new default location). That's it. worked fine for me. now to my short question: what happened to netinet/in.h? And what happened to cygwin/in.h? crypto.c:4: netinet/in.h: No such file or directory Is there already some famous libcompat,libbsd, libiberty, libwhatever for cygwin which provides (for example) snprintf())? skyper -- PGP: dig @segfault.net skyper axfr|grep TX|cut -f2 -d\"|sort|cut -f2 -d\; -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/