Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 19th May 2009
WeakSauceIII WeakSauceIII is offline
Port Guard
Join Date: May 2008
Posts: 36
Default Undefined function in OpenBSD

This may be all BSDs and may be better suited for a different area on the board such as general programming so I apologize if it's out of place. Here is my issue.

I compile a lot of stuff on OpenBSD andi am usually able to get it going. Recently I tried to compile the R statistics package which is not in ports/packages. I downloaded the code from their site. It all compiles fine but dies in the linking phase. What i see is an undefined reference to the function __isfinitel. This function is declared as 'extern' in math.h. The problem is at link time i do not see this function in any shared library. I grep the system and I don't see it in source or binary, just the extern declaration in math.h. Now the function __isfinite is define in all those places as well as included in libc.a and others. It seems the difference between these two similar named functions is the numeric precision they use. I am running 4.4. I can post output from all this if needed.
Thanks all for your time.
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ncurses & function keys JimC OpenBSD General 1 24th October 2011 02:36 PM
How to vectorize a function for numpy arrays in Python kasse Programming 0 26th August 2008 12:12 PM
ports/sysutils/pfstat; undefined reference to `gdImagePng' chris FreeBSD Ports and Packages 2 5th July 2008 06:31 PM

All times are GMT. The time now is 07:03 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick