Closed anhi closed 9 years ago
Reported by Chris Poultney on 11 Dec 38774730 21:20 UTC When running make test, TCPTransfer_test fails. The error is the same on both linux systems I've tried, one Ubuntu and one RedHat. uname -a, make test output, TCPTransfer_test output, and config.mak for the Ubuntu system are included below. Linux requiem 2.6.15-28-386 #1 PREEMPT Thu Feb 1 15:51:56 UTC 2007 i686 GNU/Linux make[Entering directory `/home/crispy/tmp/BALL-1.1.1/source/TEST' Now running all class tests. This test suite verifies that all classes included in the test could be correctly compiled and checks their basic functionality. If problems occur for one of these tests, you might want to run this test program manually. Any failing test will be rerun with verbose output to identify the subtest that caused the problem. You may run each test manually in the verbose mode by specifying -v on the command line. Running these tests may take some time.... /usr/bin/g++ -pipe -fPIC -g -I/home/crispy/tmp/BALL-1.1.1/include -c ClassTest_test.C -o ClassTest_test.o /usr/bin/g++ -pipe -fPIC ClassTest_test.o -o ClassTest_test -L/home/crispy/tmp/BALL-1.1.1/lib /Linux-i386-g++_4.0.3 -lBALL -liberty -lm /usr/bin/g++ -pipe -fPIC -g -I/home/crispy/tmp/BALL-1.1.1/include -c Debug_test.C -o Debug_test.o /usr/bin/g++ -pipe -fPIC Debug_test.o -o Debug_test -L/home/crispy/tmp/BALL-1.1.1/lib/Linux- i386-g++_4.0.3 -lBALL -liberty -lm /usr/bin/g++ -pipe -fPIC -g -I/home/crispy/tmp/BALL-1.1.1/include -c RegularExpression_test.C -o RegularExpression_test.o /usr/bin/g++ -pipe -fPIC RegularExpression_test.o -o RegularExpression_test -L/home/crispy/tmp/BALL-1.1.1/lib/Linux-i386-g++_4.0.3 -lBALL -liberty -lm /usr/bin/g++ -pipe -fPIC -g -I/home/crispy/tmp/BALL-1.1.1/include -c GlobalTypes_test.C -o GlobalTypes_test.o /usr/bin/g++ -pipe -fPIC GlobalTypes_test.o -o GlobalTypes_test -L/home/crispy/tmp/BALL-1.1.1/lib /Linux-i386-g++_4.0.3 -lBALL -liberty -lm /usr/bin/g++ -pipe -fPIC -g -I/home/crispy/tmp/BALL-1.1.1/include -c Limits_test.C -o Limits_test.o /usr/bin/g++ -pipe -fPIC Limits_test.o -o Limits_test -L/home/crispy/tmp/BALL-1.1.1/lib/Linux- i386-g++_4.0.3 -lBALL -liberty -lm /usr/bin/g++ -pipe -fPIC -g -I/home/crispy/tmp/BALL-1.1.1/include -c VersionInfo_test.C -o VersionInfo_test.o /usr/bin/g++ -pipe -fPIC VersionInfo_test.o -o VersionInfo_test -L/home/crispy/tmp/BALL-1.1.1/lib /Linux-i386-g++_4.0.3 -lBALL -liberty -lm /usr/bin/g++ -pipe -fPIC -g -I/home/crispy/tmp/BALL-1.1.1/include -c RTTI_test.C -o RTTI_test.o /usr/bin/g++ -pipe -fPIC RTTI_test.o -o RTTI_test -L/home/crispy/tmp/BALL-1.1.1/lib/Linux- i386-g++_4.0.3 -lBALL -liberty -lm Executing tests for section BASIC: (1) ClassTest_test: OK (2) Debug_test: OK (3) RegularExpression_test: OK (4) GlobalTypes_test: OK (5) Limits_test: OK (6) VersionInfo_test: OK (7) RTTI_test: OK /usr/bin/g++ -pipe -fPIC -g -I/home/crispy/tmp/BALL-1.1.1/include -c BinaryFileAdaptor_test.C -o BinaryFileAdaptor_test.o /usr/bin/g++ -pipe -fPIC BinaryFileAdaptor_test.o -o BinaryFileAdaptor_test -L/home/crispy/tmp/BALL-1.1.1/lib/Linux-i386-g++_4.0.3 -lBALL -liberty -lm /usr/bin/g++ -pipe -fPIC -g -I/home/crispy/tmp/BALL-1.1.1/include -c Directory_test.C -o Directory_test.o /usr/bin/g++ -pipe -fPIC Directory_test.o -o Directory_test -L/home/crispy/tmp/BALL-1.1.1/lib /Linux-i386-g++_4.0.3 -lBALL -liberty -lm /usr/bin/g++ -pipe -fPIC -g -I/home/crispy/tmp/BALL-1.1.1/include -c FileSystem_test.C -o FileSystem_test.o /usr/bin/g++ -pipe -fPIC FileSystem_test.o -o FileSystem_test -L/home/crispy/tmp/BALL-1.1.1/lib /Linux-i386-g++_4.0.3 -lBALL -liberty -lm /usr/bin/g++ -pipe -fPIC -g -I/home/crispy/tmp/BALL-1.1.1/include -c File_test.C -o File_test.o /usr/bin/g++ -pipe -fPIC File_test.o -o File_test -L/home/crispy/tmp/BALL-1.1.1/lib/Linux- i386-g++_4.0.3 -lBALL -liberty -lm /usr/bin/g++ -pipe -fPIC -g -I/home/crispy/tmp/BALL-1.1.1/include -c Path_test.C -o Path_test.o /usr/bin/g++ -pipe -fPIC Path_test.o -o Path_test -L/home/crispy/tmp/BALL-1.1.1/lib/Linux- i386-g++_4.0.3 -lBALL -liberty -lm /usr/bin/g++ -pipe -fPIC -g -I/home/crispy/tmp/BALL-1.1.1/include -c PreciseTime_test.C -o PreciseTime_test.o /usr/bin/g++ -pipe -fPIC PreciseTime_test.o -o PreciseTime_test -L/home/crispy/tmp/BALL-1.1.1/lib /Linux-i386-g++_4.0.3 -lBALL -liberty -lm /usr/bin/g++ -pipe -fPIC -g -I/home/crispy/tmp/BALL-1.1.1/include -c Socket_test.C -o Socket_test.o /usr/bin/g++ -pipe -fPIC Socket_test.o -o Socket_test -L/home/crispy/tmp/BALL-1.1.1/lib/Linux- i386-g++_4.0.3 -lBALL -liberty -lm /usr/bin/g++ -pipe -fPIC -g -I/home/crispy/tmp/BALL-1.1.1/include -c Sysinfo_test.C -o Sysinfo_test.o /usr/bin/g++ -pipe -fPIC Sysinfo_test.o -o Sysinfo_test -L/home/crispy/tmp/BALL-1.1.1/lib/Linux- i386-g++_4.0.3 -lBALL -liberty -lm /usr/bin/g++ -pipe -fPIC -g -I/home/crispy/tmp/BALL-1.1.1/include -c TCPTransfer_test.C -o TCPTransfer_test.o /usr/bin/g++ -pipe -fPIC TCPTransfer_test.o -o TCPTransfer_test -L/home/crispy/tmp/BALL-1.1.1/lib /Linux-i386-g++_4.0.3 -lBALL -liberty -lm /usr/bin/g++ -pipe -fPIC -g -I/home/crispy/tmp/BALL-1.1.1/include -c Timer_test.C -o Timer_test.o /usr/bin/g++ -pipe -fPIC Timer_test.o -o Timer_test -L/home/crispy/tmp/BALL-1.1.1/lib/Linux- i386-g++_4.0.3 -lBALL -liberty -lm /usr/bin/g++ -pipe -fPIC -g -I/home/crispy/tmp/BALL-1.1.1/include -c TimeStamp_test.C -o TimeStamp_test.o /usr/bin/g++ -pipe -fPIC TimeStamp_test.o -o TimeStamp_test -L/home/crispy/tmp/BALL-1.1.1/lib /Linux-i386-g++_4.0.3 -lBALL -liberty -lm /usr/bin/g++ -pipe -fPIC -g -I/home/crispy/tmp/BALL-1.1.1/include -c TransformationManager_test.C -o TransformationManager_test.o /usr/bin/g++ -pipe -fPIC TransformationManager_test.o -o TransformationManager_test -L/home/crispy/tmp/BALL-1.1.1/lib/Linux-i386-g++_4.0.3 -lBALL -liberty -lm Executing tests for section SYSTEM: (1) BinaryFileAdaptor_test: OK (2) Directory_test: OK (3) FileSystem_test: OK (4) File_test: OK (5) Path_test: OK (6) PreciseTime_test: OK (7) Socket_test: OK (8) Sysinfo_test: OK (9) TCPTransfer_test: Failure in test TCPTransfer_test. Please check log file TCPTransfer_test.log. (10) Timer_test: OK (11) TimeStamp_test: OK
The following subtests failed:
#
AR =/usr/bin/ar RANLIB = echo
DYNAR = /usr/bin/g++
AROPTS = cru
DYNAROPTS = -shared -fPIC -o DYNAROPTS_PYMODULE = -shared -fPIC -o ADD_DYNAROPTS_LIBBALL = ADD_DYNAROPTS_LIBVIEW =
SHARED_LIB_SUFFIX = so EXEEXT =
CXX=/usr/bin/g++
RM=/bin/rm
CP=/bin/cp
MV=/bin/mv
STRIP=@STRIP@
ECHO=echo
LEX =flex YACC=bison -y OS =Linux
OSREV =2.6.15-28-386
OSMAJOR =2
BINFMT =Linux-i386-g++_4.0.3
# BALL_PATH = /home/crispy/tmp/BALL-1.1.1 BALL_INCLUDES = -I/home/crispy/tmp/BALL-1.1.1/include BALL_LIBS = -L/home/crispy/tmp/BALL-1.1.1/lib/Linux-i386-g++_4.0.3 -lBALL -liberty -lm
# USE_VIEW = false VIEW_PLATFORM = OpenGL VIEW_INCLUDES = VIEW_LIBS = -liberty -lm BALL_HAS_XDR = true BALL_HAS_VIEW = true BALL_HAS_FFTW = BALL_HAS_FLEX_YACC = true OPENGL_LIBPATH = OPENGL_LIBOPTS = QT_LIBPATH = QT_MT_SUFFIX = -mt QT_LIBOPTS = MOC = moc UIC = uic X11_LIBPATH = NONE X11_LIBOPTS = X11_LIBS = SIP = SIP_LIB = SIP_INCLUDES = PYTHON_INCLUDES = PYTHON_SUPPORT = PYTHON_LIBS = PYTHON_EXECUTABLE = FFTW_LIBS = #
# VALGRIND=valgrind VALGRIND_OPTS=-v --leak-check=yes --leak-resolution=high
# CXXFLAGS = -pipe -fPIC LDFLAGS = ADD_CXXFLAGS =
LIBS = -L/home/crispy/tmp/BALL-1.1.1/lib/Linux-i386-g++_4.0.3 -lBALL -liberty -lm # DEFINES = # CXXFLAGS_D = -Wall -W -pedantic -Wno-long-long CXXFLAGS_O = -O3 -Wall -W -pedantic -Wno-long-long #
LIB_CXXFLAGS = #
NONLIB_CXXFLAGS =
CPP_MODE_FLAGS = -O3 -Wall -W -pedantic -Wno-long-long
CPP_MODE_FLAGS_NO_OPTIMIZATION =
STD_CPP_INCLUDES =
# DIRS = COMMON CONCEPT DATATYPE ENERGY FORMAT KERNEL MATHS MOLMEC NMR QSAR SOLVATION STRUCTURE SYSTEM # .SUFFIXES: .C .y .l .o .vgr _moc.C .ui .h Data.C Data_moc.C Data.h .dh Data.C #
# .C.o: $(CXX) $(CXXFLAGS) $(ADD_CXXFLAGS) $(CPP_MODE_FLAGS) $(LIB_CXXFLAGS) $(BALL_INCLUDES) $(ADDINCLUDES) -c $.C -o $@ #
# .y.C: $(YACC) -p $(PARSERPREFIX) -d $.y && $(MV) y.tab.h $_.h && $(MV) y.tab.c $@ #
# .l.C: $(LEX) -P$(PARSERPREFIX) -o$@ $.l #
# .ui.dh: $(UIC) -o $(UIC_DIR)/$Data.h $< && touch $.dh .dhData.C: $(UIC) -o $@ -impl $(UIC_DIR)/$Data.h $.ui #
# .dhDatamoc.C: $.dh $(MOC) -o $@ $(UIC_DIR)/$_Data.h .dhmoc.C: $.dh $(MOC) -o $@ $(HEADERDIR)/$.h #
# .vgr: $_ $(VALGRIND) $(VALGRIND_OPTS) $*
Commented by admin on 15 Sep 38774731 16:00 UTC Should be fixed in V1_2
Reported by Chris Poultney on 11 Dec 38774730 21:20 UTC When running make test, TCPTransfer_test fails. The error is the same on both linux systems I've tried, one Ubuntu and one RedHat. uname -a, make test output, TCPTransfer_test output, and config.mak for the Ubuntu system are included below. Linux requiem 2.6.15-28-386 #1 PREEMPT Thu Feb 1 15:51:56 UTC 2007 i686 GNU/Linux make[Entering directory `/home/crispy/tmp/BALL-1.1.1/source/TEST' Now running all class tests. This test suite verifies that all classes included in the test could be correctly compiled and checks their basic functionality. If problems occur for one of these tests, you might want to run this test program manually. Any failing test will be rerun with verbose output to identify the subtest that caused the problem. You may run each test manually in the verbose mode by specifying -v on the command line. Running these tests may take some time.... /usr/bin/g++ -pipe -fPIC -g -I/home/crispy/tmp/BALL-1.1.1/include -c ClassTest_test.C -o ClassTest_test.o /usr/bin/g++ -pipe -fPIC ClassTest_test.o -o ClassTest_test -L/home/crispy/tmp/BALL-1.1.1/lib /Linux-i386-g++_4.0.3 -lBALL -liberty -lm /usr/bin/g++ -pipe -fPIC -g -I/home/crispy/tmp/BALL-1.1.1/include -c Debug_test.C -o Debug_test.o /usr/bin/g++ -pipe -fPIC Debug_test.o -o Debug_test -L/home/crispy/tmp/BALL-1.1.1/lib/Linux- i386-g++_4.0.3 -lBALL -liberty -lm /usr/bin/g++ -pipe -fPIC -g -I/home/crispy/tmp/BALL-1.1.1/include -c RegularExpression_test.C -o RegularExpression_test.o /usr/bin/g++ -pipe -fPIC RegularExpression_test.o -o RegularExpression_test -L/home/crispy/tmp/BALL-1.1.1/lib/Linux-i386-g++_4.0.3 -lBALL -liberty -lm /usr/bin/g++ -pipe -fPIC -g -I/home/crispy/tmp/BALL-1.1.1/include -c GlobalTypes_test.C -o GlobalTypes_test.o /usr/bin/g++ -pipe -fPIC GlobalTypes_test.o -o GlobalTypes_test -L/home/crispy/tmp/BALL-1.1.1/lib /Linux-i386-g++_4.0.3 -lBALL -liberty -lm /usr/bin/g++ -pipe -fPIC -g -I/home/crispy/tmp/BALL-1.1.1/include -c Limits_test.C -o Limits_test.o /usr/bin/g++ -pipe -fPIC Limits_test.o -o Limits_test -L/home/crispy/tmp/BALL-1.1.1/lib/Linux- i386-g++_4.0.3 -lBALL -liberty -lm /usr/bin/g++ -pipe -fPIC -g -I/home/crispy/tmp/BALL-1.1.1/include -c VersionInfo_test.C -o VersionInfo_test.o /usr/bin/g++ -pipe -fPIC VersionInfo_test.o -o VersionInfo_test -L/home/crispy/tmp/BALL-1.1.1/lib /Linux-i386-g++_4.0.3 -lBALL -liberty -lm /usr/bin/g++ -pipe -fPIC -g -I/home/crispy/tmp/BALL-1.1.1/include -c RTTI_test.C -o RTTI_test.o /usr/bin/g++ -pipe -fPIC RTTI_test.o -o RTTI_test -L/home/crispy/tmp/BALL-1.1.1/lib/Linux- i386-g++_4.0.3 -lBALL -liberty -lm Executing tests for section BASIC: (1) ClassTest_test: OK (2) Debug_test: OK (3) RegularExpression_test: OK (4) GlobalTypes_test: OK (5) Limits_test: OK (6) VersionInfo_test: OK (7) RTTI_test: OK /usr/bin/g++ -pipe -fPIC -g -I/home/crispy/tmp/BALL-1.1.1/include -c BinaryFileAdaptor_test.C -o BinaryFileAdaptor_test.o /usr/bin/g++ -pipe -fPIC BinaryFileAdaptor_test.o -o BinaryFileAdaptor_test -L/home/crispy/tmp/BALL-1.1.1/lib/Linux-i386-g++_4.0.3 -lBALL -liberty -lm /usr/bin/g++ -pipe -fPIC -g -I/home/crispy/tmp/BALL-1.1.1/include -c Directory_test.C -o Directory_test.o /usr/bin/g++ -pipe -fPIC Directory_test.o -o Directory_test -L/home/crispy/tmp/BALL-1.1.1/lib /Linux-i386-g++_4.0.3 -lBALL -liberty -lm /usr/bin/g++ -pipe -fPIC -g -I/home/crispy/tmp/BALL-1.1.1/include -c FileSystem_test.C -o FileSystem_test.o /usr/bin/g++ -pipe -fPIC FileSystem_test.o -o FileSystem_test -L/home/crispy/tmp/BALL-1.1.1/lib /Linux-i386-g++_4.0.3 -lBALL -liberty -lm /usr/bin/g++ -pipe -fPIC -g -I/home/crispy/tmp/BALL-1.1.1/include -c File_test.C -o File_test.o /usr/bin/g++ -pipe -fPIC File_test.o -o File_test -L/home/crispy/tmp/BALL-1.1.1/lib/Linux- i386-g++_4.0.3 -lBALL -liberty -lm /usr/bin/g++ -pipe -fPIC -g -I/home/crispy/tmp/BALL-1.1.1/include -c Path_test.C -o Path_test.o /usr/bin/g++ -pipe -fPIC Path_test.o -o Path_test -L/home/crispy/tmp/BALL-1.1.1/lib/Linux- i386-g++_4.0.3 -lBALL -liberty -lm /usr/bin/g++ -pipe -fPIC -g -I/home/crispy/tmp/BALL-1.1.1/include -c PreciseTime_test.C -o PreciseTime_test.o /usr/bin/g++ -pipe -fPIC PreciseTime_test.o -o PreciseTime_test -L/home/crispy/tmp/BALL-1.1.1/lib /Linux-i386-g++_4.0.3 -lBALL -liberty -lm /usr/bin/g++ -pipe -fPIC -g -I/home/crispy/tmp/BALL-1.1.1/include -c Socket_test.C -o Socket_test.o /usr/bin/g++ -pipe -fPIC Socket_test.o -o Socket_test -L/home/crispy/tmp/BALL-1.1.1/lib/Linux- i386-g++_4.0.3 -lBALL -liberty -lm /usr/bin/g++ -pipe -fPIC -g -I/home/crispy/tmp/BALL-1.1.1/include -c Sysinfo_test.C -o Sysinfo_test.o /usr/bin/g++ -pipe -fPIC Sysinfo_test.o -o Sysinfo_test -L/home/crispy/tmp/BALL-1.1.1/lib/Linux- i386-g++_4.0.3 -lBALL -liberty -lm /usr/bin/g++ -pipe -fPIC -g -I/home/crispy/tmp/BALL-1.1.1/include -c TCPTransfer_test.C -o TCPTransfer_test.o /usr/bin/g++ -pipe -fPIC TCPTransfer_test.o -o TCPTransfer_test -L/home/crispy/tmp/BALL-1.1.1/lib /Linux-i386-g++_4.0.3 -lBALL -liberty -lm /usr/bin/g++ -pipe -fPIC -g -I/home/crispy/tmp/BALL-1.1.1/include -c Timer_test.C -o Timer_test.o /usr/bin/g++ -pipe -fPIC Timer_test.o -o Timer_test -L/home/crispy/tmp/BALL-1.1.1/lib/Linux- i386-g++_4.0.3 -lBALL -liberty -lm /usr/bin/g++ -pipe -fPIC -g -I/home/crispy/tmp/BALL-1.1.1/include -c TimeStamp_test.C -o TimeStamp_test.o /usr/bin/g++ -pipe -fPIC TimeStamp_test.o -o TimeStamp_test -L/home/crispy/tmp/BALL-1.1.1/lib /Linux-i386-g++_4.0.3 -lBALL -liberty -lm /usr/bin/g++ -pipe -fPIC -g -I/home/crispy/tmp/BALL-1.1.1/include -c TransformationManager_test.C -o TransformationManager_test.o /usr/bin/g++ -pipe -fPIC TransformationManager_test.o -o TransformationManager_test -L/home/crispy/tmp/BALL-1.1.1/lib/Linux-i386-g++_4.0.3 -lBALL -liberty -lm Executing tests for section SYSTEM: (1) BinaryFileAdaptor_test: OK (2) Directory_test: OK (3) FileSystem_test: OK (4) File_test: OK (5) Path_test: OK (6) PreciseTime_test: OK (7) Socket_test: OK (8) Sysinfo_test: OK (9) TCPTransfer_test: Failure in test TCPTransfer_test. Please check log file TCPTransfer_test.log. (10) Timer_test: OK (11) TimeStamp_test: OK
(12) TransformationManager_test: OK
The following subtests failed:
TCPTransfer_test Please mail the output of this run to one of the developers and include a detailed description of the system you use. It is also neccessary to include the files ../config.mak ../config.h make1: * [Error 1 make1: Leaving directory `/home/crispy/tmp/BALL-1.1.1/source/TEST' make: * [Error 2 crispy@requiem:~/tmp/BALL-1.1.1/source$ /g++ -pipe -fPIC -g -I/home/crispy/tmp/BALL-1.1.1/include -c Socket_test.C -o Socket_test.o /usr/bin/g++ -pipe -fPIC Socket_test.o -o Socket_test -L/home/crispy/tmp/BALL-1.1.1/lib/Linux- i386-g++_4.0.3 -lBALL -liberty -lm /usr/bin/g++ -pipe -fPIC -g -I/home/crispy/tmp/BALL-1.1.1/include -c Sysinfo_test.C -o Sysinfo_test.o /usr/bin/g++ -pipe -fPIC Sysinfo_test.o -o Sysinfo_test -L/home/crispy/tmp/BALL-1.1.1/lib/Linux- i386-g++_4.0.3 -lBALL -liberty -lm /usr/bin/g++ -pipe -fPIC -g -I/home/crispy/tmp/BALL-1.1.1/include -c TCPTransfer_test.C -o TCPTransfer_test.o /usr/bin/g++ -pipe -fPIC TCPTransfer_test.o -o TCPTransfer_test -L/home/crispy/tmp/BALL-1.1.1/lib /Linux-i386-g++_4.0.3 -lBALL -liberty -lm /usr/bin/g++ -pipe -fPIC -g -I/home/crispy/tmp/BALL-1.1.1/include -c Timer_test.C -o Timer_test.o /usr/bin/g++ -pipe -fPIC Timer_test.o -o Timer_test -L/home/crispy/tmp/BALL-1.1.1/lib/Linux- i386-g++_4.0.3 -lBALL -liberty -lm /usr/bin/g++ -pipe -fPIC -g -I/home/crispy/tmp/BALL-1.1.1/include -c TimeStamp_test.C -o TimeStamp_test.o /usr/bin/g++ -pipe -fPIC TimeStamp_test.o -o TimeStamp_test -L/home/crispy/tmp/BALL-1.1.1/lib /Linux-i386-g++_4.0.3 -lBALL -liberty -lm /usr/bin/g++ -pipe -fPIC -g -I/home/crispy/tmp/BALL-1.1.1/include -c TransformationManager_test.C -o TransformationManager_test.o /usr/bin/g++ -pipe -fPIC TransformationManager_test.o -o TransformationManager_test -L/home/crispy/tmp/BALL-1.1.1/lib/Linux-i386-g++_4.0.3 -lBALL -liberty -lm Executing tests for section SYSTEM: (1) BinaryFileAdaptor_test: OK (2) Directory_test: OK (3) FileSystem_test: OK (4) File_test: OK (5) Path_test: OK (6) PreciseTime_test: OK (7) Socket_test: OK (8) Sysinfo_test: OK (9) TCPTransfer_test: Failure in test TCPTransfer_test. Please check log file TCPTransfer_test.log. (10) Timer_test: OK (11) TimeStamp_test: OK (12) TransformationManager_test: OK
The following subtests failed:
This is config.mak.in/config.mak
Please do ONLY change config.mak.in, as config.mak is automagically
created by configure from config.mak.in
#
$Id: config.mak.in,v 1.35.2.3 2005/11/09 12:09:58 oliver Exp $
#
First, some basic unix commands, including the C++ compiler
#
archiver ar (to create static libraries)
AR =/usr/bin/ar RANLIB = echo
dynamic archiver (to create shared libraries)
DYNAR = /usr/bin/g++
options for library generation
AROPTS = cru
options for shared library generation
DYNAROPTS = -shared -fPIC -o DYNAROPTS_PYMODULE = -shared -fPIC -o ADD_DYNAROPTS_LIBBALL = ADD_DYNAROPTS_LIBVIEW =
suffix of shared library filenames
SHARED_LIB_SUFFIX = so EXEEXT =
C++ compiler
CXX=/usr/bin/g++
unix command rm, used to remove obsolete files (target clean)
RM=/bin/rm
unix command cp, used to copy files
CP=/bin/cp
unix command mv, used to install libraries (target install._)
MV=/bin/mv
unix command strip, used to strip away unused stuff from object files
STRIP=@STRIP@
the echo command (on some platforms with an additional -e to expand '\n')
ECHO=echo
flex and bison
LEX =flex YACC=bison -y OS =Linux
name of your OS
OSREV =2.6.15-28-386
full revision number
OSMAJOR =2
major revision number (full revision number cut at the first dot)
BINFMT =Linux-i386-g++_4.0.3
binary format type (platform-architecture-compiler)
BALL_PATH is the BALL root directory (the directory in which include and source reside)
BALL_INCLUDES contains compiler flags to set the BALL include paths
and BALL_LIBS is set to $BALL_PATH/lib/$BINFMT
# BALL_PATH = /home/crispy/tmp/BALL-1.1.1 BALL_INCLUDES = -I/home/crispy/tmp/BALL-1.1.1/include BALL_LIBS = -L/home/crispy/tmp/BALL-1.1.1/lib/Linux-i386-g++_4.0.3 -lBALL -liberty -lm
USE_VIEW contains true if VIEW support is to be built, false otherwise
VIEW_PLATFORM either contains Mesa or OpenGL (so far)
# USE_VIEW = false VIEW_PLATFORM = OpenGL VIEW_INCLUDES = VIEW_LIBS = -liberty -lm BALL_HAS_XDR = true BALL_HAS_VIEW = true BALL_HAS_FFTW = BALL_HAS_FLEX_YACC = true OPENGL_LIBPATH = OPENGL_LIBOPTS = QT_LIBPATH = QT_MT_SUFFIX = -mt QT_LIBOPTS = MOC = moc UIC = uic X11_LIBPATH = NONE X11_LIBOPTS = X11_LIBS = SIP = SIP_LIB = SIP_INCLUDES = PYTHON_INCLUDES = PYTHON_SUPPORT = PYTHON_LIBS = PYTHON_EXECUTABLE = FFTW_LIBS = #
Support for valgrind, a memory leak checker.
Try "make valgrind" in source/TEST.
# VALGRIND=valgrind VALGRIND_OPTS=-v --leak-check=yes --leak-resolution=high
These are standard flags. CXXFLAGS to compile, LDFLAGS to link programs
DEFINES and DEBUG are both part of CXXFLAGS
ADD_CXXFLAGS are also passed on to the C++ compiler
but are NOT passed on to makedepend
This is the place for compiler options that are not understood
by makedepend (e.g. -Olimit using IRIX DCC)
# CXXFLAGS = -pipe -fPIC LDFLAGS = ADD_CXXFLAGS =
all the libraries in linker usable format (-l..)
LIBS = -L/home/crispy/tmp/BALL-1.1.1/lib/Linux-i386-g++_4.0.3 -lBALL -liberty -lm # DEFINES = # CXXFLAGS_D = -Wall -W -pedantic -Wno-long-long CXXFLAGS_O = -O3 -Wall -W -pedantic -Wno-long-long #
additional CXXFLAGS for building library objects
LIB_CXXFLAGS = #
additional CXXFLAGS for building applications, tests, examples
used instead of LIB_CXXFLAGS in APPLICATIONS, EXAMPLES, TEST, BENCHMARKS
NONLIB_CXXFLAGS =
MODE_FLAGS is set to DEBUG_FLAGS or OPTIMIZE_FLAGS, this
can be controlled by specifying the configure switch
--enable-optimization
CPP_MODE_FLAGS = -O3 -Wall -W -pedantic -Wno-long-long
CPP_MODE_FLAGS_NO_OPTIMIZATION is used in the (luckily quite rare!)
cases where the compiler crashes when performing optimization.
In this case, the source files will be compiled using CPP_MODE_FLAGS_NO_OPTIMIZATION
instead of CPP_MODE_FLAGS
CPP_MODE_FLAGS_NO_OPTIMIZATION =
if g++ is used, configure tries to determine its standard include directories
this is used to prevent trouble when calling makedepend. Otherwise makedepend
will produce loads of (irrelevant) warnings
STD_CPP_INCLUDES =
These are the major source directories.
They are entered in this order and "make all" is executed.
To build the library each of these directories is entered und "make libadd" is executed
to add the subdirectories' objects to the library.
# DIRS = COMMON CONCEPT DATATYPE ENERGY FORMAT KERNEL MATHS MOLMEC NMR QSAR SOLVATION STRUCTURE SYSTEM # .SUFFIXES: .C .y .l .o .vgr _moc.C .ui .h Data.C Data_moc.C Data.h .dh Data.C #
Rule to create .o files from .C files
# .C.o: $(CXX) $(CXXFLAGS) $(ADD_CXXFLAGS) $(CPP_MODE_FLAGS) $(LIB_CXXFLAGS) $(BALL_INCLUDES) $(ADDINCLUDES) -c $.C -o $@ #
Rule to create .C files from the BISON .y files
# .y.C: $(YACC) -p $(PARSERPREFIX) -d $.y && $(MV) y.tab.h $_.h && $(MV) y.tab.c $@ #
Rule to create .C files from the FLEX .l files
# .l.C: $(LEX) -P$(PARSERPREFIX) -o$@ $.l #
Rule to create header files from .ui files (using UIC)
.dh files are dummy files required due to the stupidity
of some implementations of make (e.g. SUN)
They are just empty files that exist whenever the corresponding
*Data.h files exists.
# .ui.dh: $(UIC) -o $(UIC_DIR)/$Data.h $< && touch $.dh .dhData.C: $(UIC) -o $@ -impl $(UIC_DIR)/$Data.h $.ui #
Rule to create moc files from header files (using MOC)
# .dhDatamoc.C: $.dh $(MOC) -o $@ $(UIC_DIR)/$_Data.h .dhmoc.C: $.dh $(MOC) -o $@ $(HEADERDIR)/$.h #
Rule to create valgrind output from compiled test
# .vgr: $_ $(VALGRIND) $(VALGRIND_OPTS) $*