[ncl-install] FW: wrapit difficulties w/ ncl-5 on CentOS 5
Mary Haley
haley at ucar.edu
Wed Jun 18 12:46:30 MDT 2008
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wrapit.c
Type: application/octet-stream
Size: 10515 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-install/attachments/20080618/fd466e81/wrapit.obj
-------------- next part --------------
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
>>
>
More information about the ncl-install
mailing list