cvs commit: ports/astro/libnova Makefile distinfo pkg-plist ports/astro/libnova/files patch-src::misc.c patch-src__utility.c

Edwin Groothuis edwin at mavetju.org
Mon Oct 10 16:21:04 PDT 2005


On Mon, Oct 10, 2005 at 01:59:16PM +0200, Pav Lucistnik wrote:
> Edwin Groothuis p??e v po 10. 10. 2005 v 21:46 +1000:
> > On Mon, Oct 10, 2005 at 11:31:31AM +0200, Pav Lucistnik wrote:
> > > Edwin Groothuis p??e v po 10. 10. 2005 v 09:07 +1000:
> > > > On Sun, Oct 09, 2005 at 03:35:23PM +0200, Pav Lucistnik wrote:
> > > > > > > mkdir .libs
> > > > > > > cc -pipe -g -Wall -o .libs/libnovaconfig libnova_config.o  ../src/.libs/libnova.so -lm -Wl,--rpath -Wl,/usr/local/lib
> > > > > > > ../src/.libs/libnova.so: undefined reference to `nan'
> > > > > > > *** Error code 1
> > > > > > 
> > > > > > Which OS version?
> > > > > 
> > > > > FreeBSD ikaros.oook.cz 6.0-BETA5 FreeBSD 6.0-BETA5 #0: Fri Sep 30 00:43:08 CEST 2005
> > > > 
> > > > Can you point me to a location of the full build log?
> > > 
> > > Copy and paste from my terminal. But I see kris beaten me on this.
> > 
> > I'm confused, is it resolved now?
> 
> Kris mailed you the log, no?

Yes, overlooked it.

It looks like a GCC 3.3 vs 3.4 issue. If somebody with a 6.x or
higher machine with GCC 3.3 on it can do the following test:

    $ cat a.c
    #include <math.h>
    #include <stdio.h>
    int main(void) {
	printf("%Lf\n",nanl("0"));
	printf("%Lf\n",nanl("1"));
    }
    $ make a
    $ ./a

to see if it works it would make me very happy.

Edwin

-- 
Edwin Groothuis      |            Personal website: http://www.mavetju.org
edwin at mavetju.org    |          Weblog: http://weblog.barnet.com.au/edwin/


More information about the cvs-all mailing list