This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
netinet/in.h and solution for `_impure_ptr' problems
- From: skyper <skyper at segfault dot net>
- To: cygwin at cygwin dot com
- Date: Tue, 15 Oct 2002 17:54:23 +0000
- Subject: netinet/in.h and solution for `_impure_ptr' problems
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/