|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
Ubuntu 8.04 compile errorAfter (with 3.6.6)
./configure --prefix=/usr/local I get (STDERR output): Button.c:43:28: error: X11/Xaw3d/XawInit.h: No such file or directory In file included from ButtonP.h:35, from Button.c:44: Button.h:36:28: error: X11/Xaw3d/Command.h: No such file or directory In file included from Button.c:44: ButtonP.h:36:29: error: X11/Xaw3d/CommandP.h: No such file or directory In file included from Button.c:44: ButtonP.h:45: error: expected specifier-qualifier-list before âSimpleClassPartâ ButtonP.h:69: error: expected specifier-qualifier-list before âSimplePartâ Button.c:73: error: âButtonRecâ has no member named âbuttonâ Button.c:75: error: âButtonRecâ has no member named âbuttonâ Button.c:77: error: âButtonRecâ has no member named âbuttonâ Button.c:79: error: âButtonRecâ has no member named âbuttonâ Button.c:81: error: âButtonRecâ has no member named âbuttonâ Button.c:82: error: âXtNhighlightThicknessâ undeclared here (not in a function) Button.c:83: error: âButtonRecâ has no member named âcommandâ Button.c:101: error: âCommandWidgetClassâ undeclared here (not in a function) Button.c:101: error: âcommandClassRecâ undeclared here (not in a function) Button.c:101: error: invalid operands to binary & Button.c:101: error: initializer element is not constant Button.c:101: error: (near initialization for âbuttonClassRec.core_class.superclassâ) Button.c:134: error: extra brace group at end of initializer Button.c:134: error: (near initialization for âbuttonClassRecâ) Button.c:135: error: âXtInheritChangeSensitiveâ undeclared here (not in a function) Button.c:136: warning: excess elements in struct initializer Button.c:136: warning: (near initialization for âbuttonClassRecâ) Button.c:137: error: extra brace group at end of initializer Button.c:137: error: (near initialization for âbuttonClassRecâ) Button.c:138: error: âXtInheritXaw3dShadowDrawâ undeclared here (not in a function) Button.c:139: warning: excess elements in struct initializer Button.c:139: warning: (near initialization for âbuttonClassRecâ) Button.c:140: error: extra brace group at end of initializer Button.c:140: error: (near initialization for âbuttonClassRecâ) Button.c:142: warning: excess elements in struct initializer Button.c:142: warning: (near initialization for âbuttonClassRecâ) Button.c:143: error: extra brace group at end of initializer Button.c:143: error: (near initialization for âbuttonClassRecâ) Button.c:145: warning: excess elements in struct initializer Button.c:145: warning: (near initialization for âbuttonClassRecâ) Button.c:146: error: extra brace group at end of initializer Button.c:146: error: (near initialization for âbuttonClassRecâ) Button.c:148: warning: excess elements in struct initializer Button.c:148: warning: (near initialization for âbuttonClassRecâ) Button.c: In function âInitializeâ: Button.c:182: error: âstruct _ButtonRecâ has no member named âbuttonâ Button.c:182: error: request for member âhighlightedâ in something not a structure or union Button.c: In function âDestroyâ: Button.c:212: error: âstruct _ButtonRecâ has no member named âbuttonâ Button.c:212: error: request for member âset_background_GCâ in something not a structure or union Button.c:212: warning: passing argument 2 of âXtReleaseGCâ from incompatible pointer type Button.c:213: error: âstruct _ButtonRecâ has no member named âbuttonâ Button.c:213: error: request for member âhighlighted_background_GCâ in something not a structure or union Button.c:213: warning: passing argument 2 of âXtReleaseGCâ from incompatible pointer type Button.c: In function âGetHighlightedBackgroundGCâ: Button.c:227: error: âstruct _ButtonRecâ has no member named âbuttonâ Button.c:227: error: request for member âhighlighted_backgroundâ in something not a structure or union Button.c:227: warning: assignment makes integer from pointer without a cast Button.c:228: error: âstruct _ButtonRecâ has no member named âlabelâ Button.c:228: error: request for member âforegroundâ in something not a structure or union Button.c:228: warning: assignment makes integer from pointer without a cast Button.c:229: error: âstruct _ButtonRecâ has no member named âbuttonâ Button.c:229: error: request for member âhighlighted_background_GCâ in something not a structure or union Button.c: In function âGetSetBackgroundGCâ: Button.c:243: error: âstruct _ButtonRecâ has no member named âbuttonâ Button.c:243: error: request for member âset_backgroundâ in something not a structure or union Button.c:243: warning: assignment makes integer from pointer without a cast Button.c:244: error: âstruct _ButtonRecâ has no member named âlabelâ Button.c:244: error: request for member âforegroundâ in something not a structure or union Button.c:244: warning: assignment makes integer from pointer without a cast Button.c:245: error: âstruct _ButtonRecâ has no member named âbuttonâ Button.c:245: error: request for member âset_background_GCâ in something not a structure or union Button.c: In function âPaintButtonWidgetâ: Button.c:266: error: âstruct _ButtonRecâ has no member named âcommandâ Button.c:266: error: request for member âsetâ in something not a structure or union Button.c:267: error: âstruct _ButtonRecâ has no member named âbuttonâ Button.c:267: error: request for member âset_background_GCâ in something not a structure or union Button.c:267: warning: assignment from incompatible pointer type Button.c:268: error: âstruct _ButtonRecâ has no member named âbuttonâ Button.c:268: error: request for member âhighlightedâ in something not a structure or union Button.c:269: error: âstruct _ButtonRecâ has no member named âbuttonâ Button.c:269: error: request for member âhighlighted_background_GCâ in something not a structure or union Button.c:269: warning: assignment from incompatible pointer type Button.c:271: error: âstruct _ButtonRecâ has no member named âcommandâ Button.c:271: error: request for member âinverse_GCâ in something not a structure or union Button.c:271: warning: assignment from incompatible pointer type Button.c:275: error: âstruct _ButtonRecâ has no member named âlabelâ Button.c:275: error: request for member ânormal_GCâ in something not a structure or union Button.c:275: warning: assignment from incompatible pointer type Button.c:276: error: âstruct _ButtonRecâ has no member named âthreeDâ Button.c:276: error: request for member âshadow_widthâ in something not a structure or union Button.c:276: warning: cast from pointer to integer of different size Button.c:277: error: âstruct _ButtonRecâ has no member named âcommandâ Button.c:277: error: request for member âsetâ in something not a structure or union Button.c:277: warning: assignment makes integer from pointer without a cast Button.c:278: error: âstruct _ButtonRecâ has no member named âcommandâ Button.c:278: error: request for member âsetâ in something not a structure or union Button.c:282: error: âstruct _ButtonRecâ has no member named âcommandâ Button.c:282: error: request for member ânormal_GCâ in something not a structure or union Button.c:282: warning: assignment from incompatible pointer type Button.c:283: error: âstruct _ButtonRecâ has no member named âlabelâ Button.c:283: error: request for member âpixmapâ in something not a structure or union Button.c:284: error: âstruct _ButtonRecâ has no member named âcommandâ Button.c:284: error: request for member ânormal_GCâ in something not a structure or union Button.c:286: error: invalid operands to binary & Button.c:286: error: âXtResourceâ has no member named âcore_classâ Button.c:286: error: request for member âexposeâ in something not a structure or union Button.c:286: error: called object â*(struct XtResource *)&<erroneous-expression>â is not a function Button.c:287: error: âstruct _ButtonRecâ has no member named âcommandâ Button.c:287: error: request for member âsetâ in something not a structure or union Button.c:288: error: âstruct _ButtonRecâ has no member named âthreeDâ Button.c:288: error: request for member âshadow_widthâ in something not a structure or union Button.c:289: error: âstruct _ButtonRecâ has no member named âlabelâ Button.c:289: error: request for member ânormal_GCâ in something not a structure or union Button.c:290: error: âstruct _ButtonRecâ has no member named âcommandâ Button.c:290: error: request for member ânormal_GCâ in something not a structure or union Button.c:294: error: âstruct _ButtonRecâ has no member named âthreeDâ Button.c:294: error: request for member âshadow_widthâ in something not a structure or union Button.c:294: warning: cast from pointer to integer of different size Button.c:295: error: âstruct _ButtonRecâ has no member named âcommandâ Button.c:295: error: request for member âsetâ in something not a structure or union Button.c:295: error: âstruct _ButtonRecâ has no member named âbuttonâ Button.c:295: error: request for member âset_frame_styleâ in something not a structure or union Button.c:295: warning: cast from pointer to integer of different size Button.c:296: error: âstruct _ButtonRecâ has no member named âbuttonâ Button.c:296: error: request for member âhighlightedâ in something not a structure or union Button.c:296: error: âstruct _ButtonRecâ has no member named âbuttonâ Button.c:296: error: request for member âhighlighted_frame_styleâ in something not a structure or union Button.c:296: warning: cast from pointer to integer of different size Button.c:297: error: âstruct _ButtonRecâ has no member named âbuttonâ Button.c:297: error: request for member âunset_frame_styleâ in something not a structure or union Button.c:297: warning: cast from pointer to integer of different size Button.c:302: error: âstruct _ButtonRecâ has no member named âthreeDâ Button.c:302: error: request for member âtop_shadow_GCâ in something not a structure or union Button.c:302: error: âstruct _ButtonRecâ has no member named âthreeDâ Button.c:302: error: request for member âbot_shadow_GCâ in something not a structure or union Button.c:302: warning: passing argument 8 of âFrameDrawFrameâ from incompatible pointer type Button.c:302: warning: passing argument 9 of âFrameDrawFrameâ from incompatible pointer type Button.c: In function âButtonHighlightâ: Button.c:328: error: âstruct _ButtonRecâ has no member named âbuttonâ Button.c:328: error: request for member âhighlightedâ in something not a structure or union Button.c:329: error: âstruct _ButtonRecâ has no member named âcommandâ Button.c:329: error: request for member âsetâ in something not a structure or union Button.c:329: warning: assignment makes integer from pointer without a cast Button.c:330: error: âstruct _ButtonRecâ has no member named âcommandâ Button.c:330: error: request for member âsetâ in something not a structure or union Button.c:332: error: âstruct _ButtonRecâ has no member named âcommandâ Button.c:332: error: request for member âsetâ in something not a structure or union Button.c: In function âButtonSetâ: Button.c:346: error: âstruct _ButtonRecâ has no member named âcommandâ Button.c:346: error: request for member âsetâ in something not a structure or union Button.c:347: error: âstruct _ButtonRecâ has no member named âcommandâ Button.c:347: error: request for member âsetâ in something not a structure or union Button.c: In function âButtonUnsetâ: Button.c:363: error: âstruct _ButtonRecâ has no member named âcommandâ Button.c:363: error: request for member âsetâ in something not a structure or union Button.c: In function âButtonResetâ: Button.c:378: error: âstruct _ButtonRecâ has no member named âbuttonâ Button.c:378: error: request for member âhighlightedâ in something not a structure or union make[2]: *** [Button.o] Error 1 make[1]: *** [all] Error 2 make: *** [all-recursive] Error 1 I have a X11/Xaw directory, and corresponding XawInit.h, but no Xaw3d directory. |
|
|
Re: Ubuntu 8.04 compile error* D. E. Evans <sinuhe@...> [081008 06:30]:
> I have a X11/Xaw directory, and corresponding XawInit.h, but no Xaw3d > directory. Try installing xaw3dg-dev Hochachtungsvoll, Bernhard R. Link -- "Never contain programs so few bugs, as when no debugging tools are available!" Niklaus Wirth |
| Free embeddable forum powered by Nabble | Forum Help |