[Insight-developers] vxl/v3p/netlib test error on Linux

Bill Hoffman bill.hoffman@kitware.com
Wed, 21 Feb 2001 09:35:10 -0500


Actually, it should be inside VXLNumerics.   We do not require that
you have the libf2c library in order to build.  So, it is built into
the VXLNumerics library.   It should be in cabs.o on your machine.
Perhaps ranlib did not run or work??


-Bill


At 09:33 AM 2/21/2001 -0500, Paul Hughett wrote:

>Luis has written:
>
>I'm getting the following error on Linux
>(gcc 2.95.3):
>...
>/home/ibanez/src/Insight-Linux/Code/Numerics/vxl/../../../../Insight/Code/Numerics/vxl/v3p/netlib/z_abs.c:11: undefined reference to `f__cabs'
>
>On my Linux system, that particular symbol lives in /usr/lib/libf2c.a,
>which is part of the f2c rpm, which is a Fortran-to-C conversion program;
>I'm not sure how to get it for a Mandrake system but that should give
>you a starting point at least.  In some incarnations of f2c, libf2c is
>split into libF77.a and libI77.a; I would expect to see f__cabs in libF77.a.
>
>Hope this helps.
>
>Paul Hughett
>
>_______________________________________________
>Insight-developers mailing list
>Insight-developers@public.kitware.com
>http://public.kitware.com/mailman/listinfo/insight-developers