From: Erik Max Francis Newsgroups: comp.os.msdos.djgpp Subject: Re: math - undefined references Date: Wed, 14 Oct 1998 13:47:10 -0700 Organization: Alcyone Systems Lines: 27 Message-ID: <36250DCE.1CE274F8@alcyone.com> References: NNTP-Posting-Host: charmaine.alcyone.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.01 (X11; I; Linux 2.0.34 i686) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Eli Zaretskii wrote: > So please post more details, including the exact command line, the > version of the compiler, etc. Also try my program, just to be sure > this > isn't specific to your program. > > #include > #include > #include > > int main (int argc, char **argv) > { > return printf ("%f\n", sinf(atoi(argv[1]))); > } Correct me if I'm wrong, but isn't sinf (and most of the other ...f functions) non-ANSI? -- Erik Max Francis / email max AT alcyone DOT com / whois mf303 / icq 16063900 Alcyone Systems / irc maxxon (efnet) / finger max AT sade DOT alcyone DOT com San Jose, CA / languages En, Eo / web http://www.alcyone.com/max/ USA / icbm 37 20 07 N 121 53 38 W / &tSftDotIotE \ / Be thine own place, or the world's thy jail. / John Donne