I hope this is originally put into three lines:
CC = gcc CFLAGS = -c -Wall LD = gcc
also this should be put in 2 lines:
LIBS = -lpthread -lg2c -lcrypt -ldl -lm -lnsl CDAQLIB = ../cdaq/Debug.a ../elec_lib/Elec.a
From the other hand without knowing what is that BINA and having that core file.....
you can try strace for example or post-mortem debuggers to find out the reason.
http://www.epanorama.net/newepa/2014...ling-in-linux/