Linking liboctinterp.dll fails with the missing symbols attached: (I
omitted double errors in the same object file, otherwise the list is
*really* long and does not contain additional information):
The first group stems from $(LIBCRUFT) missing as link dependency.
The second group stems from missing
-lgdi32 (GetDeviceCaps)
-liberty (mkstemps)
The first is the windows system GDI library and the second is the
mingw/gcc support library.
Both are added to $LIBS during configure stage for the mingw platform
The third group stems from $(FLIBS) missing as link dependency.
To link successfully I have to do
OCTINTERP_LINK_DEPS = $(RLD_FLAG) -L../liboctave $(LIBOCTAVE)
-L../libcruft $(LIBCRUFT) \
$(HDF5_LIBS) $(ZLIB_LIBS) $(X11_LIBS) $(OPENGL_LIBS) $(CARBON_LIBS) \
$(LIBS) $(FLIBS)