From: Damian Yerrick Newsgroups: comp.os.msdos.djgpp Subject: Re: Problems on making a .exe file Organization: Pin Eight Software http://pineight.8m.com/ Message-ID: References: <482568BE DOT 00289DE8 DOT 00 AT mercury DOT shanghaigm DOT com> X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 24 X-Trace: /K0ZEBv3M7FrHyLkpm908MOuTYn0vsOGvmZomidTEucvIHyyKfnpA+M4U/fLUXjGVoHySoh88q6g!aiXQM2z9q42vNXz3RFWq4vZ8ZymeFYRGUIgpcjix6I4Z9RZt1RIfHJ3iIvQ7Fjp9Dpe0NUVbKh/p!wcrL X-Complaints-To: abuse AT gte DOT net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly NNTP-Posting-Date: Tue, 11 Apr 2000 14:44:06 GMT Distribution: world Date: Tue, 11 Apr 2000 14:44:07 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Tue, 11 Apr 2000 15:15:37 +0900, tao_Zhou AT Shanghaigm DOT com wrote: >I have made a networking program with djgpp. >All the files were compiled successfully. But >some problems came out when I started to make >them into a .exe file. The message told me some >functions used in my program were undefined, >such as "inet_addr" "gethostbyname". >I checked out all the header files >which are involved in my program. Nothing is missing. > May I have some idea of you? >Any recommendation is appreciated. These functions are not part of the standard C library distribution that comes with DJGPP. You'll need watt32 or libsocket for those. Look for them on Google. -- Damian Yerrick "I refuse to listen to those who refuse to listen to reason." See the whole sig: http://www.rose-hulman.edu/~yerricde/sig.html This is McAfee VirusScan. Add these two lines to your signature to prevent the spread of signature viruses. http://www.mcafee.com/