reassign 387459 mcmcpack thanks On Thu, Sep 14, 2006 at 08:56:31AM -0500, Stephen R Marenka wrote: > Package: libc6-dev > Version: 2.3.6.ds1-4 > Severity: important > > While building mcmcpack, we encountered the following error. > > | g++ -I/usr/share/R/include -I/usr/share/R/include > | -DSCYTHE_COMPILE_DIRECT -DSCYTHE_NO_RANGE -fpic -g -O2 -c > | distributions.cc -o distributions.o > | distributions.cc: In function 'double trunc(double)': > | distributions.cc:51: error: redefinition of 'double trunc(double)' > | /usr/include/bits/mathinline.h:184: error: 'double trunc(double)' > | previously defined here > | make[1]: *** [distributions.o] Error 1 > > This bug is similar to the one fixed in 340871. > > The buildd log may be found at > <http://buildd.debian.org/fetch.php?&pkg=mcmcpack&ver=0.7-2-1&arch=m68k&stamp=1157995262&file=log&as=raw> > > Thanks,
no it's not, look at distributions.cc, it says: #ifndef HAVE_TRUNC inline double trunc(double x) throw ()- { if (x >= 0) return floor(x); else return ceil(x); } #endif Somehow that code got enabled whereas trunc exists in the libm, and that HAVE_TRUNC should be set. I've not looked further, but the problem is definitely in mcmcpack. Cheers, -- ·O· Pierre Habouzit ··O [EMAIL PROTECTED] OOO http://www.madism.org
pgpPf3z6qjCIk.pgp
Description: PGP signature