Message-ID: <36243765.4497888F@arctic.net> From: "Benjamin R. Saylor" X-Mailer: Mozilla 4.05 [en] (Win95; I) MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: math - undefined references Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 5 Date: Tue, 13 Oct 1998 21:32:21 -0800 NNTP-Posting-Host: 198.51.13.2 X-Complaints-To: support AT newshosting DOT com X-Trace: news.siscom.net 908343304 198.51.13.2 (Wed, 14 Oct 1998 01:35:04 EDT) NNTP-Posting-Date: Wed, 14 Oct 1998 01:35:04 EDT Organization: Newshosting To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com When I compile my program, I get the message "undefined reference to sinf." This doesn't happen with sin(), just sinf() (I haven't tried other *f()'s). I've tried adding -lm to both the start and the end of the command line as it says in the FAQ, but it doesn't work! What's going on?