Göran,
you can ignore the Fortran warnings, the ones you listed are not related to the
code.
As for "undefined dynamic_lookup may not work with chained fixups" the easiest
is to run
export MACOSX_DEPLOYMENT_TARGET=11.0
before you compile your package. Alternatively you can add -Wl,-no_fixup_cha
When running
R CMD INSTALL xxx.tar.gz
I get a lot of warnings, the first being
ld: warning: -undefined dynamic_lookup may not work with chained fixups
followed by several of the type
ld: warning: could not create compact unwind for _yyy_: registers 72 and
73 not saved contiguously in frame