Re: [Rd] Build failure with this morning's R-alpha

From: Dirk Eddelbuettel <>
Date: Tue 04 Apr 2006 - 18:07:52 GMT

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/ 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

______________________________________________ mailing list
Received on Wed Apr 05 04:47:08 2006

This archive was generated by hypermail 2.1.8 : Tue 04 Apr 2006 - 20:16:53 GMT