Author: Scott Brozell, found by Andrew Petersen Date: 04/19/03 Programs: LEaP Severity: major when building LEaP with LeapDebugLib defined. Description: The names of the debug versions of various libraries were not updated when the corresponding names of the normal libraries were changed. Apparently, this dates back to 1995/04/17 when the names were modified to avoid linking with shared versions on alphas. The profile and shared libraries versions were also fixed. Fix: apply the following patch to amber7/src/leap/src/leap/Imakefile: ------------------------------------------------------------------------------ *** Imakefile 27 Feb 2002 19:26:19 -0000 7.25 --- Imakefile 21 Apr 2003 20:46:52 -0000 *************** *** 472,480 **** XRAWLIB = -L$(XRAWDIR) -lXrawLeap #if DoSharedLib ! WCLDEP_s = ../Wc/libWc.so ! XPMDEP_s = ../Xpm/libXpm.so ! XRAWDEP_s = $(XRAWDIR)/libXraw.so #else WCLDEP_s = XPMDEP_s = --- 472,480 ---- XRAWLIB = -L$(XRAWDIR) -lXrawLeap #if DoSharedLib ! WCLDEP_s = ../Wc/libWcLeap.so ! XPMDEP_s = ../Xpm/libXpmLeap.so ! XRAWDEP_s = $(XRAWDIR)/libXrawLeap.so #else WCLDEP_s = XPMDEP_s = *************** *** 492,504 **** #endif #if DoDebugLib ! WCLDEP_d = ../Wc/libWc_d.a ! XPMDEP_d = ../Xpm/libXpm_d.a ! XRAWDEP_d = $(XRAWDIR)/libXraw_d.a ! ! WCLLIB = -L../Wc -lWc_d ! XPMLIB = -L../Xpm -lXpm_d ! XRAWLIB = -L$(XRAWDIR) -lXraw_d #else WCLDEP_d = --- 492,504 ---- #endif #if DoDebugLib ! WCLDEP_d = ../Wc/libWcLeap_d.a ! XPMDEP_d = ../Xpm/libXpmLeap_d.a ! XRAWDEP_d = $(XRAWDIR)/libXrawLeap_d.a ! ! WCLLIB = -L../Wc -lWcLeap_d ! XPMLIB = -L../Xpm -lXpmLeap_d ! XRAWLIB = -L$(XRAWDIR) -lXrawLeap_d #else WCLDEP_d = *************** *** 508,516 **** #endif #if DoProfileLib ! WCLDEP_p = ../Wc/libWc_p.a ! XPMDEP_p = ../Xpm/libXpm_p.a ! XRAWDEP_p = $(XRAWDIR)/libXraw_p.a #else WCLDEP_p = XPMDEP_p = --- 508,521 ---- #endif #if DoProfileLib ! WCLDEP_p = ../Wc/libWcLeap_p.a ! XPMDEP_p = ../Xpm/libXpmLeap_p.a ! XRAWDEP_p = $(XRAWDIR)/libXrawLeap_p.a ! ! WCLLIB = -L../Wc -lWcLeap_p ! XPMLIB = -L../Xpm -lXpmLeap_p ! XRAWLIB = -L$(XRAWDIR) -lXrawLeap_p ! #else WCLDEP_p = XPMDEP_p = ------------------------------------------------------------------------------ Temporary workarounds: don't build LEaP with LeapDebugLib defined as YES, likewise for LeapProfileLib and LeapSharedLib. Files affected: amber7/src/leap/src/leap/Imakefile, amber7/src/leap/Imakefile, and other build files.