[ncl-install] latest error
Mark Branson
mark at atmos.colostate.edu
Wed Dec 5 08:36:30 MST 2007
Thanks, Mary. I put those changes in and now ncl v5.0 is working! :)
Looks like there's just one error that I'm still getting which is the
compilation of wrapit77. And this is actually critical to what I
need to do with ncl/ncarg, so it would be nice to get it to work.
Here's what the log file says:
D_XOPEN_SOURCE -DNeedFuncProto -c -o wrapit.o wrapit.c
gcc -DAbsoftProFortran -ansi -O -o wrapit77 y.tab.o lex.yy.o
Symbol.o wrapit.o -L/usr/local/ncarg/lib -L/usr/X11R6/lib -L/usr/
local/absoft/lib -lfl
/usr/bin/ld: multiple definitions of symbol _CType
y.tab.o definition of _CType in section (__TEXT,__text)
wrapit.o definition of _CType in section (__TEXT,__text)
/usr/bin/ld: multiple definitions of symbol _FType
y.tab.o definition of _FType in section (__TEXT,__text)
wrapit.o definition of _FType in section (__TEXT,__text)
/usr/bin/ld: multiple definitions of symbol _NType
y.tab.o definition of _NType in section (__TEXT,__text)
wrapit.o definition of _NType in section (__TEXT,__text)
/usr/bin/ld: multiple definitions of symbol _WMakeListNode
y.tab.o definition of _WMakeListNode in section (__TEXT,__text)
wrapit.o definition of _WMakeListNode in section (__TEXT,__text)
/usr/bin/ld: multiple definitions of symbol _theparam
y.tab.o definition of _theparam in section (__DATA,__data)
wrapit.o definition of _theparam in section (__DATA,__data)
/usr/bin/ld: multiple definitions of symbol _yycheck
y.tab.o definition of _yycheck in section (__DATA,__data)
wrapit.o definition of _yycheck in section (__DATA,__data)
/usr/bin/ld: multiple definitions of symbol _yydefred
y.tab.o definition of _yydefred in section (__DATA,__data)
wrapit.o definition of _yydefred in section (__DATA,__data)
/usr/bin/ld: multiple definitions of symbol _yydgoto
y.tab.o definition of _yydgoto in section (__DATA,__data)
wrapit.o definition of _yydgoto in section (__DATA,__data)
/usr/bin/ld: multiple definitions of symbol _yyerror
y.tab.o definition of _yyerror in section (__TEXT,__text)
wrapit.o definition of _yyerror in section (__TEXT,__text)
/usr/bin/ld: multiple definitions of symbol _yygindex
y.tab.o definition of _yygindex in section (__DATA,__data)
wrapit.o definition of _yygindex in section (__DATA,__data)
/usr/bin/ld: multiple definitions of symbol _yylen
y.tab.o definition of _yylen in section (__DATA,__data)
wrapit.o definition of _yylen in section (__DATA,__data)
/usr/bin/ld: multiple definitions of symbol _yylhs
y.tab.o definition of _yylhs in section (__DATA,__data)
wrapit.o definition of _yylhs in section (__DATA,__data)
/usr/bin/ld: multiple definitions of symbol _yyparse
y.tab.o definition of _yyparse in section (__TEXT,__text)
wrapit.o definition of _yyparse in section (__TEXT,__text)
/usr/bin/ld: multiple definitions of symbol _yyrindex
y.tab.o definition of _yyrindex in section (__DATA,__data)
wrapit.o definition of _yyrindex in section (__DATA,__data)
/usr/bin/ld: multiple definitions of symbol _yysindex
y.tab.o definition of _yysindex in section (__DATA,__data)
wrapit.o definition of _yysindex in section (__DATA,__data)
/usr/bin/ld: multiple definitions of symbol _yytable
y.tab.o definition of _yytable in section (__DATA,__data)
wrapit.o definition of _yytable in section (__DATA,__data)
collect2: ld returned 1 exit status
make[4]: *** [wrapit77] Error 1
Looks like another library conflict of some sort. ????
Thanks,
Mark
>
> Hi Mark,
>
> You have found a few bugs in our NGCALLF calls in the nfp
> library. The changes are simple. Go to the directory
> $NCARG/ni/src/lib/nfp and edit three files:
>
> 1. Edit cdf_dpW.c and change:
>
> NGCALLF(dcdfcdftt,DCDFCDFFT)(&n, tmp_p, tmp_t, tmp_df, &ier);
>
> to
>
> NGCALLF(dcdfcdftt,DCDFCDFTT)(&n, tmp_p, tmp_t, tmp_df, &ier);
>
> (note the "FTT" versus "FFT").
>
> 2. Edit betaincW.c and change:
>
> NGCALLF(cumgam,GAMMAINC)(tmp_x,tmp_a,tmp_cum,&tmp_ccum);
>
> to:
>
> NGCALLF(cumgam,CUMGAM)(tmp_x,tmp_a,tmp_cum,&tmp_ccum);
>
>
> 3. Edit filterxW.c and change:
>
> NGCALLF(filwgtnormal,DFILWGTNORMAL)
> (nwgt,tmp_wgt,option,tmp_sigma,&ier);
>
> to:
>
> NGCALLF(filwgtnormal,FILWGTNORMAL)
> (nwgt,tmp_wgt,option,tmp_sigma,&ier);
>
> I will make the changes on this end and they'll make it into the
> next version.
>
> Sorry for the hassle.
>
> --Mary
>
>
More information about the ncl-install
mailing list