Trouble compiling ncarg

From: Dave Lane <dlane_at_nyahnyahspammersnyahnyah>
Date: Mon, 13 Jul 2009 12:12:31 -0300

Having trouble compiling ncarg with Mac O/S 10.5 and ifort (V11). Same
source tree (appears to) works for gfortran and g95. I'm using the
generic Darwin_Intel.ifort config file with the lib/include dirs
adjusted to find the various libraries.

I added the recommended location of the ifcore library in #define
CtoFLibraries and it got farther.

The first error is at:

Making ./ncarview/src/bin
Making ./ncarview/src/bin/ctrans
gcc -ansi -O -I../../../.././include -I/usr/X11R6/include/X11
-I/usr/local/include -I/opt/local/include -DSYSV -D_POSIX_SOURCE
-D_XOPEN_SOURCE -DByteSwapped -D__UNIXOS2__ -DNeedFuncProto -c -o
main.o main.c
gcc -ansi -O -o ctrans main.o
../../../.././ncarview/src/lib/libctrans/libctrans.o
-L../../../.././ncarview/src/lib/libcgm -lcgm
-L../../../.././ncarview/src/lib/libncarg_ras -lncarg_ras
-L../../../.././common/src/libncarg_c -lncarg_c
-L/usr/local/ncarg/ifort/lib -L/usr/X11R6/lib -L/usr/local/lib
-L/opt/local/lib -lXpm -lX11 -lXext -lm
ld: duplicate symbol start in
../../../.././ncarview/src/lib/libctrans/libctrans.o and
/usr/lib/crt1.10.5.o

collect2: ld returned 1 exit status
make[5]: *** [ctrans] Error 1

Any ideas?

--- Dave
_______________________________________________
ncl-install mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-install
Received on Mon Jul 13 2009 - 09:12:31 MDT

This archive was generated by hypermail 2.2.0 : Fri Jul 17 2009 - 15:27:33 MDT