www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/08/24/07:16:45

Date: Thu, 24 Aug 1995 07:04:14 -0400
To: djgpp AT sun DOT soe DOT clarkson DOT edu
From: egley AT albany DOT net (Skip Egley)
Subject: undefined references to sin, cos in z_exp

        
Thanks to everyone who replied to my last note about the undefined
references which were found once I added the path to the f2c library.

I've got it down to 4 undefined references!

Now I get:
z_exp.c(.text+0x26): undefined reference to 'cos'
z_exp.c(.text+0x38): undefined reference to 'sin'
i_dnnt.c(.text+0x30): undefined reference to 'floor'
i_dnnt.c(.text+0x47): undefined reference to 'floor'

That's it!  Almost there.
Any pointers to what I should be doing to fix this?  I found z_exp.c all
over the place.  I can't understand how it's getting into this compilation
in the first place.

One other thing.  I'm trying to set up my makefile can have a line in it
where the result is simply a load.  I remember reading in the FAQ about
having to have another [ld] section and putting in your library path for the
loader.  I did that, but it's still not finding the libraries. 

Thanks,
Skip Egley

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019