Re: FW: wrapit difficulties w/ ncl-5 on CentOS 5

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Wed, 18 Jun 2008 12:46:30 -0600

It sounds like there may have been a problem with the way the file
was saved onto your system.

Please try this attached wrapit.c

--Mary

On Jun 18, 2008, at 9:26 AM, SMAST Support wrote:

> I did download that version of wrapit.c
>
> When I attempt to compile that wrapit.c, I get the following an
> entirely
> different set of errors, as documented below.
>
>>
>>
>>
>> Google is my friend. I found reference to this problem in
>> http://www.ncl.ucar.edu/Download/build_from_src.shtml ... I
>> downloaded a
> new
>> wrapit.c from
>> http://www.ncl.ucar.edu/Download/wrapit.c
>>
>> However, I still have problems with this version of wrapit.c:
>>
>> gcc -ansi -fPIC -O -I../../.././include -I/usr/local/include -
>> DLinux
>> -DMAJOR=2 -DSYSV -D_POSIX_SOURCE -D_XOPEN_SOURCE -DByteSwapped
>> -DNeedFuncProto -c -o wrapit.o wrapit.c
>> wrapit.c: In function âWNewFScopeâ:
>> wrapit.c:35: error: âNclSymâ undeclared (first use in this function)
>> wrapit.c:35: error: (Each undeclared identifier is reported only once
>> wrapit.c:35: error: for each function it appears in.)
>> wrapit.c:36: error: expected â)â before âTableElemâ
>> wrapit.c: In function âWNewWScopeâ:
>> wrapit.c:63: error: âNclSymâ undeclared (first use in this function)
>> wrapit.c:64: error: expected â)â before âTableElemâ
>> wrapit.c: In function âWNewVDefâ:
>> wrapit.c:168: error: âarray_â undeclared (first use in this function)
>> wrapit.c:169: error: expected â)â before âspecâ
>> wrapit.c: In function âWNewCallRecâ:
>> wrapit.c:190: error: âsizeoâ undeclared (first use in this function)
>> wrapit.c:191: error: expected â)â before âfâ
>> wrapit.c: In function âDoTotalâ:
>> wrapit.c:225: error: missing terminating " character
>> wrapit.c:226: error: expected expression before â)â token
>> wrapit.c:226: error: stray â\â in program
>> wrapit.c:226: error: stray â\â in program
>> wrapit.c:226: error: stray â\â in program
>> wrapit.c:226: error: stray â\â in program
>> wrapit.c:226: error: stray â\â in program
>> wrapit.c:226: error: stray â\â in program
>> wrapit.c:226: error: missing terminating " character
>> wrapit.c:227: error: expected statement before â)â token
>> wrapit.c: In function âNewParamLocâ:
>> wrapit.c:248: error: âstruct _WFargInfoâ has no member named âdiâ
>> wrapit.c:249: error: expected â)â before âm_sizesâ
>> wrapit.c: In function âmainâ:
>> wrapit.c:290: error: âWWrapRecâ has no member named âcâ
>> wrapit.c:291: error: expected â)â before â_callrecâ
>> wrapit.c:295: error: âarg_lisâ undeclared (first use in this
>> function)
>> wrapit.c:296: error: expected â)â before âtâ
>> wrapit.c:328: error: âstruct _WParamInfoâ has no member named ân_dâ
>> wrapit.c:329: error: expected â;â before âimsâ
>> wrapit.c:330: error: missing terminating " character
>> wrapit.c:331: error: âzesâ undeclared (first use in this function)
>> wrapit.c:331: error: expected expression before â%â token
>> wrapit.c:331: error: expected expression before â%â token
>> wrapit.c:331: error: stray â\â in program
>> wrapit.c:331: error: missing terminating " character
>> wrapit.c:332: error: expected â;â before â}â token
>> wrapit.c:333: error: missing terminating " character
>> wrapit.c:334: error: âargsâ undeclared (first use in this function)
>> wrapit.c:334: error: expected expression before â%â token
>> wrapit.c:334: error: stray â\â in program
>> wrapit.c:335: error: expected â)â before â;â token
>> wrapit.c:336: warning: passing argument 2 of âfprintfâ makes
>> pointer from
>> integer without a cast
>> wrapit.c:336: error: expected â;â before â}â token
>> wrapit.c:337: error: missing terminating " character
>> wrapit.c:338: error: expected expression before â%â token
>> wrapit.c:338: error: stray â\â in program
>> wrapit.c:338: error: expected â)â before â;â token
>> wrapit.c:339: warning: passing argument 2 of âfprintfâ makes
>> pointer from
>> integer without a cast
>> wrapit.c:339: error: expected â;â before â}â token
>> wrapit.c:346: error: âisâ undeclared (first use in this function)
>> wrapit.c:347: error: expected â)â before âalphaâ
>> wrapit.c:350: error: âWWrapRecâ has no member named âc_defstâ
>> wrapit.c:351: error: expected â;â before âringâ
>> wrapit.c:352: error: âWWrapRecListâ has no member named âtheâ
>> wrapit.c:353: error: expected â)â before ârecâ
>> wrapit.c:355: error: âWWrapRecâ has no member named âc_defstâ
>> wrapit.c:356: error: expected â;â before âringâ
>> wrapit.c:357: error: âWWrapRecListâ has no member named âtheâ
>> wrapit.c:358: error: expected â)â before ârecâ
>> wrapit.c:361: error: âWWrapRecâ has no member named âc_deâ
>> wrapit.c:362: error: expected â;â before âfstringâ
>> wrapit.c:368: error: missing terminating " character
>> wrapit.c:369: error: stray â\â in program
>> wrapit.c:369: error: expected â)â before string constant
>> wrapit.c:369: warning: passing argument 2 of âfprintfâ from
>> incompatible
>> pointer type
>> wrapit.c:371: error: missing terminating " character
>> wrapit.c:372: error: stray â\â in program
>> wrapit.c:372: error: expected â)â before string constant
>> wrapit.c:372: warning: passing argument 2 of âfprintfâ from
>> incompatible
>> pointer type
>> wrapit.c:375: error: missing terminating " character
>> wrapit.c:376: error: stray â\â in program
>> wrapit.c:376: error: expected â)â before string constant
>> wrapit.c:376: warning: passing argument 2 of âfprintfâ from
>> incompatible
>> pointer type
>> wrapit.c:379: error: missing terminating " character
>> wrapit.c:380: error: stray â\â in program
>> wrapit.c:380: error: expected â)â before string constant
>> wrapit.c:380: warning: passing argument 2 of âfprintfâ from
>> incompatible
>> pointer type
>> make: *** [wrapit.o] Error 1
>>
>>
>> Can someone point me in the right direction? Thanks.
>>
>>
>> _______________________________________________
>> ncl-install mailing list
>> ncl-install_at_ucar.edu
>> http://mailman.ucar.edu/mailman/listinfo/ncl-install
>>
>

_______________________________________________
ncl-install mailing list
ncl-install_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-install

Received on Wed Jun 18 2008 - 12:46:30 MDT

This archive was generated by hypermail 2.2.0 : Thu Jun 26 2008 - 16:30:05 MDT