From edd at debian.org  Tue Apr  4 20:07:52 2006
From: edd at debian.org (Dirk Eddelbuettel)
Date: Tue, 4 Apr 2006 13:07:52 -0500
Subject: [Rd] Build failure with this morning's R-alpha
In-Reply-To: <17457.36766.643093.231884@basebud.nulle.part>
References: <17457.36766.643093.231884@basebud.nulle.part>
Message-ID: <17458.46584.731857.482767@basebud.nulle.part>


On 3 April 2006 at 16:11, Dirk Eddelbuettel wrote:
| Trying to build a Debian snapshot of R-alpha based on last night's tarball,
| it fails with what looks like a missing -lm linking directive:
| 
| [...]
| gcc     -I. -I../../src/include -I../../src/include  -DHAVE_CONFIG_H  -fpic  -O2  -c Rmain.c -o Rmain.o
| gcc -Wl,--export-dynamic  -o R.bin Rmain.o  -L../../lib -lR
| ../../lib/libR.so: undefined reference to `isfinite'

Entirely my fault -- I had been resetting CFLAGS and friends in debian/rules,
which lead to the all-important  -std=gnu99   being dropped from the compiler
flags.  And gcc up to version 3.4.* seems to forgive this, whereas 4.*
versions want it.  

Thanks, Dirk

-- 
Hell, there are no rules here - we're trying to accomplish something. 
                                                  -- Thomas A. Edison



[Rd] Build failure with this morning's R-alpha
Dirk Eddelbuettel