Opened 4 years ago

Closed 4 years ago

#855 closed defect (Done)

IMPORTANT: Fixed makefile for Linux with old linkers

Reported by: arango Owned by:
Priority: major Milestone: Release ROMS/TOMS 3.9
Component: Nonlinear Version: 3.9
Keywords: Cc:

Description

The makefile change introduced in src:ticket:854 needs to be updated to include libDRIVER.a twice. We need to include it again for cycling dependencies in old linkers. We need to have:

#--------------------------------------------------------------------------
#  Notice that the token "libraries" is initialized with the ROMS/Utility
#  library to account for calls to objects in other ROMS libraries or
#  cycling dependencies. These types of dependencies are problematic in
#  some compilers during linking. Such libraries appear twice at linking
#  step (beginning and almost the end of the ROMS library list).
#--------------------------------------------------------------------------

   libraries := $(SCRATCH_DIR)/libNLM.a $(SCRATCH_DIR)/libDRIVER.a \
                $(SCRATCH_DIR)/libUTIL.a

Change History (1)

comment:1 by arango, 4 years ago

Resolution: Done
Status: newclosed
Note: See TracTickets for help on using tickets.