bug-gv
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-gv] Ubuntu 8.04 compile error


From: D. E. Evans
Subject: [bug-gv] Ubuntu 8.04 compile error
Date: Tue, 07 Oct 2008 22:49:26 -0400

After (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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]