building of sci-electronics/electric-7.00 doesn't work. there are tons of undeclared names. Reproducible: Always Steps to Reproduce: 1. emerge electric 2. 3. Actual Results: compiler output: gcc -march=athlon64 -O2 -pipe -Isrc/include -c src/cons/conlay.c -o src/cons/conlay.o gcc -march=athlon64 -O2 -pipe -Isrc/include -c src/cons/conlin.c -o src/cons/conlin.o gcc -march=athlon64 -O2 -pipe -Isrc/include -c src/cons/conlingtt.c -o src/cons/conlingtt.o gcc -march=athlon64 -O2 -pipe -Isrc/include -c src/cons/conlinprs.c -o src/cons/conlinprs.o gcc -march=athlon64 -O2 -pipe -Isrc/include -c src/cons/conlinttg.c -o src/cons/conlinttg.o gcc -march=athlon64 -O2 -pipe -Isrc/include -c src/cons/contable.c -o src/cons/contable.o gcc -march=athlon64 -O2 -pipe -Isrc/include -c src/db/aidtable.c -o src/db/aidtable.o gcc -march=athlon64 -O2 -pipe -Isrc/include -c src/db/data.c -o src/db/data.o gcc -march=athlon64 -O2 -pipe -Isrc/include -c src/db/dbchange.c -o src/db/dbchange.o gcc -march=athlon64 -O2 -pipe -Isrc/include -c src/db/dbcontour.c -o src/db/dbcontour.o gcc -march=athlon64 -O2 -pipe -Isrc/include -c src/db/dbcontrol.c -o src/db/dbcontrol.o gcc -march=athlon64 -O2 -pipe -Isrc/include -c src/db/dbcreate.c -o src/db/dbcreate.o gcc -march=athlon64 -O2 -pipe -Isrc/include -c src/db/dberror.c -o src/db/dberror.o gcc -march=athlon64 -O2 -pipe -Isrc/include -c src/db/dbgeom.c -o src/db/dbgeom.o gcc -march=athlon64 -O2 -pipe -Isrc/include -c src/db/dblang.c -o src/db/dblang.o gcc -march=athlon64 -O2 -pipe -Isrc/include -c src/db/dblangelk.c -o src/db/dblangelk.o c++ -march=athlon64 -O2 -pipe -Isrc/include -c src/db/dblangjava.cpp -o src/db/dblangjava.o gcc -march=athlon64 -O2 -pipe -Isrc/include -c src/db/dblangtcl.c -o src/db/dblangtcl.o gcc -march=athlon64 -O2 -pipe -Isrc/include -c src/db/dblibrary.c -o src/db/dblibrary.o gcc -march=athlon64 -O2 -pipe -Isrc/include -c src/db/dbmath.c -o src/db/dbmath.o gcc -march=athlon64 -O2 -pipe -Isrc/include -c src/db/dbmemory.c -o src/db/dbmemory.o gcc -march=athlon64 -O2 -pipe -Isrc/include -c src/db/dbmerge.c -o src/db/dbmerge.o gcc -march=athlon64 -O2 -pipe -Isrc/include -c src/db/dbmult.c -o src/db/dbmult.o gcc -march=athlon64 -O2 -pipe -Isrc/include -c src/db/dbnoproto.c -o src/db/dbnoproto.o gcc -march=athlon64 -O2 -pipe -Isrc/include -c src/db/dbtech.c -o src/db/dbtech.o gcc -march=athlon64 -O2 -pipe -Isrc/include -c src/db/dbtechi.c -o src/db/dbtechi.o gcc -march=athlon64 -O2 -pipe -Isrc/include -c src/db/dbtext.c -o src/db/dbtext.o gcc -march=athlon64 -O2 -pipe -Isrc/include -c src/db/dbvars.c -o src/db/dbvars.o gcc -march=athlon64 -O2 -pipe -Isrc/include -c src/drc/drc.c -o src/drc/drc.o gcc -march=athlon64 -O2 -pipe -Isrc/include -c src/drc/drcbatch.c -o src/drc/drcbatch.o c++ -march=athlon64 -O2 -pipe -Isrc/include -c src/drc/drcflat.cpp -o src/drc/drcflat.o gcc -march=athlon64 -O2 -pipe -Isrc/include -c src/drc/drcquick.c -o src/drc/drcquick.o c++ -march=athlon64 -O2 -pipe -Isrc/include -c src/graph/graphcommon.cpp -o src/graph/graphcommon.o gcc -march=athlon64 -O2 -pipe -Isrc/include -DANYDEPTH -c src/graph/graphunixx11.c -o src/graph/graphunixx11.o src/graph/graphunixx11.c:54:19: Xm/Xm.h: No such file or directory src/graph/graphunixx11.c:55:26: Xm/BulletinB.h: No such file or directory src/graph/graphunixx11.c:56:25: Xm/CascadeB.h: No such file or directory src/graph/graphunixx11.c:57:25: Xm/CutPaste.h: No such file or directory src/graph/graphunixx11.c:58:24: Xm/Display.h: No such file or directory src/graph/graphunixx11.c:59:25: Xm/DrawingA.h: No such file or directory src/graph/graphunixx11.c:60:23: Xm/FileSB.h: No such file or directory src/graph/graphunixx11.c:61:22: Xm/Label.h: No such file or directory src/graph/graphunixx11.c:62:21: Xm/List.h: No such file or directory src/graph/graphunixx11.c:63:22: Xm/MainW.h: No such file or directory src/graph/graphunixx11.c:64:24: Xm/MwmUtil.h: No such file or directory src/graph/graphunixx11.c:65:26: Xm/Protocols.h: No such file or directory src/graph/graphunixx11.c:66:22: Xm/PushB.h: No such file or directory src/graph/graphunixx11.c:67:26: Xm/RowColumn.h: No such file or directory src/graph/graphunixx11.c:68:26: Xm/ScrollBar.h: No such file or directory src/graph/graphunixx11.c:69:26: Xm/Separator.h: No such file or directory src/graph/graphunixx11.c:70:21: Xm/Text.h: No such file or directory src/graph/graphunixx11.c:71:24: Xm/ToggleB.h: No such file or directory src/graph/graphunixx11.c:72:25: Xm/ToggleBG.h: No such file or directory src/graph/graphunixx11.c:326: error: parse error before "XmSelectionBoxCallbackStruct" src/graph/graphunixx11.c:328: error: parse error before "XmScrollBarCallbackStruct" src/graph/graphunixx11.c:331: error: parse error before "XmSelectionBoxCallbackStruct" src/graph/graphunixx11.c:333: error: parse error before "XmSelectionBoxCallbackStruct" src/graph/graphunixx11.c:335: error: parse error before "XmTextVerifyCallbackStruct" src/graph/graphunixx11.c:1181: error: parse error before "XmSelectionBoxCallbackStruct" src/graph/graphunixx11.c:1183: error: parse error before "XmSelectionBoxCallbackStruct" src/graph/graphunixx11.c: In function `initgraphics': src/graph/graphunixx11.c:1445: warning: assignment makes pointer from integer without a cast src/graph/graphunixx11.c:1447: error: `XmNdragInitiatorProtocolStyle' undeclared (first use in this function) src/graph/graphunixx11.c:1447: error: (Each undeclared identifier is reported only once src/graph/graphunixx11.c:1447: error: for each function it appears in.) src/graph/graphunixx11.c:1447: error: `XmDRAG_NONE' undeclared (first use in this function) src/graph/graphunixx11.c:1448: error: `XmNdragReceiverProtocolStyle' undeclared (first use in this function) src/graph/graphunixx11.c:1452: warning: assignment makes pointer from integer without a cast src/graph/graphunixx11.c: In function `gra_makemessageswindow': src/graph/graphunixx11.c:1923: error: `XmNdeleteResponse' undeclared (first use in this function) src/graph/graphunixx11.c:1923: error: `XmDO_NOTHING' undeclared (first use in this function) src/graph/graphunixx11.c:1924: error: `XmNmwmFunctions' undeclared (first use in this function) src/graph/graphunixx11.c:1924: error: `MWM_FUNC_RESIZE' undeclared (first use in this function) src/graph/graphunixx11.c:1924: error: `MWM_FUNC_MOVE' undeclared (first use in this function) src/graph/graphunixx11.c:1924: error: `MWM_FUNC_MINIMIZE' undeclared (first use in this function) src/graph/graphunixx11.c:1924: error: `MWM_FUNC_MAXIMIZE' undeclared (first use in this function) src/graph/graphunixx11.c:1933: error: `XmNeditable' undeclared (first use in this function) src/graph/graphunixx11.c:1934: error: `XmNeditMode' undeclared (first use in this function) src/graph/graphunixx11.c:1934: error: `XmMULTI_LINE_EDIT' undeclared (first use in this function) src/graph/graphunixx11.c:1935: error: `XmNcolumns' undeclared (first use in this function) src/graph/graphunixx11.c:1936: error: `XmNrows' undeclared (first use in this function) src/graph/graphunixx11.c:1938: warning: cast to pointer from integer of different size src/graph/graphunixx11.c: In function `gra_buildwindow': src/graph/graphunixx11.c:2661: error: `XmNdeleteResponse' undeclared (first use in this function) src/graph/graphunixx11.c:2661: error: `XmDO_NOTHING' undeclared (first use in this function) src/graph/graphunixx11.c:2665: error: `XmNmwmFunctions' undeclared (first use in this function) src/graph/graphunixx11.c:2665: error: `MWM_FUNC_RESIZE' undeclared (first use in this function) src/graph/graphunixx11.c:2665: error: `MWM_FUNC_MOVE' undeclared (first use in this function) src/graph/graphunixx11.c:2665: error: `MWM_FUNC_MINIMIZE' undeclared (first use in this function) src/graph/graphunixx11.c:2665: error: `MWM_FUNC_CLOSE' undeclared (first use in this function) src/graph/graphunixx11.c:2672: error: `XmNwidth' undeclared (first use in this function) src/graph/graphunixx11.c:2673: error: `XmNheight' undeclared (first use in this function) src/graph/graphunixx11.c:2675: warning: cast to pointer from integer of different size src/graph/graphunixx11.c:2685: error: `XmNresizePolicy' undeclared (first use in this function) src/graph/graphunixx11.c:2685: error: `XmRESIZE_ANY' undeclared (first use in this function) src/graph/graphunixx11.c:2687: warning: cast to pointer from integer of different size src/graph/graphunixx11.c:2699: warning: cast to pointer from integer of different size src/graph/graphunixx11.c:2714: error: `XmNmwmMenu' undeclared (first use in this function) src/graph/graphunixx11.c: In function `putmessagesstring': src/graph/graphunixx11.c:3421: error: `XmTextPosition' undeclared (first use in this function) src/graph/graphunixx11.c:3421: error: parse error before "tp" src/graph/graphunixx11.c:3438: error: `tp' undeclared (first use in this function) src/graph/graphunixx11.c: In function `getmessagesstring': src/graph/graphunixx11.c:3458: error: `XmTextPosition' undeclared (first use in this function) src/graph/graphunixx11.c:3458: error: parse error before "tp" src/graph/graphunixx11.c:3465: error: `tp' undeclared (first use in this function) src/graph/graphunixx11.c:3469: error: `starttp' undeclared (first use in this function) src/graph/graphunixx11.c: In function `setmessagesfont': src/graph/graphunixx11.c:3582: error: `XmFontListEntry' undeclared (first use in this function) src/graph/graphunixx11.c:3582: error: parse error before "entry" src/graph/graphunixx11.c:3583: error: `XmFontList' undeclared (first use in this function) src/graph/graphunixx11.c:3641: error: `entry' undeclared (first use in this function) src/graph/graphunixx11.c:3642: error: `XmFONT_IS_FONT' undeclared (first use in this function) src/graph/graphunixx11.c:3643: error: `xfontlist' undeclared (first use in this function) src/graph/graphunixx11.c:3645: error: `XmNfontList' undeclared (first use in this function) src/graph/graphunixx11.c: In function `getcutbuffer': src/graph/graphunixx11.c:3856: error: `ClipboardLocked' undeclared (first use in this function) src/graph/graphunixx11.c: In function `setcutbuffer': src/graph/graphunixx11.c:3881: error: `XmString' undeclared (first use in this function) src/graph/graphunixx11.c:3881: error: parse error before "label" src/graph/graphunixx11.c:3887: error: `label' undeclared (first use in this function) src/graph/graphunixx11.c:3892: error: `ClipboardLocked' undeclared (first use in this function) src/graph/graphunixx11.c: In function `clearmessageswindow': src/graph/graphunixx11.c:3918: error: `XmTextPosition' undeclared (first use in this function) src/graph/graphunixx11.c:3918: error: parse error before "tp" src/graph/graphunixx11.c:3920: error: `tp' undeclared (first use in this function) src/graph/graphunixx11.c: In function `colormapload': src/graph/graphunixx11.c:4276: error: `XmNbackground' undeclared (first use in this function) src/graph/graphunixx11.c:4276: error: `XmNforeground' undeclared (first use in this function) src/graph/graphunixx11.c: At top level: src/graph/graphunixx11.c:5910: error: parse error before "XmSelectionBoxCallbackStruct" src/graph/graphunixx11.c:5917: error: parse error before "XmSelectionBoxCallbackStruct" src/graph/graphunixx11.c: In function `gra_fileselectok': src/graph/graphunixx11.c:5922: error: `call_data' undeclared (first use in this function) src/graph/graphunixx11.c:5922: error: `XmSTRING_DEFAULT_CHARSET' undeclared (first use in this function) src/graph/graphunixx11.c: In function `fileselect': src/graph/graphunixx11.c:5986: error: `XmString' undeclared (first use in this function) src/graph/graphunixx11.c:5986: error: parse error before "mprompt" src/graph/graphunixx11.c:6004: error: `mtitle' undeclared (first use in this function) src/graph/graphunixx11.c:6005: error: `mprompt' undeclared (first use in this function) src/graph/graphunixx11.c:6009: error: `mfilter' undeclared (first use in this function) src/graph/graphunixx11.c:6017: error: `mdirectory' undeclared (first use in this function) src/graph/graphunixx11.c:6019: error: `XmNdialogStyle' undeclared (first use in this function) src/graph/graphunixx11.c:6019: error: `XmDIALOG_PRIMARY_APPLICATION_MODAL' undeclared (first use in this function) src/graph/graphunixx11.c:6020: error: `XmNdirMask' undeclared (first use in this function) src/graph/graphunixx11.c:6021: error: `XmNselectionLabelString' undeclared (first use in this function) src/graph/graphunixx11.c:6022: error: `XmNwidth' undeclared (first use in this function) src/graph/graphunixx11.c:6023: error: `XmNheight' undeclared (first use in this function) src/graph/graphunixx11.c:6024: error: `XmNdialogTitle' undeclared (first use in this function) src/graph/graphunixx11.c:6025: error: `XmNdirectory' undeclared (first use in this function) src/graph/graphunixx11.c:6027: warning: assignment makes pointer from integer without a cast src/graph/graphunixx11.c:6028: error: `XmNcancelCallback' undeclared (first use in this function) src/graph/graphunixx11.c:6029: error: `XmNokCallback' undeclared (first use in this function) src/graph/graphunixx11.c:6085: error: `mpattern' undeclared (first use in this function) src/graph/graphunixx11.c:6094: error: `XmNpattern' undeclared (first use in this function) src/graph/graphunixx11.c:6096: warning: assignment makes pointer from integer without a cast src/graph/graphunixx11.c:6106: error: `XmDIALOG_TEXT' undeclared (first use in this function) src/graph/graphunixx11.c:6106: warning: assignment makes pointer from integer without a cast src/graph/graphunixx11.c:6107: warning: assignment makes pointer from integer without a cast src/graph/graphunixx11.c: In function `gra_pickupnextevent': src/graph/graphunixx11.c:6893: error: `XmTextPosition' undeclared (first use in this function) src/graph/graphunixx11.c:6893: error: parse error before "tp" src/graph/graphunixx11.c:6938: error: `tp' undeclared (first use in this function) gcc -march=athlon64 -O2 -pipe -Isrc/include -c src/io/io.c -o src/io/io.o src/graph/graphunixx11.c: In function `gra_nativepopuptif': src/graph/graphunixx11.c:8640: error: `XmNpacking' undeclared (first use in this function) src/graph/graphunixx11.c:8640: error: `XmPACK_COLUMN' undeclared (first use in this function) src/graph/graphunixx11.c:8641: warning: cast to pointer from integer of different size src/graph/graphunixx11.c:8645: warning: cast to pointer from integer of different size src/graph/graphunixx11.c:8647: error: `XmNactivateCallback' undeclared (first use in this function) src/graph/graphunixx11.c:8649: error: `xmSeparatorWidgetClass' undeclared (first use in this function) src/graph/graphunixx11.c:8689: warning: cast to pointer from integer of different size src/graph/graphunixx11.c:8694: error: `XmNsubMenuId' undeclared (first use in this function) src/graph/graphunixx11.c:8695: warning: assignment makes pointer from integer without a cast src/graph/graphunixx11.c:8701: warning: cast to pointer from integer of different size src/graph/graphunixx11.c:8708: warning: cast to pointer from integer of different size src/graph/graphunixx11.c:8719: error: `XmNnumColumns' undeclared (first use in this function) src/graph/graphunixx11.c:8723: error: `XmNunmapCallback' undeclared (first use in this function) src/graph/graphunixx11.c: In function `gra_pulldownmenuload': src/graph/graphunixx11.c:8806: error: `xmCascadeButtonWidgetClass' undeclared (first use in this function) src/graph/graphunixx11.c:8832: error: `XmNmnemonic' undeclared (first use in this function) src/graph/graphunixx11.c:8835: warning: assignment makes pointer from integer without a cast src/graph/graphunixx11.c: In function `nativemenurename': src/graph/graphunixx11.c:8851: error: `XmString' undeclared (first use in this function) src/graph/graphunixx11.c:8851: error: parse error before "label" src/graph/graphunixx11.c:8922: error: `label' undeclared (first use in this function) src/graph/graphunixx11.c:8923: error: `XmNlabelString' undeclared (first use in this function) src/graph/graphunixx11.c:8926: error: `acctext' undeclared (first use in this function) src/graph/graphunixx11.c:8927: error: `XmNacceleratorText' undeclared (first use in this function) src/graph/graphunixx11.c:8947: error: `xmSeparatorWidgetClass' undeclared (first use in this function) src/graph/graphunixx11.c:8953: warning: cast to pointer from integer of different size src/graph/graphunixx11.c:8961: error: `XmNactivateCallback' undeclared (first use in this function) src/graph/graphunixx11.c: In function `gra_makepdmenu': src/graph/graphunixx11.c:9040: error: `XmString' undeclared (first use in this function) src/graph/graphunixx11.c:9040: error: parse error before "acctext" src/graph/graphunixx11.c:9066: error: `xmSeparatorWidgetClass' undeclared (first use in this function) src/graph/graphunixx11.c:9070: warning: cast to pointer from integer of different size src/graph/graphunixx11.c:9079: warning: cast to pointer from integer of different size src/graph/graphunixx11.c:9081: error: `XmNtearOffModel' undeclared (first use in this function) src/graph/graphunixx11.c:9081: error: `XmTEAR_OFF_ENABLED' undeclared (first use in this function) src/graph/graphunixx11.c:9082: error: `XmNsubMenuId' undeclared (first use in this function) src/graph/graphunixx11.c:9083: warning: assignment makes pointer from integer without a cast src/graph/graphunixx11.c:9087: error: `XmNmnemonic' undeclared (first use in this function) src/graph/graphunixx11.c:9119: error: `acctext' undeclared (first use in this function) src/graph/graphunixx11.c:9124: warning: cast to pointer from integer of different size src/graph/graphunixx11.c:9127: warning: cast to pointer from integer of different size src/graph/graphunixx11.c:9136: error: `XmNacceleratorText' undeclared (first use in this function) src/graph/graphunixx11.c:9141: error: `XmNactivateCallback' undeclared (first use in this function) src/graph/graphunixx11.c:9145: error: `XmNvalueChangedCallback' undeclared (first use in this function) src/graph/graphunixx11.c: In function `gra_initdialog': src/graph/graphunixx11.c:9218: error: `XmString' undeclared (first use in this function) src/graph/graphunixx11.c:9218: error: parse error before "str" src/graph/graphunixx11.c:9228: error: `XmFontList' undeclared (first use in this function) src/graph/graphunixx11.c:9228: error: parse error before "xfontlist" src/graph/graphunixx11.c:9229: error: `XmFontContext' undeclared (first use in this function) src/graph/graphunixx11.c:9230: error: `XmFontListEntry' undeclared (first use in this function) src/graph/graphunixx11.c:9231: error: `XmFontType' undeclared (first use in this function) src/graph/graphunixx11.c:9260: error: `XmNbuttonFontList' undeclared (first use in this function) src/graph/graphunixx11.c:9260: error: `xfontlist' undeclared (first use in this function) src/graph/graphunixx11.c:9262: error: `fontContext' undeclared (first use in this function) src/graph/graphunixx11.c:9266: error: `fontListEntry' undeclared (first use in this function) src/graph/graphunixx11.c:9268: error: `fonttype' undeclared (first use in this function) src/graph/graphunixx11.c:9268: warning: cast to pointer from integer of different size src/graph/graphunixx11.c:9269: error: `XmFONT_IS_FONT' undeclared (first use in this function) src/graph/graphunixx11.c:9330: error: `XmNdialogStyle' undeclared (first use in this function) src/graph/graphunixx11.c:9330: error: `XmDIALOG_MODELESS' undeclared (first use in this function) src/graph/graphunixx11.c:9333: error: `XmDIALOG_PRIMARY_APPLICATION_MODAL' undeclared (first use in this function) src/graph/graphunixx11.c:9335: error: `XmNx' undeclared (first use in this function) src/graph/graphunixx11.c:9336: error: `XmNy' undeclared (first use in this function) src/graph/graphunixx11.c:9337: error: `XmNwidth' undeclared (first use in this function) src/graph/graphunixx11.c:9338: error: `XmNheight' undeclared (first use in this function) src/graph/graphunixx11.c:9339: error: `str' undeclared (first use in this function) src/graph/graphunixx11.c:9340: error: `XmNdialogTitle' undeclared (first use in this function) src/graph/graphunixx11.c:9341: error: `XmNautoUnmanage' undeclared (first use in this function) src/graph/graphunixx11.c:9342: error: `XmNmarginWidth' undeclared (first use in this function) src/graph/graphunixx11.c:9343: error: `XmNmarginHeight' undeclared (first use in this function) src/graph/graphunixx11.c:9344: error: `XmNallowOverlap' undeclared (first use in this function) src/graph/graphunixx11.c:9345: error: `XmNresizePolicy' undeclared (first use in this function) src/graph/graphunixx11.c:9345: error: `XmRESIZE_NONE' undeclared (first use in this function) src/graph/graphunixx11.c:9346: error: `XmNdeleteResponse' undeclared (first use in this function) src/graph/graphunixx11.c:9346: error: `XmDO_NOTHING' undeclared (first use in this function) src/graph/graphunixx11.c:9347: error: `XmNmwmFunctions' undeclared (first use in this function) src/graph/graphunixx11.c:9347: error: `MWM_FUNC_MOVE' undeclared (first use in this function) src/graph/graphunixx11.c:9348: error: `XmNdefaultPosition' undeclared (first use in this function) src/graph/graphunixx11.c:9349: warning: cast to pointer from integer of different size src/graph/graphunixx11.c:9405: warning: cast to pointer from integer of different size src/graph/graphunixx11.c:9407: error: `XmNactivateCallback' undeclared (first use in this function) src/graph/graphunixx11.c:9411: error: `XmNalignment' undeclared (first use in this function) src/graph/graphunixx11.c:9411: error: `XmALIGNMENT_BEGINNING' undeclared (first use in this function) src/graph/graphunixx11.c:9413: warning: cast to pointer from integer of different size src/graph/graphunixx11.c:9415: error: `XmNvalueChangedCallback' undeclared (first use in this function) src/graph/graphunixx11.c:9419: warning: cast to pointer from integer of different size src/graph/graphunixx11.c:9422: error: `xmToggleButtonGadgetClass' undeclared (first use in this function) src/graph/graphunixx11.c:9422: error: `XmNindicatorSize' undeclared (first use in this function) src/graph/graphunixx11.c:9428: warning: cast to pointer from integer of different size src/graph/graphunixx11.c:9432: error: `XmNbackground' undeclared (first use in this function) src/graph/graphunixx11.c:9439: warning: cast to pointer from integer of different size src/graph/graphunixx11.c:9444: warning: cast to pointer from integer of different size src/graph/graphunixx11.c:9449: warning: cast to pointer from integer of different size src/graph/graphunixx11.c:9451: error: `XmNexposeCallback' undeclared (first use in this function) src/graph/graphunixx11.c:9470: error: `XmNtranslations' undeclared (first use in this function) src/graph/graphunixx11.c:9472: warning: cast to pointer from integer of different size src/graph/graphunixx11.c:9478: error: `XmNresizeWidth' undeclared (first use in this function) src/graph/graphunixx11.c:9479: error: `XmNresizeHeight' undeclared (first use in this function) src/graph/graphunixx11.c:9481: warning: cast to pointer from integer of different size src/graph/graphunixx11.c:9483: error: `XmNentryCallback' undeclared (first use in this function) src/graph/graphunixx11.c:9492: error: `XmNlabelType' undeclared (first use in this function) src/graph/graphunixx11.c:9492: error: `XmPIXMAP' undeclared (first use in this function) src/graph/graphunixx11.c:9493: error: `XmNlabelPixmap' undeclared (first use in this function) src/graph/graphunixx11.c:9495: warning: cast to pointer from integer of different size src/graph/graphunixx11.c:9501: error: `XmNhighlightThickness' undeclared (first use in this function) src/graph/graphunixx11.c:9502: error: `XmNshadowThickness' undeclared (first use in this function) src/graph/graphunixx11.c:9503: error: `XmNborderWidth' undeclared (first use in this function) src/graph/graphunixx11.c:9505: warning: cast to pointer from integer of different size src/graph/graphunixx11.c:9525: error: `XmNselectionPolicy' undeclared (first use in this function) src/graph/graphunixx11.c:9525: error: `XmBROWSE_SELECT' undeclared (first use in this function) src/graph/graphunixx11.c:9528: error: `XmEXTENDED_SELECT' undeclared (first use in this function) src/graph/graphunixx11.c:9532: error: `XmNlistSizePolicy' undeclared (first use in this function) src/graph/graphunixx11.c:9532: error: `XmCONSTANT' undeclared (first use in this function) src/graph/graphunixx11.c:9534: warning: cast to pointer from integer of different size src/graph/graphunixx11.c:9538: error: `XmNverticalScrollBar' undeclared (first use in this function) src/graph/graphunixx11.c:9542: error: `XmNdecrementCallback' undeclared (first use in this function) src/graph/graphunixx11.c:9544: error: `XmNincrementCallback' undeclared (first use in this function) src/graph/graphunixx11.c:9546: error: `XmNpageIncrementCallback' undeclared (first use in this function) src/graph/graphunixx11.c:9548: error: `XmNpageDecrementCallback' undeclared (first use in this function) src/graph/graphunixx11.c:9550: error: `XmNtoTopCallback' undeclared (first use in this function) src/graph/graphunixx11.c:9552: error: `XmNtoBottomCallback' undeclared (first use in this function) src/graph/graphunixx11.c:9563: error: `XmNextendedSelectionCallback' undeclared (first use in this function) src/graph/graphunixx11.c:9575: error: `XmNinitialFocus' undeclared (first use in this function) src/graph/graphunixx11.c:9589: error: `XmNdefaultButton' undeclared (first use in this function) src/graph/graphunixx11.c:9591: error: `XmNshowAsDefault' undeclared (first use in this function) src/graph/graphunixx11.c: In function `DiaSetText': src/graph/graphunixx11.c:9712: error: `XmString' undeclared (first use in this function) src/graph/graphunixx11.c:9712: error: parse error before "str" src/graph/graphunixx11.c:9713: error: syntax error before "separator" src/graph/graphunixx11.c:9717: error: `XmFontList' undeclared (first use in this function) src/graph/graphunixx11.c:9717: error: parse error before "fontlist" src/graph/graphunixx11.c:9718: error: `XmFontListEntry' undeclared (first use in this function) src/graph/graphunixx11.c:9719: error: `XmFontContext' undeclared (first use in this function) src/graph/graphunixx11.c:9720: error: `XmFontType' undeclared (first use in this function) src/graph/graphunixx11.c:9743: error: `XmNvalueChangedCallback' undeclared (first use in this function) src/graph/graphunixx11.c:9750: error: `XmNinitialFocus' undeclared (first use in this function) src/graph/graphunixx11.c:9764: error: `XmNfontList' undeclared (first use in this function) src/graph/graphunixx11.c:9764: error: `fontlist' undeclared (first use in this function) src/graph/graphunixx11.c:9766: error: `fontlistcontext' undeclared (first use in this function) src/graph/graphunixx11.c:9768: error: `fontentry' undeclared (first use in this function) src/graph/graphunixx11.c:9771: error: `entrytype' undeclared (first use in this function) src/graph/graphunixx11.c:9771: warning: assignment makes pointer from integer without a cast src/graph/graphunixx11.c:9772: error: `XmFONT_IS_FONT' undeclared (first use in this function) src/graph/graphunixx11.c:9775: error: `XmFONT_IS_FONTSET' undeclared (first use in this function) src/graph/graphunixx11.c:9795: error: `str' undeclared (first use in this function) src/graph/graphunixx11.c:9807: error: `separator' undeclared (first use in this function) src/graph/graphunixx11.c:9831: error: `s1' undeclared (first use in this function) src/graph/graphunixx11.c:9832: error: `s2' undeclared (first use in this function) src/graph/graphunixx11.c:9844: error: `XmNlabelString' undeclared (first use in this function) src/graph/graphunixx11.c: In function `DiaGetText': src/graph/graphunixx11.c:9858: error: `XmString' undeclared (first use in this function) src/graph/graphunixx11.c:9858: error: parse error before "str" src/graph/graphunixx11.c:9862: error: `XmStringContext' undeclared (first use in this function) src/graph/graphunixx11.c:9862: error: parse error before "context" src/graph/graphunixx11.c:9863: error: `XmStringCharSet' undeclared (first use in this function) src/graph/graphunixx11.c:9864: error: `XmStringDirection' undeclared (first use in this function) src/graph/graphunixx11.c:9882: warning: return makes pointer from integer without a cast src/graph/graphunixx11.c:9888: error: `XmNlabelString' undeclared (first use in this function) src/graph/graphunixx11.c:9888: error: `str' undeclared (first use in this function) src/graph/graphunixx11.c:9891: error: `context' undeclared (first use in this function) src/graph/graphunixx11.c:9894: error: `tag' undeclared (first use in this function) src/graph/graphunixx11.c:9894: error: `direction' undeclared (first use in this function) src/graph/graphunixx11.c: In function `DiaNoEditControl': src/graph/graphunixx11.c:10007: error: `XmNeditable' undeclared (first use in this function) src/graph/graphunixx11.c: In function `DiaEditControl': src/graph/graphunixx11.c:10024: error: `XmNeditable' undeclared (first use in this function) src/graph/graphunixx11.c: In function `DiaOpaqueEdit': src/graph/graphunixx11.c:10039: error: `XmNmodifyVerifyCallback' undeclared (first use in this function) src/graph/graphunixx11.c: In function `DiaDefaultButton': src/graph/graphunixx11.c:10057: error: `XmNdefaultButton' undeclared (first use in this function) src/graph/graphunixx11.c:10059: error: `XmNshowAsDefault' undeclared (first use in this function) src/graph/graphunixx11.c: In function `DiaChangeIcon': src/graph/graphunixx11.c:10080: error: `XmNlabelPixmap' undeclared (first use in this function) src/graph/graphunixx11.c: In function `DiaSetPopup': src/graph/graphunixx11.c:10099: error: `XmNpacking' undeclared (first use in this function) src/graph/graphunixx11.c:10099: error: `XmPACK_COLUMN' undeclared (first use in this function) src/graph/graphunixx11.c:10100: warning: cast to pointer from integer of different size src/graph/graphunixx11.c:10103: warning: cast to pointer from integer of different size src/graph/graphunixx11.c:10108: error: `XmNwidth' undeclared (first use in this function) src/graph/graphunixx11.c:10109: warning: cast to pointer from integer of different size src/graph/graphunixx11.c:10111: error: `XmNactivateCallback' undeclared (first use in this function) src/graph/graphunixx11.c:10123: error: `XmNnumColumns' undeclared (first use in this function) src/graph/graphunixx11.c:10128: error: `XmNsubMenuId' undeclared (first use in this function) src/graph/graphunixx11.c: In function `DiaSetPopupEntry': src/graph/graphunixx11.c:10155: error: `XmNsubMenuId' undeclared (first use in this function) src/graph/graphunixx11.c:10156: error: `XmNchildren' undeclared (first use in this function) src/graph/graphunixx11.c:10157: error: `XmNmenuHistory' undeclared (first use in this function) src/graph/graphunixx11.c: In function `DiaGetPopupEntry': src/graph/graphunixx11.c:10174: error: `XmNsubMenuId' undeclared (first use in this function) src/graph/graphunixx11.c:10175: error: `XmNchildren' undeclared (first use in this function) src/graph/graphunixx11.c:10176: error: `XmNnumChildren' undeclared (first use in this function) src/graph/graphunixx11.c:10177: error: `XmNmenuHistory' undeclared (first use in this function) src/graph/graphunixx11.c: In function `DiaInitTextDialog': src/graph/graphunixx11.c:10190: error: `XmFontListEntry' undeclared (first use in this function) src/graph/graphunixx11.c:10190: error: parse error before "entry" src/graph/graphunixx11.c:10191: error: syntax error before "fontlist" src/graph/graphunixx11.c:10201: error: `XmNdefaultActionCallback' undeclared (first use in this function) src/graph/graphunixx11.c:10207: error: `XmNbrowseSelectionCallback' undeclared (first use in this function) src/graph/graphunixx11.c:10215: error: `entry' undeclared (first use in this function) src/graph/graphunixx11.c:10216: error: `XmFONT_IS_FONT' undeclared (first use in this function) src/graph/graphunixx11.c:10217: error: `fontlist' undeclared (first use in this function) src/graph/graphunixx11.c:10221: error: `XmNfontList' undeclared (first use in this function) src/graph/graphunixx11.c:10225: error: `XmNvisibleItemCount' undeclared (first use in this function) src/graph/graphunixx11.c: In function `DiaLoadTextDialog': src/graph/graphunixx11.c:10238: error: `XmString' undeclared (first use in this function) src/graph/graphunixx11.c:10238: error: parse error before "str" src/graph/graphunixx11.c:10258: error: `str' undeclared (first use in this function) src/graph/graphunixx11.c: In function `DiaStuffLine': src/graph/graphunixx11.c:10322: error: `XmString' undeclared (first use in this function) src/graph/graphunixx11.c:10322: error: parse error before "str" src/graph/graphunixx11.c:10328: error: `str' undeclared (first use in this function) src/graph/graphunixx11.c: In function `DiaSelectLine': src/graph/graphunixx11.c:10351: error: `XmNtopItemPosition' undeclared (first use in this function) src/graph/graphunixx11.c:10352: error: `XmNvisibleItemCount' undeclared (first use in this function) src/graph/graphunixx11.c: In function `DiaSelectLines': src/graph/graphunixx11.c:10380: error: `XmNselectionPolicy' undeclared (first use in this function) src/graph/graphunixx11.c:10380: error: `XmMULTIPLE_SELECT' undeclared (first use in this function) src/graph/graphunixx11.c:10396: error: `XmNtopItemPosition' undeclared (first use in this function) src/graph/graphunixx11.c:10397: error: `XmNvisibleItemCount' undeclared (first use in this function) src/graph/graphunixx11.c:10406: error: `XmEXTENDED_SELECT' undeclared (first use in this function) src/graph/graphunixx11.c: In function `DiaGetNumScrollLines': src/graph/graphunixx11.c:10468: error: `XmNitemCount' undeclared (first use in this function) src/graph/graphunixx11.c: In function `DiaGetScrollLine': src/graph/graphunixx11.c:10476: error: `XmString' undeclared (first use in this function) src/graph/graphunixx11.c:10476: error: `strlist' undeclared (first use in this function) src/graph/graphunixx11.c:10486: error: `XmNitemCount' undeclared (first use in this function) src/graph/graphunixx11.c:10486: error: `XmNitems' undeclared (first use in this function) src/graph/graphunixx11.c:10489: error: `XmFONTLIST_DEFAULT_TAG' undeclared (first use in this function) src/graph/graphunixx11.c: In function `DiaSetScrollLine': src/graph/graphunixx11.c:10503: error: `XmString' undeclared (first use in this function) src/graph/graphunixx11.c:10503: error: parse error before "strlist" src/graph/graphunixx11.c:10519: error: `strlist' undeclared (first use in this function) src/graph/graphunixx11.c: At top level: src/graph/graphunixx11.c:11118: error: parse error before "XmScrollBarCallbackStruct" src/graph/graphunixx11.c: In function `gra_vertslider': src/graph/graphunixx11.c:11123: error: `w' undeclared (first use in this function) src/graph/graphunixx11.c:11126: error: `call_data' undeclared (first use in this function) src/graph/graphunixx11.c:11127: error: `client_data' undeclared (first use in this function) src/graph/graphunixx11.c: In function `gra_setscroll': src/graph/graphunixx11.c:11159: error: `XmNverticalScrollBar' undeclared (first use in this function) src/graph/graphunixx11.c: At top level: src/graph/graphunixx11.c:11184: error: parse error before "XmSelectionBoxCallbackStruct" src/graph/graphunixx11.c: In function `gra_dialogaction': src/graph/graphunixx11.c:11188: error: `XmPushButtonCallbackStruct' undeclared (first use in this function) src/graph/graphunixx11.c:11188: error: `cbspb' undeclared (first use in this function) src/graph/graphunixx11.c:11192: error: `w' undeclared (first use in this function) src/graph/graphunixx11.c:11195: error: `client_data' undeclared (first use in this function) src/graph/graphunixx11.c:11201: error: `XmTRAVERSE_HOME' undeclared (first use in this function) src/graph/graphunixx11.c:11216: error: parse error before ')' token src/graph/graphunixx11.c:11244: warning: assignment makes pointer from integer without a cast src/graph/graphunixx11.c: In function `gra_dialogcopywholelist': src/graph/graphunixx11.c:11317: error: `XmString' undeclared (first use in this function) src/graph/graphunixx11.c:11317: error: `strlist' undeclared (first use in this function) src/graph/graphunixx11.c:11317: error: `copylabel' undeclared (first use in this function) src/graph/graphunixx11.c:11328: error: `ClipboardLocked' undeclared (first use in this function) src/graph/graphunixx11.c:11331: error: `XmNitemCount' undeclared (first use in this function) src/graph/graphunixx11.c:11331: error: `XmNitems' undeclared (first use in this function) src/graph/graphunixx11.c:11334: error: `XmFONTLIST_DEFAULT_TAG' undeclared (first use in this function) src/graph/graphunixx11.c: At top level: src/graph/graphunixx11.c:11357: error: parse error before "XmTextVerifyCallbackStruct" src/graph/graphunixx11.c: In function `gra_dialogopaqueaction': src/graph/graphunixx11.c:11362: error: `w' undeclared (first use in this function) src/graph/graphunixx11.c:11365: error: `call_data' undeclared (first use in this function) src/graph/graphunixx11.c: At top level: src/graph/graphunixx11.c:11386: error: parse error before "XmSelectionBoxCallbackStruct" src/graph/graphunixx11.c: In function `gra_dialogredraw': src/graph/graphunixx11.c:11391: error: `w' undeclared (first use in this function) src/graph/graphunixx11.c: At top level: src/graph/graphunixx11.c:11404: error: parse error before "XmSelectionBoxCallbackStruct" src/graph/graphunixx11.c: In function `gra_dialogredrawsep': src/graph/graphunixx11.c:11413: error: `w' undeclared (first use in this function) src/graph/graphunixx11.c:11416: error: `client_data' undeclared (first use in this function) make: *** [src/graph/graphunixx11.o] Error 1 make: *** Waiting for unfinished jobs.... !!! ERROR: sci-electronics/electric-7.00 failed. !!! Function src_compile, Line 30, Exitcode 2 !!! make failed Expected Results: merge electric-7.00 [ebuild U ] sci-electronics/electric-7.00 [6.08-r1] -qt 0 kB Portage 2.0.53_rc7 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.4.20040808-r1,glibc-2.3.5-r3, 2.6.13-ck5 x86_64) ================================================================= System uname: 2.6.13-ck5 x86_64 Mobile AMD Athlon(tm) 64 Processor 2800+ Gentoo Base System version 1.12.0_pre9 dev-lang/python: 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.13 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.15.92.0.2-r1, 2.16.1 sys-devel/libtool: 1.5.20-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-march=athlon64 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict usersandbox" GENTOO_MIRRORS="ftp://trumpetti.atm.tut.fi/gentoo" LANG="de_AT.UTF-8" LC_ALL="de_AT.UTF-8" LINGUAS="de_AT.UTF-8" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X acpi alsa apache2 avi berkdb bidi bitmap-fonts cdr crypt cups curl dba dga dvd dvdr eds emacs emboss encode esd faad fam flac foomaticdb fortran gd gd-external gdbm ggi gif gnome gpm gstreamer gtk gtk2 guile hal imagemagick imap imlib ipv6 ithreads java joystick jpeg junit libwww lirc lzw lzw-tiff mad maildir matroska mikmod motif mozilla mp3 mpeg mule mysql ncurses nls ogg oggvorbis opengl pam pda pdflib perl png postgres python quicktime readline samba sdl slang sox speex spell ssl tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales vorbis wxwindows xine xml xml2 xmms xpm xv zlib linguas_de_AT.UTF-8 userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LDFLAGS
Which motif version do you have installed? x11-libs/openmotif or x11-libs/lesstif?
i found the bug. for some reason the only installed version of motif was not set as the active profile: # motif-config -l [1] openmotif-2.2 after doing motif-config -s openmotif-2.2 electric compiled. # motif-config -l [1] openmotif-2.2 *
OK, closing as INVALID.