From: Doug Kaufman Newsgroups: comp.os.msdos.djgpp Subject: Re: (none) Date: Wed, 27 Nov 2002 02:57:13 +0000 (UTC) Organization: a2i network Lines: 35 Message-ID: References: <20021125170011 DOT 15603 DOT qmail AT mail DOT com> NNTP-Posting-Host: yellow.rahul.net X-Trace: blue.rahul.net 1038365833 19089 192.160.13.18 (27 Nov 2002 02:57:13 GMT) X-Complaints-To: support AT rahul DOT net NNTP-Posting-Date: Wed, 27 Nov 2002 02:57:13 +0000 (UTC) X-Newsreader: NN version 6.5.6 (NOV) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "reza afshar" writes: >i running a machine with windows98 os. >can you help me to compile this program? >... >---------------------------------------- >/* fileSaveAs.c >Compile with: >gcc -g -o fileSaveAs -lssl -lcrypto fileSaveAs.c >To compile, you'll need packages libssl09-dev and libCrypto. The usual source for libssl.a and libcrypto.a for DJGPP is the openssl distribution. See http://www.openssl.org. The latest version of the 0.9.7 series should configure and compile with DJGPP under a bash shell. See the file in the distribution called "INSTALL.DJGPP". You will need the watt-32 library on your system before trying to compile openssl. I am unfamiliar with packages named "libssl09-dev" and "libCrypto"? Where did you get these package names? Are you sure that this is something that has been ported to DJGPP? I haven't checked to see if my latest patch for openssl has been committed to the CVS code. If you have trouble compiling under DJGPP, see my patch in the openssl-dev mailing list for 19 November 2002, entitled "DJGPP patch for openssl-0.9.7". Note that the use of the watt-32 library implies a DOS based approach to sockets. You will not be able to use Winsock with programs compiled with watt-32 unless you also use the ndis3pkt program. Doug -- Doug Kaufman Internet: dkaufman AT rahul DOT net