Dear Amber Development Community,
In resolving one issue, I seem to have run into the next. While compiling Amber using gfortran, the following error is displayed. Any explanations, ideas, criticisms and solutions are greatly appreciated!
Compiling basic programs
cd src/Wc; make
make[2]: Entering directory `/usr/local/amber9/src/leap/src/Wc'
Makefile:10: warning: overriding commands for target `.c.o'
../../../config.h:86: warning: ignoring old commands for target `.c.o'
gcc -c -I/usr/X11R6/include -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2 -m64 -o MapAg.o MapAg.c
MapAg.c: In function ‘MapAg_FirstGuessAtHashAlgorithm’:
MapAg.c:191: warning: cast from pointer to integer of different size
MapAg.c:210: warning: cast from pointer to integer of different size
MapAg.c:227: warning: cast from pointer to integer of different size
MapAg.c: In function ‘MapAg_ReHashUnderCollisionLimit’:
MapAg.c:290: warning: cast from pointer to integer of different size
MapAg.c:290: warning: cast from pointer to integer of different size
MapAg.c:290: warning: cast from pointer to integer of different size
MapAg.c:309: warning: cast from pointer to integer of different size
MapAg.c:309: warning: cast from pointer to integer of different size
MapAg.c:309: warning: cast from pointer to integer of different size
MapAg.c: In function ‘MapAg_ReHash’:
MapAg.c:349: warning: cast from pointer to integer of different size
MapAg.c:349: warning: cast from pointer to integer of different size
MapAg.c:349: warning: cast from pointer to integer of different size
MapAg.c: In function ‘MapAg_Find_Normal’:
MapAg.c:455: warning: cast from pointer to integer of different size
MapAg.c:455: warning: cast from pointer to integer of different size
MapAg.c:455: warning: cast from pointer to integer of different size
MapAg.c: In function ‘MapAg_Define_Initial’:
MapAg.c:492: warning: cast from pointer to integer of different size
MapAg.c:492: warning: cast from pointer to integer of different size
MapAg.c:492: warning: cast from pointer to integer of different size
MapAg.c: In function ‘MapAg_Define_Normal’:
MapAg.c:505: warning: cast from pointer to integer of different size
MapAg.c:505: warning: cast from pointer to integer of different size
MapAg.c:505: warning: cast from pointer to integer of different size
MapAg.c:527: warning: cast from pointer to integer of different size
MapAg.c:527: warning: cast from pointer to integer of different size
MapAg.c:527: warning: cast from pointer to integer of different size
MapAg.c:532: warning: cast from pointer to integer of different size
MapAg.c:532: warning: cast from pointer to integer of different size
MapAg.c:532: warning: cast from pointer to integer of different size
MapAg.c: In function ‘MapAg_Forget_Normal’:
MapAg.c:608: warning: cast from pointer to integer of different size
MapAg.c:608: warning: cast from pointer to integer of different size
MapAg.c:608: warning: cast from pointer to integer of different size
gcc -c -I/usr/X11R6/include -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2 -m64 -o WcActCB.o WcActCB.c
WcActCB.c:22:28: error: X11/IntrinsicP.h: No such file or directory
WcActCB.c:29:24: error: 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: expected declaration specifiers or ‘...’ before ‘*’ token
WcCreate.h:231: error: expected ‘)’ before ‘char’
WcCreate.h:246: error: expected ‘)’ before ‘char’
WcCreate.h:252: error: expected ‘)’ before ‘char’
WcCreate.h:261: error: expected ‘)’ before ‘char’
WcCreate.h:276: error: expected ‘)’ before ‘char’
WcCreate.h:286: error: expected ‘)’ before ‘char’
WcCreate.h:299: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘WcSetUndefinedCallback’
WcCreate.h:359: error: expected ‘)’ before ‘char’
WcCreate.h:387: warning: parameter names (without types) in function declaration
WcCreate.h:399: error: expected declaration specifiers or ‘...’ before ‘Widget’
WcCreate.h:409: error: expected declaration specifiers or ‘...’ before ‘Widget’
WcCreate.h:447: error: expected ‘)’ before ‘char’
WcCreate.h:479: warning: parameter names (without types) in function declaration
WcCreate.h:483: warning: parameter names (without types) in function declaration
WcCreate.h:487: warning: parameter names (without types) in function declaration
WcCreate.h:519: error: expected ‘)’ before ‘char’
WcCreate.h:526: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘WcCreateChild’
WcCreate.h:533: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘WcCreateChildFromTemplate’
WcCreate.h:541: error: expected ‘)’ before ‘char’
WcCreate.h:548: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘WcCreatePopup’
WcCreate.h:555: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘WcCreatePopupFromTemplate’
WcCreate.h:565: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘WcCreateRoot’
WcCreate.h:580: error: expected ‘)’ before ‘char’
WcCreate.h:592: error: expected ‘)’ before ‘FILE’
WcCreate.h:624: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘WcFullNameToWidget’
WcCreate.h:634: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘WcChildNameToWidget’
WcCreate.h:642: warning: parameter names (without types) in function declaration
WcCreate.h:646: warning: parameter names (without types) in function declaration
WcCreate.h:650: warning: parameter names (without types) in function declaration
WcCreate.h:654: error: expected ‘)’ before ‘*’ token
WcCreate.h:705: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘WcStringToQuark’
WcCreate.h:709: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘WcSubStringToQuark’
WcCreate.h:716: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘WcCsSubStringToQuark’
WcCreate.h:762: error: expected ‘)’ before ‘int’
WcCreate.h:763: error: expected ‘)’ before ‘int’
WcCreate.h:809: error: expected ‘)’ before ‘char’
WcCreate.h:816: error: expected ‘)’ before ‘char’
WcCreate.h:829: error: expected ‘)’ before ‘char’
WcCreate.h:842: error: expected ‘)’ before ‘char’
WcCreate.h:850: error: expected ‘)’ before ‘char’
WcCreate.h:865: error: expected ‘)’ before ‘char’
WcCreate.h:891: error: expected ‘)’ before ‘char’
WcCreate.h:897: error: expected declaration specifiers or ‘...’ before ‘Widget’
WcCreate.h:905: error: expected ‘)’ before ‘char’
WcCreate.h:931: error: expected ‘)’ before ‘XtPointer’
WcCreate.h:932: error: expected ‘)’ before ‘*’ token
WcCreate.h:937: error: expected ‘)’ before ‘XtPointer’
WcCreate.h:938: error: expected ‘)’ before ‘*’ token
WcCreate.h:946: error: expected ‘)’ before ‘XtPointer’
WcCreate.h:947: error: expected ‘)’ before ‘*’ token
WcCreate.h:952: error: expected ‘)’ before ‘XtPointer’
WcCreate.h:953: error: expected ‘)’ before ‘*’ token
WcCreate.h:959: error: expected ‘)’ before ‘XtPointer’
WcCreate.h:960: error: expected ‘)’ before ‘*’ token
WcCreate.h:966: error: expected ‘)’ before ‘XtPointer’
WcCreate.h:967: error: expected ‘)’ before ‘*’ token
WcCreate.h:972: error: expected ‘)’ before ‘XtPointer’
WcCreate.h:973: error: expected ‘)’ before ‘*’ token
WcCreate.h:978: error: expected ‘)’ before ‘XtPointer’
WcCreate.h:979: error: expected ‘)’ before ‘*’ token
WcCreate.h:984: error: expected ‘)’ before ‘XtPointer’
WcCreate.h:985: error: expected ‘)’ before ‘*’ token
WcCreate.h:991: error: expected ‘)’ before ‘XtPointer’
WcCreate.h:992: error: expected ‘)’ before ‘*’ token
WcCreate.h:997: error: expected ‘)’ before ‘XtPointer’
WcCreate.h:998: error: expected ‘)’ before ‘*’ token
WcCreate.h:1003: error: expected ‘)’ before ‘XtPointer’
WcCreate.h:1004: error: expected ‘)’ before ‘*’ token
WcCreate.h:1011: error: expected ‘)’ before ‘XtPointer’
WcCreate.h:1012: error: expected ‘)’ before ‘*’ token
WcCreate.h:1019: error: expected ‘)’ before ‘XtPointer’
WcCreate.h:1020: error: expected ‘)’ before ‘*’ token
WcCreate.h:1029: error: expected ‘)’ before ‘XtPointer’
WcCreate.h:1030: error: expected ‘)’ before ‘*’ token
WcCreate.h:1037: error: expected ‘)’ before ‘XtPointer’
WcCreate.h:1038: error: expected ‘)’ before ‘*’ token
WcCreate.h:1044: error: expected ‘)’ before ‘XtPointer’
WcCreate.h:1045: error: expected ‘)’ before ‘*’ token
WcCreate.h:1050: error: expected ‘)’ before ‘XtPointer’
WcCreate.h:1051: error: expected ‘)’ before ‘*’ token
WcCreate.h:1056: error: expected ‘)’ before ‘XtPointer’
WcCreate.h:1057: error: expected ‘)’ before ‘*’ token
WcCreate.h:1062: error: expected ‘)’ before ‘XtPointer’
WcCreate.h:1063: error: expected ‘)’ before ‘*’ token
WcCreate.h:1072: error: expected ‘)’ before ‘XtPointer’
WcCreate.h:1073: error: expected ‘)’ before ‘*’ token
WcCreate.h:1082: error: expected ‘)’ before ‘XtPointer’
WcCreate.h:1083: error: expected ‘)’ before ‘*’ token
WcCreate.h:1090: error: expected ‘)’ before ‘XtPointer’
WcCreate.h:1091: error: expected ‘)’ before ‘*’ token
WcCreate.h:1097: error: expected ‘)’ before ‘XtPointer’
WcCreate.h:1098: error: expected ‘)’ before ‘*’ token
WcCreate.h:1104: error: expected ‘)’ before ‘XtPointer’
WcCreate.h:1105: error: expected ‘)’ before ‘*’ token
WcCreate.h:1112: error: expected ‘)’ before ‘XtPointer’
WcCreate.h:1113: error: expected ‘)’ before ‘*’ token
WcCreate.h:1123: error: expected ‘)’ before ‘XtPointer’
WcCreate.h:1124: error: expected ‘)’ before ‘*’ token
WcCreate.h:1135: error: expected ‘)’ before ‘XtPointer’
WcCreate.h:1136: error: expected ‘)’ before ‘*’ token
WcCreate.h:1148: error: expected ‘)’ before ‘XtPointer’
WcCreate.h:1149: error: expected ‘)’ before ‘*’ token
WcCreate.h:1154: error: expected ‘)’ before ‘XtPointer’
WcCreate.h:1155: error: expected ‘)’ before ‘*’ token
WcCreate.h:1164: error: expected ‘)’ before ‘XtPointer’
WcCreate.h:1165: error: expected ‘)’ before ‘*’ token
WcCreate.h:1174: error: expected ‘)’ before ‘XtPointer’
WcCreate.h:1175: error: expected ‘)’ before ‘*’ token
In file included from WcActCB.c:30:
WcCreateP.h:65: error: expected specifier-qualifier-list before ‘Boolean’
WcCreateP.h:87: error: expected specifier-qualifier-list before ‘XrmQuark’
WcCreateP.h:96: error: expected specifier-qualifier-list before ‘Boolean’
WcCreateP.h:125: error: expected specifier-qualifier-list before ‘XtAppContext’
In file included from WcActCB.c:30:
WcCreateP.h:219: error: expected ‘)’ before ‘WclRecPtr’
WcCreateP.h:220: error: expected ‘)’ before ‘WclRecPtr’
WcCreateP.h:221: error: expected ‘)’ before ‘WclRecPtr’
WcCreateP.h:222: warning: parameter names (without types) in function declaration
WcCreateP.h:223: warning: parameter names (without types) in function declaration
WcCreateP.h:224: warning: parameter names (without types) in function declaration
WcCreateP.h:226: error: expected ‘)’ before ‘WclRecPtr’
WcCreateP.h:232: error: expected ‘)’ before ‘char’
WcCreateP.h:236: error: expected ‘)’ before ‘char’
WcCreateP.h:244: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘WcRootWidget’
WcCreateP.h:253: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘wcWidgetCvtArgs’
WcCreateP.h:261: error: expected ‘)’ before ‘*’ token
WcCreateP.h:266: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
WcCreateP.h:267: error: expected ‘)’ before ‘*’ token
WcCreateP.h:271: error: expected ‘)’ before ‘XtPointer’
WcCreateP.h:314: error: expected declaration specifiers or ‘...’ before ‘*’ token
WcCreateP.h:314: error: ‘Boolean’ declared as function returning a function
WcCreateP.h:316: error: expected ‘)’ before ‘Hook’
WcCreateP.h:317: error: expected ‘)’ before ‘Hook’
WcCreateP.h:338: error: expected ‘)’ before ‘char’
WcCreateP.h:339: error: expected ‘)’ before ‘char’
WcCreateP.h:340: error: expected ‘)’ before ‘char’
WcCreateP.h:341: error: expected ‘)’ before ‘char’
WcCreateP.h:374: error: expected ‘)’ before ‘...’ token
WcCreateP.h:376: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘WcPrint’
WcCreateP.h:399: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘WcBuffer_String’
WcCreateP.h:416: error: expected ‘)’ before ‘char’
WcActCB.c:31:28: error: X11/StringDefs.h: No such file or directory
WcActCB.c:49: warning: parameter names (without types) in function declaration
WcActCB.c: In function ‘WcxActProcWidget’:
WcActCB.c:54: error: expected declaration specifiers before ‘Widget’
WcActCB.c:56: error: expected declaration specifiers before ‘Cardinal’
WcActCB.c:60: error: invalid type argument of ‘unary *’
WcActCB.c:62: error: ‘Widget’ undeclared (first use in this function)
WcActCB.c:62: error: (Each undeclared identifier is reported only once
WcActCB.c:62: error: for each function it appears in.)
WcActCB.c:62: error: expected ‘;’ before ‘target’
WcActCB.c:63: error: ‘target’ undeclared (first use in this function)
WcActCB.c:66: error: ‘WidgetClass’ undeclared (first use in this function)
WcActCB.c:66: error: expected ‘)’ before ‘widgetClass’
WcActCB.c: At top level:
WcActCB.c:101: error: expected ‘)’ before ‘int’
WcActCB.c: In function ‘WcxActProcWidgetInt’:
WcActCB.c:107: error: expected declaration specifiers before ‘Widget’
WcActCB.c:109: error: expected declaration specifiers before ‘Cardinal’
WcActCB.c:110: error: expected declaration specifiers before ‘PFVWidInt’
WcActCB.c:114: error: invalid type argument of ‘unary *’
WcActCB.c:116: error: ‘Widget’ undeclared (first use in this function)
WcActCB.c:116: error: expected ‘;’ before ‘target’
WcActCB.c:117: error: ‘target’ undeclared (first use in this function)
WcActCB.c:120: error: ‘WidgetClass’ undeclared (first use in this function)
WcActCB.c:120: error: expected ‘)’ before ‘widgetClass’
WcActCB.c:123: error: called object ‘Proc’ is not a function
WcActCB.c: In function ‘WcManageACT’:
WcActCB.c:174: error: expected declaration specifiers before ‘Widget’
WcActCB.c:174: error: expected declaration specifiers before ‘XEvent’
WcActCB.c:174: error: expected declaration specifiers before ‘Cardinal’
WcActCB.c:177: error: ‘XtManageChild’ undeclared (first use in this function)
WcActCB.c: In function ‘WcUnmanageACT’:
WcActCB.c:185: error: expected declaration specifiers before ‘Widget’
WcActCB.c:185: error: expected declaration specifiers before ‘XEvent’
WcActCB.c:185: error: expected declaration specifiers 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:202: error: expected declaration specifiers before ‘Widget’
WcActCB.c:204: error: expected declaration specifiers before ‘Cardinal’
WcActCB.c:206: error: ‘Widget’ undeclared (first use in this function)
WcActCB.c:206: error: expected ‘;’ before ‘parent’
WcActCB.c:207: error: expected ‘;’ before ‘children’
WcActCB.c:210: error: invalid type argument of ‘unary *’
WcActCB.c:217: error: ‘parent’ undeclared (first use in this function)
WcActCB.c:225: error: invalid type argument of ‘unary *’
WcActCB.c:227: error: ‘children’ undeclared (first use in this function)
WcActCB.c:234: error: invalid type argument of ‘unary *’
WcActCB.c: In function ‘WcManageChildrenACT’:
WcActCB.c:242: error: expected declaration specifiers before ‘Widget’
WcActCB.c:242: error: expected declaration specifiers before ‘XEvent’
WcActCB.c:242: error: expected declaration specifiers before ‘Cardinal’
WcActCB.c:244: error: ‘XtManageChildren’ undeclared (first use in this function)
WcActCB.c: In function ‘WcUnmanageChildrenACT’:
WcActCB.c:252: error: expected declaration specifiers before ‘Widget’
WcActCB.c:252: error: expected declaration specifiers before ‘XEvent’
WcActCB.c:252: error: expected declaration specifiers before ‘Cardinal’
WcActCB.c:254: error: ‘XtUnmanageChildren’ undeclared (first use in this function)
WcActCB.c: In function ‘WcDestroyACT’:
WcActCB.c:267: error: expected declaration specifiers before ‘Widget’
WcActCB.c:267: error: expected declaration specifiers before ‘XEvent’
WcActCB.c:267: error: expected declaration specifiers before ‘Cardinal’
WcActCB.c:270: error: ‘XtDestroyWidget’ undeclared (first use in this function)
WcActCB.c: In function ‘WcSetSensitiveACT’:
WcActCB.c:284: error: expected declaration specifiers before ‘Widget’
WcActCB.c:284: error: expected declaration specifiers before ‘XEvent’
WcActCB.c:284: error: expected declaration specifiers 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: expected declaration specifiers before ‘Widget’
WcActCB.c:292: error: expected declaration specifiers before ‘XEvent’
WcActCB.c:292: error: expected declaration specifiers 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: expected declaration specifiers before ‘Widget’
WcActCB.c:310: error: expected declaration specifiers before ‘XEvent’
WcActCB.c:310: error: expected declaration specifiers 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: expected declaration specifiers before ‘Widget’
WcActCB.c:317: error: expected declaration specifiers before ‘XEvent’
WcActCB.c:317: error: expected declaration specifiers 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: expected declaration specifiers before ‘Widget’
WcActCB.c:328: error: expected declaration specifiers before ‘XEvent’
WcActCB.c:328: error: expected declaration specifiers before ‘Cardinal’
WcActCB.c:331: error: ‘XtPopdown’ undeclared (first use in this function)
WcActCB.c: At top level:
WcActCB.c:351: warning: parameter names (without types) in function declaration
WcActCB.c:352: warning: parameter names (without types) in function declaration
WcActCB.c: In function ‘WcMapACT’:
WcActCB.c:355: error: expected declaration specifiers before ‘Widget’
WcActCB.c:355: error: expected declaration specifiers before ‘XEvent’
WcActCB.c:355: error: expected declaration specifiers before ‘Cardinal’
WcActCB.c: In function ‘WcUnmapACT’:
WcActCB.c:362: error: expected declaration specifiers before ‘Widget’
WcActCB.c:362: error: expected declaration specifiers before ‘XEvent’
WcActCB.c:362: error: expected declaration specifiers before ‘Cardinal’
WcActCB.c: In function ‘WcInstallAcceleratorsACT’:
WcActCB.c:378: error: expected declaration specifiers before ‘Widget’
WcActCB.c:378: error: expected declaration specifiers before ‘XEvent’
WcActCB.c:378: error: expected declaration specifiers before ‘Cardinal’
WcActCB.c:381: error: ‘Widget’ undeclared (first use in this function)
WcActCB.c:381: error: expected ‘;’ before ‘dest’
WcActCB.c:388: error: invalid type argument of ‘unary *’
WcActCB.c:393: error: ‘dest’ undeclared (first use in this function)
WcActCB.c:400: error: invalid type argument of ‘unary *’
WcActCB.c:402: error: ‘src’ undeclared (first use in this function)
WcActCB.c: In function ‘WcInstallAllAcceleratorsACT’:
WcActCB.c:416: error: expected declaration specifiers before ‘Widget’
WcActCB.c:416: error: expected declaration specifiers before ‘XEvent’
WcActCB.c:416: error: expected declaration specifiers before ‘Cardinal’
WcActCB.c:418: error: ‘Widget’ undeclared (first use in this function)
WcActCB.c:418: error: expected ‘;’ before ‘dest’
WcActCB.c:425: error: invalid type argument of ‘unary *’
WcActCB.c:431: error: ‘dest’ undeclared (first use in this function)
WcActCB.c:439: error: ‘src’ undeclared (first use in this function)
WcActCB.c: In function ‘WcCreateRootACT’:
WcActCB.c:457: error: expected declaration specifiers before ‘Widget’
WcActCB.c:457: error: expected declaration specifiers before ‘XEvent’
WcActCB.c:457: error: expected declaration specifiers 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: expected ‘;’ before ‘app’
WcActCB.c:476: error: ‘Cardinal’ undeclared (first use in this function)
WcActCB.c:476: error: expected ‘;’ 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: expected declaration specifiers before ‘Widget’
WcActCB.c:519: error: expected declaration specifiers before ‘XEvent’
WcActCB.c:519: error: expected declaration specifiers before ‘Cardinal’
WcActCB.c:523: error: invalid type argument of ‘unary *’
WcActCB.c:523: warning: cast to pointer from integer of different size
WcActCB.c:525: error: invalid type argument of ‘unary *’
WcActCB.c:539: warning: incompatible implicit declaration of built-in function ‘exit’
WcActCB.c: In function ‘WcLoadResourceFileACT’:
WcActCB.c:555: error: expected declaration specifiers before ‘Widget’
WcActCB.c:555: error: expected declaration specifiers before ‘XEvent’
WcActCB.c:555: error: expected declaration specifiers before ‘Cardinal’
WcActCB.c:559: error: invalid type argument of ‘unary *’
WcActCB.c: In function ‘WcPrintTreeACT’:
WcActCB.c:569: error: expected declaration specifiers before ‘Widget’
WcActCB.c:569: error: expected declaration specifiers before ‘XEvent’
WcActCB.c:569: error: expected declaration specifiers before ‘Cardinal’
WcActCB.c:571: error: invalid type argument of ‘unary *’
WcActCB.c: In function ‘WcDumpResourcesACT’:
WcActCB.c:584: error: expected declaration specifiers before ‘Widget’
WcActCB.c:584: error: expected declaration specifiers before ‘XEvent’
WcActCB.c:584: error: expected declaration specifiers before ‘Cardinal’
WcActCB.c:586: error: invalid type argument of ‘unary *’
WcActCB.c:591: error: invalid type argument of ‘unary *’
WcActCB.c:593: error: ‘Widget’ undeclared (first use in this function)
WcActCB.c:593: error: expected ‘;’ before ‘target’
WcActCB.c:594: error: ‘target’ undeclared (first use in this function)
WcActCB.c: In function ‘WcSameSizeACT’:
WcActCB.c:614: error: expected declaration specifiers before ‘Widget’
WcActCB.c:614: error: expected declaration specifiers before ‘XEvent’
WcActCB.c:614: error: expected declaration specifiers before ‘Cardinal’
WcActCB.c:617: error: ‘Widget’ undeclared (first use in this function)
WcActCB.c:617: error: expected ‘;’ before ‘sameWidgets’
WcActCB.c:619: error: ‘Dimension’ undeclared (first use in this function)
WcActCB.c:619: error: expected ‘;’ before ‘maxBorder’
WcActCB.c:620: error: ‘Arg’ undeclared (first use in this function)
WcActCB.c:620: error: expected ‘;’ before ‘arg’
WcActCB.c:623: error: invalid type argument of ‘unary *’
WcActCB.c:631: error: invalid type argument of ‘unary *’
WcActCB.c:634: error: expected ‘;’ before ‘widget’
WcActCB.c:636: error: expected ‘)’ before numeric constant
WcActCB.c:638: error: ‘sameWidgets’ undeclared (first use in this function)
WcActCB.c:638: error: ‘widget’ undeclared (first use in this function)
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: expected ‘)’ before ‘maxBorder’
WcActCB.c:660: error: ‘XtNheight’ undeclared (first use in this function)
WcActCB.c:660: error: expected ‘)’ before ‘maxHeight’
WcActCB.c:661: error: ‘XtNwidth’ undeclared (first use in this function)
WcActCB.c:661: error: expected ‘)’ before ‘maxWidth’
WcActCB.c: In function ‘WcExitACT’:
WcActCB.c:678: error: expected declaration specifiers before ‘Widget’
WcActCB.c:678: error: expected declaration specifiers before ‘XEvent’
WcActCB.c:678: error: expected declaration specifiers before ‘Cardinal’
WcActCB.c:680: error: invalid type argument of ‘unary *’
WcActCB.c:681: warning: incompatible implicit declaration of built-in function ‘exit’
WcActCB.c: At top level:
WcActCB.c:698: error: expected ‘)’ before ‘char’
WcActCB.c: In function ‘WcxCreateKids’:
WcActCB.c:701: error: expected declaration specifiers before ‘Widget’
WcActCB.c:704: error: expected declaration specifiers before ‘PVFWidStr’
WcActCB.c:707: error: ‘Widget’ undeclared (first use in this function)
WcActCB.c:707: error: expected ‘;’ before ‘parent’
WcActCB.c:721: error: ‘parent’ undeclared (first use in this function)
WcActCB.c:737: error: called object ‘CreateFunc’ is not a function
WcActCB.c: In function ‘WcCreateChildrenCB’:
WcActCB.c:742: error: expected declaration specifiers before ‘Widget’
WcActCB.c:747: error: ‘WcCreateNamedChildren’ undeclared (first use in this function)
WcActCB.c: In function ‘WcCreatePopupsCB’:
WcActCB.c:752: error: expected declaration specifiers before ‘Widget’
WcActCB.c:757: error: ‘WcCreateNamedPopups’ undeclared (first use in this function)
WcActCB.c: In function ‘WcPositionTransientCB’:
WcActCB.c:768: error: expected declaration specifiers before ‘Widget’
WcActCB.c:772: error: ‘Widget’ undeclared (first use in this function)
WcActCB.c:772: error: expected ‘;’ before ‘child’
WcActCB.c:773: error: ‘XtWidgetGeometry’ undeclared (first use in this function)
WcActCB.c:773: error: expected ‘;’ before ‘request’
WcActCB.c:776: error: ‘ShellWidget’ undeclared (first use in this function)
WcActCB.c:776: error: expected ‘;’ before ‘shell’
WcActCB.c:784: error: ‘transientFor’ undeclared (first use in this function)
WcActCB.c:786: error: expected ‘)’ before ‘shell’
WcActCB.c:788: error: ‘child’ undeclared (first use in this function)
WcActCB.c:788: error: ‘shell’ 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:798: error: ‘CWX’ undeclared (first use in this function)
WcActCB.c:799: error: ‘CWY’ undeclared (first use in this function)
WcActCB.c:802: error: expected ‘)’ before ‘shell’
WcActCB.c: In function ‘WcSetValueCB’:
WcActCB.c:823: error: expected declaration specifiers before ‘Widget’
WcActCB.c: In function ‘WcTraceCB’:
WcActCB.c:838: error: expected declaration specifiers before ‘Widget’
WcActCB.c: In function ‘WcSystemCB’:
WcActCB.c:856: error: expected declaration specifiers before ‘Widget’
WcActCB.c: At top level:
WcActCB.c:874: error: expected ‘)’ before ‘char’
WcActCB.c: In function ‘WcxAddOrRemoveCallbacks’:
WcActCB.c:877: error: expected declaration specifiers before ‘Widget’
WcActCB.c:880: error: expected declaration specifiers before ‘AddOrRemoveProc’
WcActCB.c:883: error: ‘XtCallbackRec’ undeclared (first use in this function)
WcActCB.c:883: error: ‘callbacks’ undeclared (first use in this function)
WcActCB.c:884: error: ‘Widget’ undeclared (first use in this function)
WcActCB.c:884: error: expected ‘;’ before ‘target’
WcActCB.c:889: error: ‘target’ undeclared (first use in this function)
WcActCB.c:901: error: called object ‘AddOrRemove’ is not a function
WcActCB.c: In function ‘WcAddCallbacksCB’:
WcActCB.c:908: error: expected declaration specifiers before ‘Widget’
WcActCB.c:913: error: ‘XtAddCallbacks’ undeclared (first use in this function)
WcActCB.c: In function ‘WcRemoveCallbacksCB’:
WcActCB.c:918: error: expected declaration specifiers before ‘Widget’
WcActCB.c:923: error: ‘XtRemoveCallbacks’ undeclared (first use in this function)
WcActCB.c: In function ‘WcOnceOnlyCB’:
WcActCB.c:937: error: expected declaration specifiers before ‘Widget’
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:989: error: expected declaration specifiers before ‘Widget’
WcActCB.c:994: error: ‘String’ undeclared (first use in this function)
WcActCB.c:994: error: expected ‘,’ or ‘;’ before ‘name_trans’
WcActCB.c:995: error: ‘Widget’ undeclared (first use in this function)
WcActCB.c:995: error: expected ‘;’ before ‘target’
WcActCB.c:999: error: ‘target’ undeclared (first use in this function)
WcActCB.c: In function ‘WcDynamicInvoke’:
WcActCB.c:1026: error: expected declaration specifiers before ‘Widget’
WcActCB.c: In function ‘WcDynamicActionCB’:
WcActCB.c:1243: error: expected declaration specifiers before ‘Widget’
WcActCB.c: In function ‘WcDynamicCallbackCB’:
WcActCB.c:1256: error: expected declaration specifiers before ‘Widget’
WcActCB.c: In function ‘WcManageCB’:
WcActCB.c:1283: error: expected declaration specifiers before ‘Widget’
WcActCB.c: In function ‘WcUnmanageCB’:
WcActCB.c:1285: error: expected declaration specifiers before ‘Widget’
WcActCB.c: In function ‘WcManageChildrenCB’:
WcActCB.c:1287: error: expected declaration specifiers before ‘Widget’
WcActCB.c: In function ‘WcUnmanageChildrenCB’:
WcActCB.c:1289: error: expected declaration specifiers before ‘Widget’
WcActCB.c: In function ‘WcDestroyCB’:
WcActCB.c:1291: error: expected declaration specifiers before ‘Widget’
WcActCB.c: In function ‘WcSetSensitiveCB’:
WcActCB.c:1293: error: expected declaration specifiers before ‘Widget’
WcActCB.c: In function ‘WcSetInsensitiveCB’:
WcActCB.c:1295: error: expected declaration specifiers before ‘Widget’
WcActCB.c: In function ‘WcPopupCB’:
WcActCB.c:1297: error: expected declaration specifiers before ‘Widget’
WcActCB.c: In function ‘WcPopupGrabCB’:
WcActCB.c:1299: error: expected declaration specifiers before ‘Widget’
WcActCB.c: In function ‘WcPopdownCB’:
WcActCB.c:1301: error: expected declaration specifiers before ‘Widget’
WcActCB.c: In function ‘WcMapCB’:
WcActCB.c:1303: error: expected declaration specifiers before ‘Widget’
WcActCB.c: In function ‘WcUnmapCB’:
WcActCB.c:1305: error: expected declaration specifiers before ‘Widget’
WcActCB.c: In function ‘WcInstallAcceleratorsCB’:
WcActCB.c:1307: error: expected declaration specifiers before ‘Widget’
WcActCB.c: In function ‘WcInstallAllAcceleratorsCB’:
WcActCB.c:1309: error: expected declaration specifiers before ‘Widget’
WcActCB.c: In function ‘WcCreateRootCB’:
WcActCB.c:1311: error: expected declaration specifiers before ‘Widget’
WcActCB.c: In function ‘WcSpawnCB’:
WcActCB.c:1313: error: expected declaration specifiers before ‘Widget’
WcActCB.c: In function ‘WcLoadResourceFileCB’:
WcActCB.c:1315: error: expected declaration specifiers before ‘Widget’
WcActCB.c: In function ‘WcPrintTreeCB’:
WcActCB.c:1317: error: expected declaration specifiers before ‘Widget’
WcActCB.c: In function ‘WcDumpResourcesCB’:
WcActCB.c:1319: error: expected declaration specifiers before ‘Widget’
WcActCB.c: In function ‘WcSameSizeCB’:
WcActCB.c:1321: error: expected declaration specifiers before ‘Widget’
WcActCB.c: In function ‘WcExitCB’:
WcActCB.c:1323: error: expected declaration specifiers before ‘Widget’
WcActCB.c: In function ‘WcRegisterWcCallbacks’:
WcActCB.c:1332: error: expected declaration specifiers before ‘XtAppContext’
WcActCB.c:1334: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘already’
WcActCB.c:1334: error: ‘already’ undeclared (first use in this function)
WcActCB.c: In function ‘WcCreateChildrenACT’:
WcActCB.c:1430: error: expected declaration specifiers before ‘Widget’
WcActCB.c:1430: error: expected declaration specifiers before ‘XEvent’
WcActCB.c:1430: error: expected declaration specifiers before ‘Cardinal’
WcActCB.c: In function ‘WcCreatePopupsACT’:
WcActCB.c:1432: error: expected declaration specifiers before ‘Widget’
WcActCB.c:1432: error: expected declaration specifiers before ‘XEvent’
WcActCB.c:1432: error: expected declaration specifiers before ‘Cardinal’
WcActCB.c: In function ‘WcPositionTransientACT’:
WcActCB.c:1434: error: expected declaration specifiers before ‘Widget’
WcActCB.c:1434: error: expected declaration specifiers before ‘XEvent’
WcActCB.c:1434: error: expected declaration specifiers before ‘Cardinal’
WcActCB.c: In function ‘WcSetValueACT’:
WcActCB.c:1436: error: expected declaration specifiers before ‘Widget’
WcActCB.c:1436: error: expected declaration specifiers before ‘XEvent’
WcActCB.c:1436: error: expected declaration specifiers before ‘Cardinal’
WcActCB.c: In function ‘WcTraceACT’:
WcActCB.c:1438: error: expected declaration specifiers before ‘Widget’
WcActCB.c:1438: error: expected declaration specifiers before ‘XEvent’
WcActCB.c:1438: error: expected declaration specifiers before ‘Cardinal’
WcActCB.c: In function ‘WcSystemACT’:
WcActCB.c:1440: error: expected declaration specifiers before ‘Widget’
WcActCB.c:1440: error: expected declaration specifiers before ‘XEvent’
WcActCB.c:1440: error: expected declaration specifiers before ‘Cardinal’
WcActCB.c: In function ‘WcAddCallbacksACT’:
WcActCB.c:1442: error: expected declaration specifiers before ‘Widget’
WcActCB.c:1442: error: expected declaration specifiers before ‘XEvent’
WcActCB.c:1442: error: expected declaration specifiers before ‘Cardinal’
WcActCB.c: In function ‘WcRemoveCallbacksACT’:
WcActCB.c:1444: error: expected declaration specifiers before ‘Widget’
WcActCB.c:1444: error: expected declaration specifiers before ‘XEvent’
WcActCB.c:1444: error: expected declaration specifiers before ‘Cardinal’
WcActCB.c: In function ‘WcOnceOnlyACT’:
WcActCB.c:1446: error: expected declaration specifiers before ‘Widget’
WcActCB.c:1446: error: expected declaration specifiers before ‘XEvent’
WcActCB.c:1446: error: expected declaration specifiers before ‘Cardinal’
WcActCB.c: In function ‘WcTranslationsACT’:
WcActCB.c:1448: error: expected declaration specifiers before ‘Widget’
WcActCB.c:1448: error: expected declaration specifiers before ‘XEvent’
WcActCB.c:1448: error: expected declaration specifiers before ‘Cardinal’
WcActCB.c: In function ‘WcDynamicActionACT’:
WcActCB.c:1450: error: expected declaration specifiers before ‘Widget’
WcActCB.c:1450: error: expected declaration specifiers before ‘XEvent’
WcActCB.c:1450: error: expected declaration specifiers before ‘Cardinal’
WcActCB.c: In function ‘WcDynamicCallbackACT’:
WcActCB.c:1452: error: expected declaration specifiers before ‘Widget’
WcActCB.c:1452: error: expected declaration specifiers before ‘XEvent’
WcActCB.c:1452: error: expected declaration specifiers before ‘Cardinal’
WcActCB.c: In function ‘WcRegisterWcActions’:
WcActCB.c:1461: error: expected declaration specifiers before ‘XtAppContext’
WcActCB.c:1463: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘WcActions’
WcActCB.c:1463: error: ‘WcActions’ undeclared (first use in this function)
WcActCB.c:1463: error: expected expression before ‘]’ token
WcActCB.c:1536: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘already’
WcActCB.c:1536: error: ‘already’ undeclared (first use in this function)
make[2]: *** [WcActCB.o] Error 1
make[2]: Leaving directory `/usr/local/amber9/src/leap/src/Wc'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/usr/local/amber9/src/leap'
make: *** [serial] Error 2
My only guess is that the compiler read something in the makefile in "/usr/local/amber9/src/leap/src/Wc" and got hung up at that point?
-Joe Nolan
---------------------------------
Be a better Heartthrob. Get better relationship answers from someone who knows.
Yahoo! Answers - Check it out.
-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber.scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo.scripps.edu
Received on Wed Jun 20 2007 - 06:07:22 PDT