From: Erik Max Francis Newsgroups: comp.os.msdos.djgpp Subject: Re: pow(complex,complex) Date: Wed, 21 Jan 1998 20:23:10 -0800 Organization: Alcyone Systems Lines: 18 Message-ID: <34C6C9AE.447C7806@alcyone.com> References: <34C680D7 DOT 39D AT pop DOT a001 DOT sprintmail DOT com> NNTP-Posting-Host: newton.alcyone.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk C. W. Young wrote: > My question is this: Is the captioned function pow(complex,complex) > supposed to work in dgjpp? It compiles OK, will not run. What's the > deal? Without more details than "will not run" it's a little hard to help. Probably the problem is that you're not linking in the math library. Put -lm on the command line after the modules (.c, .cc, .o files) to link in the math library. -- Erik Max Francis, &tSftDotIotE / mailto:max AT alcyone DOT com Alcyone Systems / http://www.alcyone.com/max/ San Jose, California, United States / icbm://+37.20.07/-121.53.38 \ "Life may be / the product of imperfections." / (Marclo Gleiser)