Link error under solaris 8

Christian Maeder maeder at tzi.de
Wed Nov 8 09:09:31 EST 2006


Christian Maeder schrieb:
> Hi,
> 
> I get a link error under sparc sun Solaris 8, when linking my stage2
> compiler. I have "undefined reference to" a couple of mathematical
> function like powf, tanhf, coshf, sinhf, atanf, acosf, asinf, tanf,
> cosf, sinf, sqrtf, logf, and expf
> 
> Is libm version 2 needed? The stage1 compiler was content with libm
> version 1.

The stage2 compiler could only be linked with libm.so.2 (although "nm"
listed the above functions also in libm.so.1.)

Christian


More information about the Glasgow-haskell-users mailing list