Richard, I think the FLAT_INC in ectest.c was something you introduced when committing the Windows CE changes. It looks like other files, like enginetest.c, simply include <openssl/e_os2.h>.
Steven -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED] via RT Sent: Wednesday, 20 November 2002 2:46 AM Cc: [EMAIL PROTECTED] Subject: [openssl.org #347] DJGPP patch for openssl-0.9.7 The following patch allows openssl-0.9.7 to compile under DJGPP. The process was broken by two recent changes. Gisle's patch left out some required headers. The changes for Cygwin added PATH directives incompatible with the DJGPP path separator of ";" rather than ":". In addition there seems to be an error in ectest.c. That file is run from the "test" subdirectory. The "FLAT_INC" portion of the code doesn't work under DJGPP, and I am not sure how it would under other platforms (referring to "../.." when it is one directory under the top directory). None of the other test files which include <e_os.h> use this construction. I would think that either all need it, or none of them. I also changed INSTALL.DJGPP to reflect the need to put WATT_ROOT in the environment prior to configuring. I am attaching the patch, since it has long lines that would get munged in the archives. Since I am in the US, I am also sending a copy to the US government site. With the new regulations, it doesn't appear that I can just send a copy of this email. Look for a copy of my notification in openssl-dev with subject "TSU Request - encryption". The patch is against the 20001115 snapshot. After applying tha patch, there are no warnings with "make depend, make, make test, or make install". This was only tested with "Configure no-threads no-idea no-rc5 no-mdc2 386 --prefix=/dev/env/DJDIR DJGPP". Doug __ Doug Kaufman Internet: [EMAIL PROTECTED] ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED] ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]