[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gcl-devel] Re: Building GCL 2.6.1 on FreeBSD 4.8
From: |
Chris Hall |
Subject: |
[Gcl-devel] Re: Building GCL 2.6.1 on FreeBSD 4.8 |
Date: |
Thu, 13 May 2004 12:04:20 -1000 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.2 (gnu/linux) |
Camm Maguire <address@hidden> writes:
> Greetings! You need gmake on FreeBSD. We should put together a build
> FAQ ....
>
Thanks! I built gmake, and it made a big difference.
Now I am getting the following error:
-----------( start
make[1]: Entering directory `/data/home/cjh/lisp/build/gcl-2.6.1/o'
gcc -c -Wall -DVOL=volatile -fsigned-char -fwritable-strings -pipe -O3
-fomit-frame-pointer -I/usr/include/machine -I/usr/src/include
-I/data/home/cjh/lisp/build/gcl-2.6.1/o -I../h -I../gcl-tk number.c
In file included from ../h/include.h:36,
from number.c:31:
../h/gclincl.h:128: #error "No isnormal found"
number.c: In function `number_to_double':
number.c:253: warning: implicit declaration of function `ISNORMAL'
make[1]: *** [number.o] Error 1
make[1]: Leaving directory `/data/home/cjh/lisp/build/gcl-2.6.1/o'
make: *** [unixport/saved_pre_gcl] Error 2
-----------( end
(The extra -I flags to gcc were put into makedefs by me in an effort to
resolve this.)
A Google search brought up this:
http://article.gmane.org/gmane.lisp.gcl.devel/2195
The patches seem to be there, since the h/gclincl.h has:
----------( start
#ifdef IN_NUM_CO
#ifdef HAVE_ISNORMAL
#define _GNU_SOURCE
#include <math.h>
#define ISNORMAL(a) isnormal(a)
#else
#ifdef HAVE_IEEEFP
#include <ieeefp.h>
#define ISNORMAL(a) (fpclass(a)>=FP_NZERO)
#else
#error "No isnormal found"
#endif
#endif
#endif
----------( end
The FreeBSD box I am using for this has multiple copies of math.h,
float.h and ieeefp.h, so I would guess that HAVE_ISNORMAL is undefined
for some reason.
----------( from config.log
configure:8863: checking float.h usability
configure:8876: gcc -c conftest.c >&5
configure:8879: $? = 0
configure:8882: test -s conftest.o
configure:8885: $? = 0
configure:8895: result: yes
configure:8899: checking float.h presence
configure:8910: gcc -E conftest.c
configure:8916: $? = 0
configure:8935: result: yes
configure:8971: checking for float.h
configure:8978: result: yes
configure:9000: checking for isnormal
configure:9021: gcc -o conftest conftest.c -lm >&5
/tmp/ccPOVE5t.o: In function `main':
/tmp/ccPOVE5t.o(.text+0x16): undefined reference to `isnormal'
/tmp/ccPOVE5t.o(.text+0x30): undefined reference to `isnormal'
----------( end config.log
Is there specific version of float.h that I need to use?
I've tried GCL 2.6.1-36 and 2.6.1-37 - same error.
Aloha,
+Chris
--
One thing you will probably remember well is any time you forgive and
forget.
-- Franklin P. Jones
pgpaNXxfBxP6h.pgp
Description: PGP signature
- [Gcl-devel] Building GCL 2.6.1 on FreeBSD 4.8, Chris Hall, 2004/05/13
- Re: [Gcl-devel] Building GCL 2.6.1 on FreeBSD 4.8, Camm Maguire, 2004/05/13
- [Gcl-devel] Re: Building GCL 2.6.1 on FreeBSD 4.8,
Chris Hall <=
- [Gcl-devel] Re: Building GCL 2.6.1 on FreeBSD 4.8, Magnus Henoch, 2004/05/14
- [Gcl-devel] Re: Building GCL 2.6.1 on FreeBSD 4.8, Chris Hall, 2004/05/14
- Re: [Gcl-devel] Re: Building GCL 2.6.1 on FreeBSD 4.8, Camm Maguire, 2004/05/18
- [Gcl-devel] Re: Building GCL 2.6.1 on FreeBSD 4.8, Magnus Henoch, 2004/05/18
- [Gcl-devel] Re: Building GCL 2.6.1 on FreeBSD 4.8, Magnus Henoch, 2004/05/25
- Re: [Gcl-devel] Re: Building GCL 2.6.1 on FreeBSD 4.8, Camm Maguire, 2004/05/25
- [Gcl-devel] Re: Building GCL 2.6.1 on FreeBSD 4.8, Magnus Henoch, 2004/05/27
- Re: [Gcl-devel] Re: Building GCL 2.6.1 on FreeBSD 4.8, Camm Maguire, 2004/05/27
[Gcl-devel] Re: Building GCL 2.6.1 on FreeBSD 4.8, Chris Hall, 2004/05/15