I think emacs-21.3-r4 depends on openmotif-2.1.x and can't use openmotif-2.2.x #qpkg -I -v openmotif x11-libs/openmotif-2.2.2-r3 * I got rid of openmotif-2.1.x and tried to re-emerge emacs and this is problem I get. gcc -c -DUSE_MOTIF -D_BSD_SOURCE -I/usr/X11R6/include -D_BSD_SOURCE -march=pentium4 -O3 -pipe -fomit-frame-pointer -fexpensive-optimizations -ffast-math -falign-functions=4 -fforce-addr -funroll-loops -maccumulate-outgoing-args -frerun-loop-opt -fprefetch-loop-arrays -frerun-cse-after-loop -mfpmath=sse -ftracer -fno-stack-protector -DEMACS_BITMAP_FILES -DHAVE_CONFIG_H -Demacs -I. -I../src -I/var/tmp/portage/emacs-21.3-r4/work/emacs-21.3/lwlib -I/var/tmp/portage/emacs-21.3-r4/work/emacs-21.3/lwlib/../src /var/tmp/portage/emacs-21.3-r4/work/emacs-21.3/lwlib/lwlib.c gcc -c -D_BSD_SOURCE -Demacs -DHAVE_CONFIG_H -DUSE_MOTIF -I. -I/var/tmp/portage/emacs-21.3-r4/work/emacs-21.3/src -D_BSD_SOURCE -I/usr/X11R6/include -march=pentium4 -O3 -pipe -fomit-frame-pointer -fexpensive-optimizations -ffast-math -falign-functions=4 -fforce-addr -funroll-loops -maccumulate-outgoing-args -frerun-loop-opt -fprefetch-loop-arrays -frerun-cse-after-loop -mfpmath=sse -ftracer -fno-stack-protector dispnew.c In file included from /var/tmp/portage/emacs-21.3-r4/work/emacs-21.3/lwlib/lwlib.c:129: /var/tmp/portage/emacs-21.3-r4/work/emacs-21.3/lwlib/lwlib.c: In function `merge_widget_value': /var/tmp/portage/emacs-21.3-r4/work/emacs-21.3/lwlib/lwlib.c:124: warning: passing arg of `lwlib_memset' from incompatible pointer type In file included from /var/tmp/portage/emacs-21.3-r4/work/emacs-21.3/lwlib/lwlib.c:129: /var/tmp/portage/emacs-21.3-r4/work/emacs-21.3/lwlib/lwlib.c: In function `lw_modify_all_widgets': /var/tmp/portage/emacs-21.3-r4/work/emacs-21.3/lwlib/lwlib.c:124: warning: passing arg of `lwlib_memset' from incompatible pointer type In file included from /var/tmp/portage/emacs-21.3-r4/work/emacs-21.3/lwlib/lwlib.c:129: /var/tmp/portage/emacs-21.3-r4/work/emacs-21.3/lwlib/lwlib.c:124: warning: passing arg of `lwlib_memset' from incompatible pointer type In file included from /var/tmp/portage/emacs-21.3-r4/work/emacs-21.3/lwlib/lwlib.c:129: /var/tmp/portage/emacs-21.3-r4/work/emacs-21.3/lwlib/lwlib.c: At top level: /var/tmp/portage/emacs-21.3-r4/work/emacs-21.3/lwlib/lwlib.c:124: warning: passing arg of `lwlib_memset' from incompatible pointer type gcc -c -D_BSD_SOURCE -I/usr/X11R6/include -D_BSD_SOURCE -march=pentium4 -O3 -pipe -fomit-frame-pointer -fexpensive-optimizations -ffast-math -falign-functions=4 -fforce-addr -funroll-loops -maccumulate-outgoing-args -frerun-loop-opt -fprefetch-loop-arrays -frerun-cse-after-loop -mfpmath=sse -ftracer -fno-stack-protector -DEMACS_BITMAP_FILES -DHAVE_CONFIG_H -Demacs -I. -I../src -I/var/tmp/portage/emacs-21.3-r4/work/emacs-21.3/lwlib -I/var/tmp/portage/emacs-21.3-r4/work/emacs-21.3/lwlib/../src lwlib-Xm.c lwlib-Xm.c:37:26: Xm/BulletinB.h: No such file or directory lwlib-Xm.c:38:25: Xm/CascadeB.h: No such file or directory lwlib-Xm.c:39:26: Xm/CascadeBG.h: No such file or directory lwlib-Xm.c:40:25: Xm/DrawingA.h: No such file or directory lwlib-Xm.c:41:23: Xm/FileSB.h: No such file or directory lwlib-Xm.c:42:22: Xm/Label.h: No such file or directory lwlib-Xm.c:43:21: Xm/List.h: No such file or directory lwlib-Xm.c:44:22: Xm/MainW.h: No such file or directory lwlib-Xm.c:45:26: Xm/MenuShell.h: No such file or directory lwlib-Xm.c:46:25: Xm/MessageB.h: No such file or directory lwlib-Xm.c:47:23: Xm/PanedW.h: No such file or directory lwlib-Xm.c:48:22: Xm/PushB.h: No such file or directory lwlib-Xm.c:49:23: Xm/PushBG.h: No such file or directory lwlib-Xm.c:50:23: Xm/ArrowB.h: No such file or directory lwlib-Xm.c:51:26: Xm/SelectioB.h: No such file or directory lwlib-Xm.c:52:21: Xm/Text.h: No such file or directory lwlib-Xm.c:53:22: Xm/TextF.h: No such file or directory lwlib-Xm.c:54:24: Xm/ToggleB.h: No such file or directory lwlib-Xm.c:55:25: Xm/ToggleBG.h: No such file or directory lwlib-Xm.c:56:26: Xm/RowColumn.h: No such file or directory lwlib-Xm.c:57:26: Xm/ScrolledW.h: No such file or directory lwlib-Xm.c:58:26: Xm/Separator.h: No such file or directory lwlib-Xm.c:59:24: Xm/DialogS.h: No such file or directory lwlib-Xm.c:60:21: Xm/Form.h: No such file or directory lwlib-Xm.c:88: error: syntax error before "resource_motif_string" lwlib-Xm.c:88: warning: data definition has no type or storage class lwlib-Xm.c: In function `lw_motif_widget_p': lwlib-Xm.c:212: error: `xmDialogShellWidgetClass' undeclared (first use in this function) lwlib-Xm.c:212: error: (Each undeclared identifier is reported only once lwlib-Xm.c:212: error: for each function it appears in.) lwlib-Xm.c: At top level: lwlib-Xm.c:216: error: syntax error before "resource_motif_string" lwlib-Xm.c: In function `resource_motif_string': lwlib-Xm.c:221: error: `XmString' undeclared (first use in this function) lwlib-Xm.c:221: error: syntax error before "result" lwlib-Xm.c:224: error: `XmCXmString' undeclared (first use in this function) lwlib-Xm.c:225: error: `XmRXmString' undeclared (first use in this function) lwlib-Xm.c:231: error: `result' undeclared (first use in this function) lwlib-Xm.c: In function `destroy_all_children': lwlib-Xm.c:265: error: `XmNsubMenuId' undeclared (first use in this function) lwlib-Xm.c: In function `xm_arm_callback': lwlib-Xm.c:292: error: `XmPushButtonCallbackStruct' undeclared (first use in this function) lwlib-Xm.c:292: error: `cbs' undeclared (first use in this function) lwlib-Xm.c:292: error: syntax error before ')' token lwlib-Xm.c:303: error: `XmNrowColumnType' undeclared (first use in this function) lwlib-Xm.c:304: error: `XmMENU_BAR' undeclared (first use in this function) lwlib-Xm.c:304: error: `XmMENU_POPUP' undeclared (first use in this function) lwlib-Xm.c:316: error: `XmCR_DISARM' undeclared (first use in this function) lwlib-Xm.c: In function `xm_update_label': lwlib-Xm.c:347: error: `XmString' undeclared (first use in this function) lwlib-Xm.c:347: error: syntax error before "res_string" lwlib-Xm.c:359: error: `res_string' undeclared (first use in this function) lwlib-Xm.c:363: error: `XmNlabelString' undeclared (first use in this function) lwlib-Xm.c:367: error: `built_string' undeclared (first use in this function) lwlib-Xm.c:368: error: `XmSTRING_DEFAULT_CHARSET' undeclared (first use in this function) lwlib-Xm.c:372: error: `XmNlabelType' undeclared (first use in this function) lwlib-Xm.c:372: error: `XmSTRING' undeclared (first use in this function) lwlib-Xm.c:377: error: `key_string' undeclared (first use in this function) lwlib-Xm.c:378: error: `XmNacceleratorText' undeclared (first use in this function) lwlib-Xm.c: In function `xm_update_list': lwlib-Xm.c:400: error: `XmNsingleSelectionCallback' undeclared (first use in this function) lwlib-Xm.c:406: error: `XmString' undeclared (first use in this function) lwlib-Xm.c:406: error: syntax error before "xmstr" lwlib-Xm.c:408: error: `xmstr' undeclared (first use in this function) lwlib-Xm.c: In function `xm_update_pushbutton': lwlib-Xm.c:422: error: `XmNalignment' undeclared (first use in this function) lwlib-Xm.c:422: error: `XmALIGNMENT_CENTER' undeclared (first use in this function) lwlib-Xm.c:423: error: `XmNactivateCallback' undeclared (first use in this function) lwlib-Xm.c: In function `xm_update_cascadebutton': lwlib-Xm.c:434: error: `XmNcascadingCallback' undeclared (first use in this function) lwlib-Xm.c: In function `xm_update_toggle': lwlib-Xm.c:446: error: `XmNvalueChangedCallback' undeclared (first use in this function) lwlib-Xm.c:449: error: `XmNset' undeclared (first use in this function) lwlib-Xm.c:450: error: `XmNalignment' undeclared (first use in this function) lwlib-Xm.c:450: error: `XmALIGNMENT_BEGINNING' undeclared (first use in this function) lwlib-Xm.c: In function `xm_update_radiobox': lwlib-Xm.c:464: error: `XmNentryCallback' undeclared (first use in this function) lwlib-Xm.c:480: error: `XmNset' undeclared (first use in this function) lwlib-Xm.c: In function `make_menu_in_widget': lwlib-Xm.c:535: error: `XmNrowColumnType' undeclared (first use in this function) lwlib-Xm.c:537: error: `XmMENU_BAR' undeclared (first use in this function) lwlib-Xm.c:537: error: `XmMENU_PULLDOWN' undeclared (first use in this function) lwlib-Xm.c:537: error: `XmMENU_POPUP' undeclared (first use in this function) lwlib-Xm.c:544: error: `XmNpopdownCallback' undeclared (first use in this function) lwlib-Xm.c:563: error: `XmNsensitive' undeclared (first use in this function) lwlib-Xm.c:564: error: `XmNalignment' undeclared (first use in this function) lwlib-Xm.c:564: error: `XmALIGNMENT_BEGINNING' undeclared (first use in this function) lwlib-Xm.c:565: error: `XmNuserData' undeclared (first use in this function) lwlib-Xm.c:571: error: `XmALIGNMENT_CENTER' undeclared (first use in this function) lwlib-Xm.c:572: warning: assignment makes pointer from integer without a cast lwlib-Xm.c:577: error: `XmNseparatorType' undeclared (first use in this function) lwlib-Xm.c:578: warning: assignment makes pointer from integer without a cast lwlib-Xm.c:583: warning: assignment makes pointer from integer without a cast lwlib-Xm.c:585: warning: assignment makes pointer from integer without a cast lwlib-Xm.c:589: error: `XmNset' undeclared (first use in this function) lwlib-Xm.c:590: error: `XmNvisibleWhenOff' undeclared (first use in this function) lwlib-Xm.c:591: error: `XmNindicatorType' undeclared (first use in this function) lwlib-Xm.c:591: error: `XmN_OF_MANY' undeclared (first use in this function) lwlib-Xm.c:591: error: `XmONE_OF_MANY' undeclared (first use in this function) lwlib-Xm.c:595: warning: assignment makes pointer from integer without a cast lwlib-Xm.c:596: error: `XmNarmCallback' undeclared (first use in this function) lwlib-Xm.c:597: error: `XmNdisarmCallback' undeclared (first use in this function) lwlib-Xm.c:601: warning: assignment makes pointer from integer without a cast lwlib-Xm.c:615: error: `XmNactivateCallback' undeclared (first use in this function) lwlib-Xm.c:620: warning: assignment makes pointer from integer without a cast lwlib-Xm.c:623: error: `XmNsubMenuId' undeclared (first use in this function) lwlib-Xm.c:624: warning: assignment makes pointer from integer without a cast lwlib-Xm.c:628: error: `XmNcascadingCallback' undeclared (first use in this function) lwlib-Xm.c:641: error: `XmNmenuHelpWidget' undeclared (first use in this function) lwlib-Xm.c: In function `update_one_menu_entry': lwlib-Xm.c:669: error: `XmNuserData' undeclared (first use in this function) lwlib-Xm.c:682: error: `XmNsubMenuId' undeclared (first use in this function) lwlib-Xm.c:706: warning: assignment makes pointer from integer without a cast lwlib-Xm.c:719: warning: assignment makes pointer from integer without a cast lwlib-Xm.c:725: error: `XmNmappingDelay' undeclared (first use in this function) lwlib-Xm.c:730: warning: assignment makes pointer from integer without a cast lwlib-Xm.c:733: error: `XmNcascadingCallback' undeclared (first use in this function) lwlib-Xm.c: In function `xm_update_text': lwlib-Xm.c:835: error: `XmNactivateCallback' undeclared (first use in this function) lwlib-Xm.c:837: error: `XmNvalueChangedCallback' undeclared (first use in this function) lwlib-Xm.c: In function `xm_update_text_field': lwlib-Xm.c:849: error: `XmNactivateCallback' undeclared (first use in this function) lwlib-Xm.c:851: error: `XmNvalueChangedCallback' undeclared (first use in this function) lwlib-Xm.c: In function `xm_update_one_widget': lwlib-Xm.c:873: error: `XmNuserData' undeclared (first use in this function) lwlib-Xm.c:876: error: `xmLabelWidgetClass' undeclared (first use in this function) lwlib-Xm.c:881: error: `xmPushButtonWidgetClass' undeclared (first use in this function) lwlib-Xm.c:882: error: `xmArrowButtonWidgetClass' undeclared (first use in this function) lwlib-Xm.c:886: error: `xmCascadeButtonWidgetClass' undeclared (first use in this function) lwlib-Xm.c:891: error: `xmToggleButtonWidgetClass' undeclared (first use in this function) lwlib-Xm.c:891: error: `xmToggleButtonGadgetClass' undeclared (first use in this function) lwlib-Xm.c:895: error: `xmRowColumnWidgetClass' undeclared (first use in this function) lwlib-Xm.c:901: error: `XmNradioBehavior' undeclared (first use in this function) lwlib-Xm.c:909: error: `xmTextWidgetClass' undeclared (first use in this function) lwlib-Xm.c:913: error: `xmTextFieldWidgetClass' undeclared (first use in this function) lwlib-Xm.c:917: error: `xmListWidgetClass' undeclared (first use in this function) lwlib-Xm.c: In function `xm_update_one_value': lwlib-Xm.c:941: error: `xmToggleButtonWidgetClass' undeclared (first use in this function) lwlib-Xm.c:941: error: `xmToggleButtonGadgetClass' undeclared (first use in this function) lwlib-Xm.c:943: error: `XmNset' undeclared (first use in this function) lwlib-Xm.c:946: error: `xmTextWidgetClass' undeclared (first use in this function) lwlib-Xm.c:950: warning: assignment makes pointer from integer without a cast lwlib-Xm.c:953: error: `xmTextFieldWidgetClass' undeclared (first use in this function) lwlib-Xm.c:957: warning: assignment makes pointer from integer without a cast lwlib-Xm.c:960: error: `xmRowColumnWidgetClass' undeclared (first use in this function) lwlib-Xm.c:966: error: `XmNradioBehavior' undeclared (first use in this function) lwlib-Xm.c:989: error: `xmListWidgetClass' undeclared (first use in this function) lwlib-Xm.c: In function `activate_button': lwlib-Xm.c:1030: error: `XmNactivateCallback' undeclared (first use in this function) lwlib-Xm.c: In function `make_dialog': lwlib-Xm.c:1068: error: `XmNtitle' undeclared (first use in this function) lwlib-Xm.c:1069: error: `XtNallowShellResize' undeclared (first use in this function) lwlib-Xm.c:1070: error: `XmNdeleteResponse' undeclared (first use in this function) lwlib-Xm.c:1070: error: `XmUNMAP' undeclared (first use in this function) lwlib-Xm.c:1071: warning: assignment makes pointer from integer without a cast lwlib-Xm.c:1073: error: `XmNautoUnmanage' undeclared (first use in this function) lwlib-Xm.c:1075: error: `XmNnavigationType' undeclared (first use in this function) lwlib-Xm.c:1075: error: `XmTAB_GROUP' undeclared (first use in this function) lwlib-Xm.c:1076: warning: assignment makes pointer from integer without a cast lwlib-Xm.c:1083: warning: assignment makes pointer from integer without a cast lwlib-Xm.c:1089: error: `XmNpacking' undeclared (first use in this function) lwlib-Xm.c:1089: error: `XmPACK_COLUMN' undeclared (first use in this function) lwlib-Xm.c:1089: error: `XmPACK_TIGHT' undeclared (first use in this function) lwlib-Xm.c:1091: error: `XmNorientation' undeclared (first use in this function) lwlib-Xm.c:1091: error: `XmVERTICAL' undeclared (first use in this function) lwlib-Xm.c:1091: error: `XmHORIZONTAL' undeclared (first use in this function) lwlib-Xm.c:1093: error: `XmNnumColumns' undeclared (first use in this function) lwlib-Xm.c:1094: error: `XmNmarginWidth' undeclared (first use in this function) lwlib-Xm.c:1095: error: `XmNmarginHeight' undeclared (first use in this function) lwlib-Xm.c:1096: error: `XmNspacing' undeclared (first use in this function) lwlib-Xm.c:1097: error: `XmNadjustLast' undeclared (first use in this function) lwlib-Xm.c:1098: error: `XmNalignment' undeclared (first use in this function) lwlib-Xm.c:1098: error: `XmALIGNMENT_CENTER' undeclared (first use in this function) lwlib-Xm.c:1099: error: `XmNisAligned' undeclared (first use in this function) lwlib-Xm.c:1100: error: `XmNtopAttachment' undeclared (first use in this function) lwlib-Xm.c:1100: error: `XmATTACH_NONE' undeclared (first use in this function) lwlib-Xm.c:1101: error: `XmNbottomAttachment' undeclared (first use in this function) lwlib-Xm.c:1101: error: `XmATTACH_FORM' undeclared (first use in this function) lwlib-Xm.c:1102: error: `XmNbottomOffset' undeclared (first use in this function) lwlib-Xm.c:1103: error: `XmNleftAttachment' undeclared (first use in this function) lwlib-Xm.c:1104: error: `XmNleftOffset' undeclared (first use in this function) lwlib-Xm.c:1105: error: `XmNrightAttachment' undeclared (first use in this function) lwlib-Xm.c:1106: error: `XmNrightOffset' undeclared (first use in this function) lwlib-Xm.c:1107: warning: assignment makes pointer from integer without a cast lwlib-Xm.c:1117: error: `XmNhighlightThickness' undeclared (first use in this function) lwlib-Xm.c:1118: error: `XmNshowAsDefault' undeclared (first use in this function) lwlib-Xm.c:1122: warning: assignment makes pointer from integer without a cast lwlib-Xm.c:1128: error: `XmNdefaultButton' undeclared (first use in this function) lwlib-Xm.c:1137: error: `XmNmappedWhenManaged' undeclared (first use in this function) lwlib-Xm.c:1138: warning: assignment makes pointer from integer without a cast lwlib-Xm.c:1148: warning: assignment makes pointer from integer without a cast lwlib-Xm.c:1157: error: `XmATTACH_WIDGET' undeclared (first use in this function) lwlib-Xm.c:1159: error: `XmNbottomWidget' undeclared (first use in this function) lwlib-Xm.c:1164: warning: assignment makes pointer from integer without a cast lwlib-Xm.c:1167: error: `XmNlabelType' undeclared (first use in this function) lwlib-Xm.c:1167: error: `XmPIXMAP' undeclared (first use in this function) lwlib-Xm.c:1169: error: `XmNtopOffset' undeclared (first use in this function) lwlib-Xm.c:1174: warning: assignment makes pointer from integer without a cast lwlib-Xm.c:1180: error: `XmNtopWidget' undeclared (first use in this function) lwlib-Xm.c:1186: warning: assignment makes pointer from integer without a cast lwlib-Xm.c:1191: error: `XmNcolumns' undeclared (first use in this function) lwlib-Xm.c:1198: error: `XmNleftWidget' undeclared (first use in this function) lwlib-Xm.c:1201: warning: assignment makes pointer from integer without a cast lwlib-Xm.c:1220: warning: assignment makes pointer from integer without a cast lwlib-Xm.c:1223: warning: assignment makes pointer from integer without a cast lwlib-Xm.c:1225: warning: assignment makes pointer from integer without a cast lwlib-Xm.c:1227: warning: assignment makes pointer from integer without a cast lwlib-Xm.c:1234: error: `XmNvisibleItemCount' undeclared (first use in this function) lwlib-Xm.c:1244: warning: assignment makes pointer from integer without a cast lwlib-Xm.c:1248: error: `XmNdefaultActionCallback' undeclared (first use in this function) lwlib-Xm.c:1252: error: `XmALIGNMENT_BEGINNING' undeclared (first use in this function) lwlib-Xm.c:1264: warning: assignment makes pointer from integer without a cast lwlib-Xm.c: In function `xm_create_dialog': lwlib-Xm.c:1489: error: `XmNpopdownCallback' undeclared (first use in this function) lwlib-Xm.c: In function `make_menubar': lwlib-Xm.c:1505: error: `XmNmenuAccelerator' undeclared (first use in this function) lwlib-Xm.c:1506: warning: return makes pointer from integer without a cast lwlib-Xm.c: In function `make_popup_menu': lwlib-Xm.c:1529: warning: assignment makes pointer from integer without a cast lwlib-Xm.c:1530: error: `XmNpopdownCallback' undeclared (first use in this function) lwlib-Xm.c: In function `make_main': lwlib-Xm.c:1547: error: `XmNspacing' undeclared (first use in this function) lwlib-Xm.c:1548: warning: assignment makes pointer from integer without a cast lwlib-Xm.c: In function `xm_destroy_instance': lwlib-Xm.c:1685: error: `xmDialogShellWidgetClass' undeclared (first use in this function) lwlib-Xm.c: In function `xm_popup_menu': lwlib-Xm.c:1751: error: `XmNmenuPost' undeclared (first use in this function) lwlib-Xm.c: In function `set_min_dialog_size': lwlib-Xm.c:1767: error: `XmNwidth' undeclared (first use in this function) lwlib-Xm.c:1767: error: `XmNheight' undeclared (first use in this function) lwlib-Xm.c:1768: error: `XmNminWidth' undeclared (first use in this function) lwlib-Xm.c:1768: error: `XmNminHeight' undeclared (first use in this function) lwlib-Xm.c: In function `xm_pop_instance': lwlib-Xm.c:1778: error: `xmDialogShellWidgetClass' undeclared (first use in this function) lwlib-Xm.c: In function `do_call': lwlib-Xm.c:1827: error: `XmNuserData' undeclared (first use in this function) lwlib-Xm.c: In function `xm_pull_down_callback': lwlib-Xm.c:1916: error: `XmNrowColumnType' undeclared (first use in this function) lwlib-Xm.c:1917: error: `XmMENU_BAR' undeclared (first use in this function) lwlib-Xm.c: In function `xm_manage_resizing': lwlib-Xm.c:1974: error: `XtNallowShellResize' undeclared (first use in this function) make[2]: *** [lwlib-Xm.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/emacs-21.3-r4/work/emacs-21.3/lwlib' make[1]: *** [really-lwlib] Error 2 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/var/tmp/portage/emacs-21.3-r4/work/emacs-21.3/src' make: *** [src] Error 2 !!! ERROR: app-editors/emacs-21.3-r4 failed. !!! Function src_compile, Line 79, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message.
openmotif-2.2.2-r3 is no longer in CVS. Please downgrade it to 2.1.x. See also bug #29388.
since openmotif-2.2.x is no longer in portage this bug is invalid i think