Re: Problem during compiling using HEAD of RAT from CVS...

From: Christopher Tunnell (tunnell@mail.utexas.edu)
Date: Wed Sep 07 2005 - 19:01:41 CDT


Hi Steve,

There have been many problems with the gamma function between systems.
Everybody's machine seems to support something different. It also seems
like the only way to support everybody at the moment would be a hack or
to maintain our own gamma function, which would come from a numerical
recipes book.

In the mean time, were you able to compile before the latest commit? If
so, I would revert RATSimpleDAQ.cc to the previous version, which just
used tgamma, not lgamma for the time being. Run:

$ cvs update -r 1.6 src/RATSimpleDAQ.cc

-Chris

Stephen Jacob Sekula wrote:

> Hi Folks,
>
> I wanted to report a build failure using the HEAD of RAT from CVS.
> Here are my system parameters:
>
> [sekula@amsgse1 RAT]$ cat /etc/redhat-release
> Red Hat Linux release 7.2 (Enigma)
>
> [sekula@amsgse1 RAT]$ gcc -v
> Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
> gcc version 2.96 20000731 (Red Hat Linux 7.2 2.96-112.7.2)
>
>
> This is an old OS installation, I'll admit. I'm about to try this on a
> Scientific Linux 3.05 x86_64 machine.
>
> Here is the failure:
>
> RATSimpleDAQ::DoublePolyaQSpectrum (float)':
> src/RATSimpleDAQ.cc:117: `lgamma' undeclared (first use this function)
> src/RATSimpleDAQ.cc:117: (Each undeclared identifier is reported only
> once for each function it appears in.)
> gmake: *** [build/Linux-g++/RATSimpleDAQ.o] Error 1
>
>
> Cheers,
> Steve



This archive was generated by hypermail 2.1.6 : Thu Sep 08 2005 - 00:01:02 CDT