AMBER: RE: about compiling errors for Leap

From: Ross Walker <ross.rosswalker.co.uk>
Date: Mon, 27 Feb 2006 08:17:27 -0800

Dear Zunliang,
 
I am copying your message to the amber mailing list as this is the correct
place for these types of queries. The long list of errors you see stem from
the very first error message reported by the compiler. This is typical
behaviour of most compilers and so when you see a huge list of errors you
should always look to the very first error reported to see what the problem
is. Fix this and then try recompiling and most if not all of the later
errors will disappear.
 
In your case the initial error is:
 
WcActCB.c:22:28: X11/IntrinsicP.h: No such file or directory

If we paste this into Google we get:
 
http://www.google.com/search?sourceid=navclient
<http://www.google.com/search?sourceid=navclient&ie=UTF-8&rls=GGLG,GGLG:2005
-52,GGLG:en&q=WcActCB%2Ec%3A22%3A28%3A+X11%2FIntrinsicP%2Eh%3A+No+such+file+
or+directory>
&ie=UTF-8&rls=GGLG,GGLG:2005-52,GGLG:en&q=WcActCB%2Ec%3A22%3A28%3A+X11%2FInt
rinsicP%2Eh%3A+No+such+file+or+directory
 
where the first hit is: http://amber.ch.ic.ac.uk/archive/200502/0411.html
 
>From this you can see that this is a function of not having the X11
development libraries for your system installed. Often these are not
installed by default. You should be able to find the RPM for this on your
original installation media.
 
Once you have installed the X11 development libraries try re-compiling leap.
 
All the best
Ross

/\
\/
|\oss Walker

| Department of Molecular Biology TPC15 |
| The Scripps Research Institute |
| Tel: +1 858 784 8889 | EMail:- ross.rosswalker.co.uk |
| http://www.rosswalker.co.uk <http://www.rosswalker.co.uk/> | PGP Key
available on request |

Note: Electronic Mail is not secure, has no guarantee of delivery, may not
be read every day, and should not be used for urgent or sensitive issues.

 


  _____

From: Zunliang Wang [mailto:zlwang.seu.edu.cn]
Sent: Saturday, February 25, 2006 08:00
To: rcw.scripps.edu
Subject: about compiling errors for Leap
Importance: High


Dear Dr.Ross Walker,
 
I have encountered some installation error for Leap in amber8.
My system is Redhat Linux Enterprise-WS-4.0.
and use ./configure -p4 ifort, the compiler is intel fortran compiler8.0 and
gcc
and intel math kernek library8.0.
the next contents is the appeared error information.
---->
gcc -c -I/usr/X11R6/include -O2 -o MapAg.o MapAg.c
gcc -c -I/usr/X11R6/include -O2 -o WcActCB.o WcActCB.c
WcActCB.c:22:28: X11/IntrinsicP.h: No such file or directory
WcActCB.c:29:24: X11/ShellP.h: No such file or directory
In file included from WcCreateP.h:19,
                 from WcActCB.c:30:
WcCreate.h:225: warning: parameter names (without types) in function
declaration
WcCreate.h:231: error: syntax error before '*' token
WcCreate.h:231: error: syntax error before "char"
WcCreate.h:231: error: `Widget' declared as function returning a function
WcCreate.h:246: error: syntax error before "char"
WcCreate.h:252: error: syntax error before "char"
WcCreate.h:261: error: syntax error before "char"
WcCreate.h:276: error: syntax error before "char"
WcCreate.h:286: error: syntax error before "char"
WcCreate.h:299: error: syntax error before "WcSetUndefinedCallback"
WcCreate.h:299: warning: parameter names (without types) in function
declaration
WcCreate.h:299: warning: data definition has no type or storage class
WcCreate.h:359: error: syntax error before "char"
WcCreate.h:387: error: syntax error before "XrmQuark"
WcCreate.h:447: error: syntax error before "char"
WcCreate.h:487: warning: parameter names (without types) in function
declaration
WcCreate.h:526: error: `WcCreateChild' declared as function returning a
function
WcCreate.h:533: error: `WcCreateChildFromTemplate' declared as function
returnin g a function
WcCreate.h:548: error: `WcCreatePopup' declared as function returning a
function
WcCreate.h:555: error: `WcCreatePopupFromTemplate' declared as function
returnin g a function
WcCreate.h:565: error: syntax error before '*' token
WcCreate.h:565: error: `WcCreateRoot' declared as function returning a
function
WcCreate.h:624: error: `WcFullNameToWidget' declared as function returning a
fun ction
WcCreate.h:634: error: `WcChildNameToWidget' declared as function returning
a fu nction
WcCreate.h:654: error: syntax error before '*' token
WcCreate.h:705: error: syntax error before "WcStringToQuark"
WcCreate.h:705: warning: data definition has no type or storage class
WcCreate.h:709: error: syntax error before "WcSubStringToQuark"
WcCreate.h:709: warning: data definition has no type or storage class
WcCreate.h:716: error: syntax error before "WcCsSubStringToQuark"
WcCreate.h:716: warning: data definition has no type or storage class
WcCreate.h:762: error: syntax error before "int"
WcCreate.h:763: error: syntax error before "int"
WcCreate.h:891: error: syntax error before "Widget"
WcCreate.h:905: error: syntax error before "Widget"
WcCreate.h:932: error: syntax error before "XEvent"
WcCreate.h:938: error: syntax error before "XEvent"
WcCreate.h:947: error: syntax error before "XEvent"
WcCreate.h:953: error: syntax error before "XEvent"
WcCreate.h:960: error: syntax error before "XEvent"
WcCreate.h:967: error: syntax error before "XEvent"
WcCreate.h:973: error: syntax error before "XEvent"
WcCreate.h:979: error: syntax error before "XEvent"
WcCreate.h:985: error: syntax error before "XEvent"
WcCreate.h:992: error: syntax error before "XEvent"
WcCreate.h:998: error: syntax error before "XEvent"
WcCreate.h:1004: error: syntax error before "XEvent"
WcCreate.h:1012: error: syntax error before "XEvent"
WcCreate.h:1020: error: syntax error before "XEvent"
WcCreate.h:1030: error: syntax error before "XEvent"
WcCreate.h:1038: error: syntax error before "XEvent"
WcCreate.h:1045: error: syntax error before "XEvent"
WcCreate.h:1051: error: syntax error before "XEvent"
WcCreate.h:1057: error: syntax error before "XEvent"
WcCreate.h:1063: error: syntax error before "XEvent"
WcCreate.h:1073: error: syntax error before "XEvent"
WcCreate.h:1083: error: syntax error before "XEvent"
WcCreate.h:1091: error: syntax error before "XEvent"
WcCreate.h:1098: error: syntax error before "XEvent"
WcCreate.h:1105: error: syntax error before "XEvent"
WcCreate.h:1113: error: syntax error before "XEvent"
WcCreate.h:1124: error: syntax error before "XEvent"
WcCreate.h:1136: error: syntax error before "XEvent"
WcCreate.h:1149: error: syntax error before "XEvent"
WcCreate.h:1155: error: syntax error before "XEvent"
WcCreate.h:1165: error: syntax error before "XEvent"
WcCreate.h:1175: error: syntax error before "XEvent"
In file included from WcActCB.c:30:
WcCreateP.h:65: error: syntax error before "Boolean"
WcCreateP.h:65: warning: no semicolon at end of struct or union
WcCreateP.h:69: error: syntax error before "traceTemplateDef"
WcCreateP.h:69: warning: data definition has no type or storage class
WcCreateP.h:70: error: syntax error before "verboseWarnings"
WcCreateP.h:70: warning: data definition has no type or storage class
WcCreateP.h:72: error: syntax error before "slowTightNames"
WcCreateP.h:72: warning: data definition has no type or storage class
WcCreateP.h:75: error: syntax error before '}' token
WcCreateP.h:75: warning: data definition has no type or storage class
WcCreateP.h:77: error: syntax error before "wcl"
WcCreateP.h:77: warning: data definition has no type or storage class
WcCreateP.h:87: error: syntax error before "XrmQuark"
WcCreateP.h:87: warning: no semicolon at end of struct or union
WcCreateP.h:88: warning: data definition has no type or storage class
WcCreateP.h:96: error: syntax error before "Boolean"
WcCreateP.h:96: warning: no semicolon at end of struct or union
WcCreateP.h:97: warning: data definition has no type or storage class
WcCreateP.h:98: error: syntax error before "traceTemplate"
WcCreateP.h:98: warning: data definition has no type or storage class
WcCreateP.h:99: error: syntax error before "postTemplateDump"
WcCreateP.h:99: warning: data definition has no type or storage class
WcCreateP.h:100: error: syntax error before "create"
WcCreateP.h:100: warning: data definition has no type or storage class
WcCreateP.h:101: error: syntax error before "className"
WcCreateP.h:101: warning: data definition has no type or storage class
WcCreateP.h:102: error: syntax error before "class"
WcCreateP.h:102: warning: data definition has no type or storage class
WcCreateP.h:103: error: syntax error before "constructor"
WcCreateP.h:103: warning: data definition has no type or storage class
WcCreateP.h:107: error: syntax error before "trace"
WcCreateP.h:107: warning: data definition has no type or storage class
WcCreateP.h:108: error: syntax error before "postCreateDump"
WcCreateP.h:108: warning: data definition has no type or storage class
WcCreateP.h:109: error: syntax error before "callback"
WcCreateP.h:109: warning: data definition has no type or storage class
WcCreateP.h:112: error: syntax error before "managed"
WcCreateP.h:112: warning: data definition has no type or storage class
WcCreateP.h:113: error: syntax error before "afterPopups"
WcCreateP.h:113: warning: data definition has no type or storage class
WcCreateP.h:114: error: syntax error before "afterChildren"
WcCreateP.h:114: warning: data definition has no type or storage class
WcCreateP.h:115: error: syntax error before "afterManageChildren"
WcCreateP.h:115: warning: data definition has no type or storage class
WcCreateP.h:117: warning: data definition has no type or storage class
WcCreateP.h:125: error: syntax error before "XtAppContext"
WcCreateP.h:125: warning: no semicolon at end of struct or union
WcCreateP.h:134: error: syntax error before "libQ"
WcCreateP.h:134: warning: data definition has no type or storage class
WcCreateP.h:135: error: syntax error before "classQ"
WcCreateP.h:135: warning: data definition has no type or storage class
WcCreateP.h:136: error: syntax error before "nameQ"
WcCreateP.h:136: warning: data definition has no type or storage class
WcCreateP.h:137: error: syntax error before "nameq"
WcCreateP.h:137: warning: data definition has no type or storage class
WcCreateP.h:146: error: syntax error before "Callback"
WcCreateP.h:146: warning: data definition has no type or storage class
WcCreateP.h:151: error: syntax error before '}' token
WcCreateP.h:151: warning: data definition has no type or storage class
In file included from WcActCB.c:30:
WcCreateP.h:219: warning: parameter names (without types) in function
declaratio n
WcCreateP.h:220: warning: parameter names (without types) in function
declaratio n
WcCreateP.h:221: warning: parameter names (without types) in function
declaratio n
WcCreateP.h:222: warning: parameter names (without types) in function
declaratio n
WcCreateP.h:223: warning: parameter names (without types) in function
declaratio n
WcCreateP.h:224: warning: parameter names (without types) in function
declaratio n
WcCreateP.h:226: error: syntax error before "WclRecPtr"
WcCreateP.h:232: error: syntax error before "XrmDatabase"
WcCreateP.h:236: error: syntax error before "Widget"
WcCreateP.h:244: error: `WcRootWidget' declared as function returning a
function
WcCreateP.h:253: error: syntax error before "wcWidgetCvtArgs"
WcCreateP.h:253: warning: data definition has no type or storage class
WcCreateP.h:261: error: syntax error before '*' token
WcCreateP.h:266: error: syntax error before '*' token
WcCreateP.h:266: warning: data definition has no type or storage class
WcCreateP.h:267: error: syntax error before '*' token
WcCreateP.h:314: error: syntax error before '*' token
WcCreateP.h:314: error: syntax error before "WcLateBind"
WcCreateP.h:314: error: `Boolean' declared as function returning a function
WcCreateP.h:316: error: syntax error before "Hook"
WcCreateP.h:317: error: syntax error before "Hook"
WcCreateP.h:374: error: syntax error before '...' token
WcCreateP.h:399: error: syntax error before "WcBuffer_String"
WcCreateP.h:399: warning: data definition has no type or storage class
WcActCB.c:31:28: X11/StringDefs.h: No such file or directory
WcActCB.c: In function `WcxActProcWidget':
WcActCB.c:56: error: syntax error before "Cardinal"
WcActCB.c:60: error: invalid type argument of `unary *'
WcActCB.c:62: error: function `target' is initialized like a variable
WcActCB.c:63: warning: the address of `target', will always evaluate as
`true'
WcActCB.c:66: error: `WidgetClass' undeclared (first use in this function)
WcActCB.c:66: error: (Each undeclared identifier is reported only once
WcActCB.c:66: error: for each function it appears in.)
WcActCB.c:66: error: syntax error before "widgetClass"
WcActCB.c:87: error: syntax error before "else"
WcActCB.c: In function `WcxActProcWidgetInt':
WcActCB.c:109: error: syntax error before "Cardinal"
WcActCB.c:114: error: invalid type argument of `unary *'
WcActCB.c:116: error: function `target' is initialized like a variable
WcActCB.c:117: warning: the address of `target', will always evaluate as
`true'
WcActCB.c:120: error: `WidgetClass' undeclared (first use in this function)
WcActCB.c:120: error: syntax error before "widgetClass"
WcActCB.c:141: error: syntax error before "else"
WcActCB.c: In function `WcManageACT':
WcActCB.c:174: error: syntax error before "XEvent"
WcActCB.c:174: error: syntax error before "Cardinal"
WcActCB.c:177: error: `XtManageChild' undeclared (first use in this
function)
WcActCB.c: In function `WcUnmanageACT':
WcActCB.c:185: error: syntax error before "XEvent"
WcActCB.c:185: error: syntax error before "Cardinal"
WcActCB.c:188: error: `XtUnmanageChild' undeclared (first use in this
function)
WcActCB.c: At top level:
WcActCB.c:197: warning: parameter names (without types) in function
declaration
WcActCB.c: In function `WcxChgMan':
WcActCB.c:204: error: syntax error before "Cardinal"
WcActCB.c:207: error: declaration of `children' as array of functions
WcActCB.c:210: error: invalid type argument of `unary *'
WcActCB.c:217: error: invalid lvalue in assignment
WcActCB.c:225: error: invalid type argument of `unary *'
WcActCB.c:234: error: invalid type argument of `unary *'
WcActCB.c: In function `WcManageChildrenACT':
WcActCB.c:242: error: syntax error before "XEvent"
WcActCB.c:242: error: syntax error before "Cardinal"
WcActCB.c:244: error: `XtManageChildren' undeclared (first use in this
function)
WcActCB.c: In function `WcUnmanageChildrenACT':
WcActCB.c:252: error: syntax error before "XEvent"
WcActCB.c:252: error: syntax error before "Cardinal"
WcActCB.c:254: error: `XtUnmanageChildren' undeclared (first use in this
functio n)
WcActCB.c: In function `WcDestroyACT':
WcActCB.c:267: error: syntax error before "XEvent"
WcActCB.c:267: error: syntax error before "Cardinal"
WcActCB.c:270: error: `XtDestroyWidget' undeclared (first use in this
function)
WcActCB.c: In function `WcSetSensitiveACT':
WcActCB.c:284: error: syntax error before "XEvent"
WcActCB.c:284: error: syntax error before "Cardinal"
WcActCB.c:288: error: `XtSetSensitive' undeclared (first use in this
function)
WcActCB.c:288: error: `TRUE' undeclared (first use in this function)
WcActCB.c: In function `WcSetInsensitiveACT':
WcActCB.c:292: error: syntax error before "XEvent"
WcActCB.c:292: error: syntax error before "Cardinal"
WcActCB.c:296: error: `XtSetSensitive' undeclared (first use in this
function)
WcActCB.c:296: error: `FALSE' undeclared (first use in this function)
WcActCB.c: In function `WcPopupACT':
WcActCB.c:310: error: syntax error before "XEvent"
WcActCB.c:310: error: syntax error before "Cardinal"
WcActCB.c:313: error: `XtPopup' undeclared (first use in this function)
WcActCB.c:313: error: `XtGrabNone' undeclared (first use in this function)
WcActCB.c: In function `WcPopupGrabACT':
WcActCB.c:317: error: syntax error before "XEvent"
WcActCB.c:317: error: syntax error before "Cardinal"
WcActCB.c:320: error: `XtPopup' undeclared (first use in this function)
WcActCB.c:320: error: `XtGrabExclusive' undeclared (first use in this
function)
WcActCB.c: In function `WcPopdownACT':
WcActCB.c:328: error: syntax error before "XEvent"
WcActCB.c:328: error: syntax error before "Cardinal"
WcActCB.c:331: error: `XtPopdown' undeclared (first use in this function)
WcActCB.c: In function `WcMapACT':
WcActCB.c:355: error: syntax error before "XEvent"
WcActCB.c:355: error: syntax error before "Cardinal"
WcActCB.c: In function `WcUnmapACT':
WcActCB.c:362: error: syntax error before "XEvent"
WcActCB.c:362: error: syntax error before "Cardinal"
WcActCB.c: In function `WcInstallAcceleratorsACT':
WcActCB.c:378: error: syntax error before "XEvent"
WcActCB.c:378: error: syntax error before "Cardinal"
WcActCB.c:388: error: invalid type argument of `unary *'
WcActCB.c:393: error: invalid lvalue in assignment
WcActCB.c:400: error: invalid type argument of `unary *'
WcActCB.c:402: error: invalid lvalue in assignment
WcActCB.c: In function `WcInstallAllAcceleratorsACT':
WcActCB.c:416: error: syntax error before "XEvent"
WcActCB.c:416: error: syntax error before "Cardinal"
WcActCB.c:425: error: invalid type argument of `unary *'
WcActCB.c:431: error: invalid lvalue in assignment
WcActCB.c:439: error: invalid lvalue in assignment
WcActCB.c: In function `WcCreateRootACT':
WcActCB.c:457: error: syntax error before "XEvent"
WcActCB.c:457: error: syntax error before "Cardinal"
WcActCB.c:463: error: invalid type argument of `unary *'
WcActCB.c:469: error: invalid type argument of `unary *'
WcActCB.c:471: error: `XtAppContext' undeclared (first use in this function)
WcActCB.c:471: error: syntax error before "app"
WcActCB.c:476: error: `Cardinal' undeclared (first use in this function)
WcActCB.c:476: error: syntax error before "zero"
WcActCB.c:479: error: `Display' undeclared (first use in this function)
WcActCB.c:479: error: `dpy' undeclared (first use in this function)
WcActCB.c:481: error: `app' undeclared (first use in this function)
WcActCB.c:485: error: `zero' undeclared (first use in this function)
WcActCB.c:504: error: invalid type argument of `unary *'
WcActCB.c: In function `WcSpawnACT':
WcActCB.c:519: error: syntax error before "XEvent"
WcActCB.c:519: error: syntax error before "Cardinal"
WcActCB.c:523: error: invalid type argument of `unary *'
WcActCB.c:525: error: invalid type argument of `unary *'
WcActCB.c: In function `WcLoadResourceFileACT':
WcActCB.c:555: error: syntax error before "XEvent"
WcActCB.c:555: error: syntax error before "Cardinal"
WcActCB.c:559: error: invalid type argument of `unary *'
WcActCB.c: In function `WcPrintTreeACT':
WcActCB.c:569: error: syntax error before "XEvent"
WcActCB.c:569: error: syntax error before "Cardinal"
WcActCB.c:571: error: invalid type argument of `unary *'
WcActCB.c: In function `WcDumpResourcesACT':
WcActCB.c:584: error: syntax error before "XEvent"
WcActCB.c:584: error: syntax error before "Cardinal"
WcActCB.c:586: error: invalid type argument of `unary *'
WcActCB.c:591: error: invalid type argument of `unary *'
WcActCB.c:593: error: function `target' is initialized like a variable
WcActCB.c:594: warning: the address of `target', will always evaluate as
`true'
WcActCB.c: In function `WcSameSizeACT':
WcActCB.c:614: error: syntax error before "XEvent"
WcActCB.c:614: error: syntax error before "Cardinal"
WcActCB.c:617: error: declaration of `sameWidgets' as array of functions
WcActCB.c:619: error: `Dimension' undeclared (first use in this function)
WcActCB.c:619: error: syntax error before "maxBorder"
WcActCB.c:620: error: `Arg' undeclared (first use in this function)
WcActCB.c:623: error: invalid type argument of `unary *'
WcActCB.c:631: error: invalid type argument of `unary *'
WcActCB.c:634: error: function `widget' is initialized like a variable
WcActCB.c:636: error: cast specifies function type
WcActCB.c:651: error: `maxBorder' undeclared (first use in this function)
WcActCB.c:651: error: `maxHeight' undeclared (first use in this function)
WcActCB.c:651: error: `maxWidth' undeclared (first use in this function)
WcActCB.c:659: error: `arg' undeclared (first use in this function)
WcActCB.c:659: error: `XtNborderWidth' undeclared (first use in this
function)
WcActCB.c:659: error: `XtArgVal' undeclared (first use in this function)
WcActCB.c:659: error: syntax error before "maxBorder"
WcActCB.c:660: error: `XtNheight' undeclared (first use in this function)
WcActCB.c:660: error: syntax error before "maxHeight"
WcActCB.c:661: error: `XtNwidth' undeclared (first use in this function)
WcActCB.c:661: error: syntax error before "maxWidth"
WcActCB.c: In function `WcExitACT':
WcActCB.c:678: error: syntax error before "XEvent"
WcActCB.c:678: error: syntax error before "Cardinal"
WcActCB.c:680: error: invalid type argument of `unary *'
WcActCB.c: In function `WcxCreateKids':
WcActCB.c:721: error: cast specifies function type
WcActCB.c:721: error: invalid lvalue in assignment
WcActCB.c: In function `WcPositionTransientCB':
WcActCB.c:773: error: `XtWidgetGeometry' undeclared (first use in this
function)
WcActCB.c:773: error: syntax error before "request"
WcActCB.c:776: error: `ShellWidget' undeclared (first use in this function)
WcActCB.c:784: error: invalid lvalue in assignment
WcActCB.c:786: error: `shell' undeclared (first use in this function)
WcActCB.c:786: error: `shellWidgetClass' undeclared (first use in this
function)
WcActCB.c:791: error: `request' undeclared (first use in this function)
WcActCB.c:791: error: `Position' undeclared (first use in this function)
WcActCB.c:791: error: request for member `core' in something not a structure
or union
WcActCB.c:791: error: request for member `core' in something not a structure
or union
WcActCB.c:792: error: request for member `core' in something not a structure
or union
WcActCB.c:792: error: request for member `core' in something not a structure
or union
WcActCB.c:798: error: `CWX' undeclared (first use in this function)
WcActCB.c:799: error: `CWY' undeclared (first use in this function)
WcActCB.c: At top level:
WcActCB.c:874: error: syntax error before "XtCallbackRec"
WcActCB.c: In function `WcxAddOrRemoveCallbacks':
WcActCB.c:883: error: `XtCallbackRec' undeclared (first use in this
function)
WcActCB.c:883: error: `callbacks' undeclared (first use in this function)
WcActCB.c:889: error: invalid lvalue in assignment
WcActCB.c: In function `WcAddCallbacksCB':
WcActCB.c:913: error: `XtAddCallbacks' undeclared (first use in this
function)
WcActCB.c: In function `WcRemoveCallbacksCB':
WcActCB.c:923: error: `XtRemoveCallbacks' undeclared (first use in this
function )
WcActCB.c: In function `WcOnceOnlyCB':
WcActCB.c:946: error: `XtCallbackRec' undeclared (first use in this
function)
WcActCB.c:946: error: `cb' undeclared (first use in this function)
WcActCB.c:947: error: `callbackRecs' undeclared (first use in this function)
WcActCB.c: In function `WcTranslationsCB':
WcActCB.c:994: error: `String' undeclared (first use in this function)
WcActCB.c:994: error: syntax error before "name_trans"
WcActCB.c:999: error: invalid lvalue in assignment
WcActCB.c: At top level:
WcActCB.c:1332: error: syntax error before "XtAppContext"
WcActCB.c:1332: warning: data definition has no type or storage class
WcActCB.c:1334: error: syntax error before "for"
WcActCB.c:1334: error: variable-size type declared outside of any function
WcActCB.c:1334: error: variable-sized object may not be initialized
WcActCB.c:1334: warning: data definition has no type or storage class
WcActCB.c:1334: error: syntax error before '}' token
WcActCB.c:1340: error: syntax error before string constant
WcActCB.c:1341: error: syntax error before string constant
WcActCB.c:1342: error: syntax error before string constant
WcActCB.c:1343: error: syntax error before string constant
WcActCB.c:1344: error: syntax error before string constant
WcActCB.c:1345: error: syntax error before string constant
WcActCB.c:1346: error: syntax error before string constant
WcActCB.c:1347: error: syntax error before string constant
WcActCB.c:1348: error: syntax error before string constant
WcActCB.c:1349: error: syntax error before string constant
WcActCB.c:1350: error: syntax error before string constant
WcActCB.c:1351: error: syntax error before string constant
WcActCB.c:1352: error: syntax error before string constant
WcActCB.c:1353: error: syntax error before string constant
WcActCB.c:1354: error: syntax error before string constant
WcActCB.c:1355: error: syntax error before string constant
WcActCB.c:1356: error: syntax error before string constant
WcActCB.c:1357: error: syntax error before string constant
WcActCB.c:1358: error: syntax error before string constant
WcActCB.c:1359: error: syntax error before string constant
WcActCB.c:1360: error: syntax error before string constant
WcActCB.c:1361: error: syntax error before string constant
WcActCB.c:1362: error: syntax error before string constant
WcActCB.c:1363: error: syntax error before string constant
WcActCB.c:1364: error: syntax error before string constant
WcActCB.c:1365: error: syntax error before string constant
WcActCB.c:1366: error: syntax error before string constant
WcActCB.c:1367: error: syntax error before string constant
WcActCB.c:1368: error: syntax error before string constant
WcActCB.c:1369: error: syntax error before string constant
WcActCB.c:1370: error: syntax error before string constant
WcActCB.c:1371: error: syntax error before string constant
WcActCB.c:1372: error: syntax error before string constant
WcActCB.c:1373: error: syntax error before string constant
WcActCB.c:1374: error: syntax error before string constant
WcActCB.c:1375: error: syntax error before string constant
WcActCB.c:1376: error: syntax error before string constant
WcActCB.c:1377: error: syntax error before string constant
WcActCB.c:1378: error: syntax error before string constant
WcActCB.c:1379: error: syntax error before string constant
WcActCB.c:1380: error: syntax error before string constant
WcActCB.c:1381: error: syntax error before string constant
WcActCB.c:1385: error: syntax error before string constant
WcActCB.c:1386: error: syntax error before string constant
WcActCB.c:1387: error: syntax error before string constant
WcActCB.c:1388: error: syntax error before string constant
WcActCB.c:1389: error: syntax error before string constant
WcActCB.c:1390: error: syntax error before string constant
WcActCB.c:1391: error: syntax error before string constant
WcActCB.c:1392: error: syntax error before string constant
WcActCB.c:1393: error: syntax error before string constant
WcActCB.c:1394: error: syntax error before string constant
WcActCB.c:1395: error: syntax error before string constant
WcActCB.c:1396: error: syntax error before string constant
WcActCB.c:1397: error: syntax error before string constant
WcActCB.c:1398: error: syntax error before string constant
WcActCB.c:1399: error: syntax error before string constant
WcActCB.c:1400: error: syntax error before string constant
WcActCB.c:1401: error: syntax error before string constant
WcActCB.c:1402: error: syntax error before string constant
WcActCB.c:1403: error: syntax error before string constant
WcActCB.c:1404: error: syntax error before string constant
WcActCB.c:1405: error: syntax error before string constant
WcActCB.c:1406: error: syntax error before string constant
WcActCB.c:1407: error: syntax error before string constant
WcActCB.c:1408: error: syntax error before string constant
WcActCB.c:1409: error: syntax error before string constant
WcActCB.c:1410: error: syntax error before string constant
WcActCB.c: In function `WcCreateChildrenACT':
WcActCB.c:1430: error: syntax error before "XEvent"
WcActCB.c:1430: error: syntax error before "Cardinal"
WcActCB.c: In function `WcCreatePopupsACT':
WcActCB.c:1432: error: syntax error before "XEvent"
WcActCB.c:1432: error: syntax error before "Cardinal"
WcActCB.c: In function `WcPositionTransientACT':
WcActCB.c:1434: error: syntax error before "XEvent"
WcActCB.c:1434: error: syntax error before "Cardinal"
WcActCB.c: In function `WcSetValueACT':
WcActCB.c:1436: error: syntax error before "XEvent"
WcActCB.c:1436: error: syntax error before "Cardinal"
WcActCB.c: In function `WcTraceACT':
WcActCB.c:1438: error: syntax error before "XEvent"
WcActCB.c:1438: error: syntax error before "Cardinal"
WcActCB.c: In function `WcSystemACT':
WcActCB.c:1440: error: syntax error before "XEvent"
WcActCB.c:1440: error: syntax error before "Cardinal"
WcActCB.c: In function `WcAddCallbacksACT':
WcActCB.c:1442: error: syntax error before "XEvent"
WcActCB.c:1442: error: syntax error before "Cardinal"
WcActCB.c: In function `WcRemoveCallbacksACT':
WcActCB.c:1444: error: syntax error before "XEvent"
WcActCB.c:1444: error: syntax error before "Cardinal"
WcActCB.c: In function `WcOnceOnlyACT':
WcActCB.c:1446: error: syntax error before "XEvent"
WcActCB.c:1446: error: syntax error before "Cardinal"
WcActCB.c: In function `WcTranslationsACT':
WcActCB.c:1448: error: syntax error before "XEvent"
WcActCB.c:1448: error: syntax error before "Cardinal"
WcActCB.c: In function `WcDynamicActionACT':
WcActCB.c:1450: error: syntax error before "XEvent"
WcActCB.c:1450: error: syntax error before "Cardinal"
WcActCB.c: In function `WcDynamicCallbackACT':
WcActCB.c:1452: error: syntax error before "XEvent"
WcActCB.c:1452: error: syntax error before "Cardinal"
WcActCB.c: At top level:
WcActCB.c:1461: error: syntax error before "XtAppContext"
WcActCB.c:1461: warning: data definition has no type or storage class
WcActCB.c:1536: error: redefinition of 'numApps'
WcActCB.c:1334: error: previous definition of 'numApps' was here
WcActCB.c:1536: error: syntax error before "for"
WcActCB.c:1536: error: variable-size type declared outside of any function
WcActCB.c:1536: error: variable-sized object may not be initialized
WcActCB.c:1536: warning: data definition has no type or storage class
WcActCB.c:1536: error: syntax error before '}' token
WcActCB.c:1538: error: syntax error before '(' token
WcCreateP.h:253: warning: array 'wcWidgetCvtArgs' assumed to have one
element
make[2]: *** [WcActCB.o] Error 1
make[2]: Leaving directory `/home/Julian/amber/amber8/src/leap/src/Wc'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/home/Julian/amber/amber8/src/leap'
make: *** [serial] Error 2
------------------------------
Could you please tell me how to correct those compiling errors?
Thanks a lot!
 
Zunliang
2-25-2006
--------------------------------
Dept.of Biomedical Engineering
Southeast University


-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber.scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo.scripps.edu
Received on Sun Mar 05 2006 - 06:10:08 PST
Custom Search