[Octopus-users] CMSP-2.0.4 Installation on FC6

Mark Lusk mlusk at mines.edu
Fri Feb 1 16:52:48 WET 2008


Dear all,

I decided to give up on the cygwin install of the CMSP-2.0.4 package for
OpenDX and installed OpenDX on the Fedora Core 6 platform where I am using
Octopus. I placed the CMSP-2.0.4 directory within /usr/local and set up the
arch.mak file as follows:

=======================================================
# Please change this Makefile as needed to suit your needs

#BASE = /usr/lib/dx
BASE = /usr/local/dx
ARCH = linux

# in principle you do not need to change anything below this line

include /usr/include/dx/arch.mak

BIN  = $(BASE)/bin

DXLIB     = -L$(BASE)/lib_$(ARCH) -lDX
DXLIBLITE = -L$(BASE)/lib_$(ARCH) -lDXlite

CC = $(DXCC)
CFLAGS = $(DXCFLAGS) -I$(BASE)/include -fPIC

=======================================================

I then tried to make the package using "make install" and receive the
following error message:

=======================================================
for i in src; do (cd $i; make install); done
make[1]: Entering directory `/usr/local/CMSP-2.0.4/src'
gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
-D_GNU_SOURCE -I/usr/local/dx/include -fPIC    CrystalRepeat.mdf.c   -o
CrystalRepeat.mdf
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/crt1.o: In function
`_start':
(.text+0x20): undefined reference to `main'
collect2: ld returned 1 exit status
make[1]: *** [CrystalRepeat.mdf] Error 1
make[1]: Leaving directory `/usr/local/CMSP-2.0.4/src'
make: *** [install] Error 2
=======================================================

Can anyone give guidance on how to address this error? My FC6 build is:
2.6.22.2-42.asl.1.fc6

Thanks,

Mark




More information about the Octopus-users mailing list