🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #1088

Re: Can't link in math libs in djgpp - extra info

#1088
From: Glen Harris
Date: Fri, 21 Aug 1992 02:01
8 lines
983 bytes
>  I've installed all the djgpp distribution files in my djgpp directory, but 
>when I try to use a maths function the error is as follows:
>test.o: Undefined symbol _tan referenced from text segment
>  I have all the set vars in my autoexec bat and a simple "Hello World" 
>program works, so <stdio.h> is OK.  By the way I _am_ using <math.h>. 8-}
>  Any ideas?

  Sorry, I should have said that I am also using -lm as a compiler argument.
Technical Details
Message-ID: <glen.91.714362482@wench.ece.jcu.edu.au>
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!bunyip.cc.uq.oz.au!marlin.jcu.edu.au!ecepc4.ece.jcu.edu.au!glen
References: <glen.88.714352100@wench.ece.jcu.edu.au>

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!bunyip.cc.uq.oz.au!marlin.jcu.edu.au!ecepc4.ece.jcu.edu.au!glen
From: glen@wench.ece.jcu.edu.au (Glen Harris)
Subject: Re: Can't link in math libs in djgpp - extra info
Message-ID: <glen.91.714362482@wench.ece.jcu.edu.au>
Summary: frustration
Sender: news@marlin.jcu.edu.au (USENET News System)
Organization: Electrical and Computer Engineering, JCUNQ
References: <glen.88.714352100@wench.ece.jcu.edu.au>
Date: Fri, 21 Aug 1992 02:01:22 GMT
Lines: 11