dict files with upper case

From: Stephen Bailey (bailey@physics.harvard.edu)
Date: Fri Dec 04 1998 - 21:09:48 MET


Hi.  I just found the strangest thing.  The Makefile appended
to the end of this message works fine.  But if I do a global
search and replace on tmcdict -> TMCDict, the linking stage
dies with numerous multiple definitions of various functions
like ImplFileLine() which presumably are defined in the macros.
Is there something which requires that dict files be entirely
lower case?  Why?

Puzzled,

Stephen

# Makefile for InputParams test

ROOTLIBS      = -L$(ROOTSYS)/lib -lNew -lBase -lCint -lClib -lCont -lFunc \
                -lGraf -lGraf3d -lHist -lHtml -lMatrix -lMeta -lMinuit -lNet \
                -lPostscript -lProof -lRint -lTree -lUnix -lZip
ROOTGLIBS     = -lGpad -lGui -lGX11 -lX3d

# Linux - KCC
CXX           = KCC
CXXFLAGS      = -g +K0 -O0 --no_exceptions -fPIC -I$(ROOTSYS)/include
LD            = KCC
LDFLAGS       = -g --no_exceptions
SOFLAGS       = --backend -shared
LIBS          = $(ROOTLIBS) -lm -ldl
GLIBS         = $(ROOTLIBS) $(ROOTGLIBS) -L/usr/X11R6/lib \
                -lXpm -lX11 -lm -ldl

HDRS	= InputParams.hh  tmcdict.h
SRCS	= InputParams.cc  tmcdict.cc
OBJS	= InputParams.o  tmcdict.o

PROGRAM	= TMC.so

all:		$(PROGRAM)
$(PROGRAM):	$(OBJS)
	@echo "Linking $(PROGRAM) ..."
	@/bin/rm -f $(PROGRAM)
	@$(LD) $(LDFLAGS) $(OBJS) $(GLIBS) -o $(PROGRAM)
	@chmod 555 $(PROGRAM)
	@echo "done"

clean:;	@/bin/rm -f $(OBJS) core
###
InputParams.o: InputParams.hh
tmcdict.cc: InputParams.hh
	@echo "Generating Dictionary ..."
	@rootcint -f tmcdict.cc -c InputParams.hh



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:40 MET