Re: Trouble compiling ncarg

From: Dave Lane <dlane_at_nyahnyahspammersnyahnyah>
Date: Tue, 14 Jul 2009 11:47:23 -0300

Thanks. It turns out that that the only thing that does not build is
ctrans and ictrans. Given that I have builds also for g95 and gfortran,
my work around to just to symbolic link to working versions of these two
utilities from one of the other builds.

--- Dave

Mary Haley wrote:
> 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
>>
Received on Tue Jul 14 2009 - 08:47:23 MDT

This archive was generated by hypermail 2.2.0 : Wed Sep 02 2009 - 12:25:02 MDT