Originally posted by: SystemAdmin
Hi,
I am getting the below error while running 'make'. I have also attached the Makefile details below. Kindly advice me to rectify this errror.
$ make
"Makefile", line 20: make: 1254-057 Shell command needs a leading tab.
"Makefile", line 23: make: 1254-057 Shell command needs a leading tab.
"Makefile", line 26: make: 1254-057 Shell command needs a leading tab.
"Makefile", line 29: make: 1254-057 Shell command needs a leading tab.
"Makefile", line 30: make: 1254-057 Shell command needs a leading tab.
make: 1254-058 Fatal errors encountered -- cannot continue.
$
Makefile:
PROJECT=glMqLib
VERSION=1.2.0
TARGET=lib$(PROJECT).$(VERSION).so
CC=/usr/vacpp/bin/xlC_r
CCFLAGS=-g -qthreaded -qrtti=all -qfuncsect -qnamemangling=v5 -brtl
#-qchars=signed -qtemplateregistry=registry/myreg.reg
MQ_DIR=/usr/mqm
INCLUDE=-I/usr/jbc/include -I$(MQ_DIR)/inc
LIB=-L$(MQ_DIR)/lib -L/usr/jbc/lib -limqb23ia_r -limqc23ia_r -ljbase -lloadjBASE
#-lmqmcs_r
OBJECTS=mq_connection_manager.o glMqLibImpl.o
SUFFIXES: .cxx
all: $(OBJECTS)
$(CC) $(CCFLAGS) -qmkshrobj -o $(TARGET) $(OBJECTS) $(LIB) -lthread
test : test.o
$(CC) $(CCFLAGS) -o test test.o $(LIB) -lsvld
cxx.o:
$(CC) $(CCFLAGS) $(INCLUDE) -c $<
clean:
rm -f $(TARGET) $(OBJECTS)
rm -f test test.o
Thanks & Regards
Peru.