[ncl-install] Trouble compiling ncarg

Mary Haley haley at ucar.edu
Mon Jul 13 09:36:59 MDT 2009


Dave,

I'm afraid I've never seen this one before. I'm not even sure where
the "start" symbol is coming from. I don't think this is in the
"ctrans" library itself.

Hopefully somebody else on this list has had success with ifort/gcc
and will have more information.

--Mary


On Mon, 13 Jul 2009, Dave Lane wrote:

> 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
>


More information about the ncl-install mailing list