Mail Archives: djgpp/1998/01/22/01:01:45
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)
- Raw text -