Skip to content
Prev 3828 / 63424 Next

pythag missing in src/appl/ROUTINES (PR#544)

But that is not the purpose of that file.  As it says, it is for
internal .C and .Fortran entry points, and its entries get put in the
search table for such entries.  And pythag is not a suitable entry
point (its arguments are not pointers, it returns a value ...).

The real problem seems to be that nothing internal to R calls pythag,
and so pythag.o does not get loaded when R.bin is built.  Thus I don't
know what it is doing in the R source.  The solution is to make one of
the modules in src/main call it via a dummy routine, or just to link it
with your own code.

If we want it in, we should merge pythag.c with something else in 
src/appl.