Mesa-7.0.1 compilation fails with USE flag "motif" with this error message : GLwDrawA.c:585: error: request for member 'exposeCallback' in something not a structure or union GLwDrawA.c:585: warning: passing argument 2 of 'XtCallCallbackList' from incompatible pointer type GLwDrawA.c: In function 'Resize': GLwDrawA.c:593: error: 'XmCR_RESIZE' undeclared (first use in this function) GLwDrawA.c:593: warning: assignment makes integer from pointer without a cast GLwDrawA.c:597: error: 'struct _GLwMDrawingAreaRec' has no member named 'glwDrawingArea' GLwDrawA.c:597: error: request for member 'resizeCallback' in something not a structure or union GLwDrawA.c:597: warning: passing argument 2 of 'XtCallCallbackList' from incompatible pointer type GLwDrawA.c: In function 'Destroy': GLwDrawA.c:609: error: 'struct _GLwMDrawingAreaRec' has no member named 'glwDrawingArea' GLwDrawA.c:609: error: request for member 'myList' in something not a structure or union GLwDrawA.c:609: error: 'struct _GLwMDrawingAreaRec' has no member named 'glwDrawingArea' GLwDrawA.c:609: error: request for member 'attribList' in something not a structure or union GLwDrawA.c:610: error: 'struct _GLwMDrawingAreaRec' has no member named 'glwDrawingArea' GLwDrawA.c:610: error: request for member 'attribList' in something not a structure or union GLwDrawA.c:613: error: 'struct _GLwMDrawingAreaRec' has no member named 'glwDrawingArea' GLwDrawA.c:613: error: request for member 'myVisual' in something not a structure or union GLwDrawA.c:613: error: 'struct _GLwMDrawingAreaRec' has no member named 'glwDrawingArea' GLwDrawA.c:613: error: request for member 'visualInfo' in something not a structure or union GLwDrawA.c:614: error: 'struct _GLwMDrawingAreaRec' has no member named 'glwDrawingArea' GLwDrawA.c:614: error: request for member 'visualInfo' in something not a structure or union GLwDrawA.c:618: error: 'struct _GLwMDrawingAreaRec' has no member named 'glwDrawingArea' GLwDrawA.c:618: error: request for member 'installColormap' in something not a structure or union GLwDrawA.c: In function 'glwInput': GLwDrawA.c:653: error: 'XmCR_INPUT' undeclared (first use in this function) GLwDrawA.c:653: warning: assignment makes integer from pointer without a cast GLwDrawA.c:657: error: 'struct _GLwMDrawingAreaRec' has no member named 'glwDrawingArea' GLwDrawA.c:657: error: request for member 'inputCallback' in something not a structure or union GLwDrawA.c:657: warning: passing argument 2 of 'XtCallCallbackList' from incompatible pointer type make[3]: *** [GLwMDrawA.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/media-libs/mesa-7.0.1/work/Mesa-7.0.1/src/glw' make[2]: *** [subdirs] Error 1 make[2]: Leaving directory `/var/tmp/portage/media-libs/mesa-7.0.1/work/Mesa-7.0.1/src' make[1]: *** [default] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-libs/mesa-7.0.1/work/Mesa-7.0.1' make: *** [linux-dri-x86-64] Error 2 Reproducible: Always Compilation works fine with USe flag "-motif"
Created attachment 132938 [details] emerge log
Created attachment 132940 [details] emerge --info
Re-emerge openmotif if you really insist on using the motif junk.
(In reply to comment #3) > Re-emerge openmotif if you really insist on using the motif junk. > Is it normal that the USE flag "motif" don't make openmotif as mesa dependencies ?
Thanks for your help Jakub, emerging openmotif and reemerging mesa with USE=motif works fine.
(In reply to comment #4) > Is it normal that the USE flag "motif" don't make openmotif as mesa > dependencies ? No, it depends on opemotif, but your openmotif install is broken. :) (In reply to comment #5) > Thanks for your help Jakub, emerging openmotif and reemerging mesa with > USE=motif works fine. Cool, thanks for reporting back.