Just having a problem with mpl_motif and architecture apparently:
Code: Select all
clang++ -o mpl_motif -L/Users/joelfrederico/src/epics/extensions/lib/darwin-x86 -L/opt/X11/lib -arch x86_64 mpl_motif.o xwdfunc.o -lmdbplt -lSDDS1 -lmdbmth -lmdblib -llzma -lXmu -lXt -lX11 -lgd -lpng -lz
Undefined symbols for architecture x86_64:
"_XmCreateCascadeButton", referenced from:
_main in mpl_motif.o
"_XmCreateDrawingArea", referenced from:
_main in mpl_motif.o
"_XmCreateForm", referenced from:
_main in mpl_motif.o
"_XmCreateFormDialog", referenced from:
_menucb in mpl_motif.o
_choosecolors in mpl_motif.o
_mtracksetup in mpl_motif.o
_printsetup in mpl_motif.o
"_XmCreateInformationDialog", referenced from:
_xinfomsg in mpl_motif.o
"_XmCreateLabel", referenced from:
_main in mpl_motif.o
_mtracksetup in mpl_motif.o
_printsetup in mpl_motif.o
"_XmCreateMainWindow", referenced from:
_main in mpl_motif.o
"_XmCreateMenuBar", referenced from:
_main in mpl_motif.o
"_XmCreateOptionMenu", referenced from:
_mtracksetup in mpl_motif.o
"_XmCreatePromptDialog", referenced from:
_navigatecb in mpl_motif.o
_zoomfactorcb in mpl_motif.o
"_XmCreatePulldownMenu", referenced from:
_main in mpl_motif.o
_mtracksetup in mpl_motif.o
"_XmCreatePushButton", referenced from:
_main in mpl_motif.o
_menucb in mpl_motif.o
_addspectrumcolors in mpl_motif.o
_choosecolors in mpl_motif.o
_mtracksetup in mpl_motif.o
_printsetup in mpl_motif.o
"_XmCreateRowColumn", referenced from:
_choosecolors in mpl_motif.o
_mtracksetup in mpl_motif.o
_printsetup in mpl_motif.o
"_XmCreateScrolledText", referenced from:
_menucb in mpl_motif.o
"_XmCreateSeparator", referenced from:
_main in mpl_motif.o
_choosecolors in mpl_motif.o
_printsetup in mpl_motif.o
"_XmCreateSimpleRadioBox", referenced from:
_printsetup in mpl_motif.o
"_XmCreateTextField", referenced from:
_mtracksetup in mpl_motif.o
_printsetup in mpl_motif.o
"_XmCreateToggleButton", referenced from:
_main in mpl_motif.o
_choosecolors in mpl_motif.o
_printsetup in mpl_motif.o
"_XmCreateWarningDialog", referenced from:
_xerrmsg in mpl_motif.o
"_XmMainWindowSetAreas", referenced from:
_main in mpl_motif.o
"_XmMessageBoxGetChild", referenced from:
_xerrmsg in mpl_motif.o
_xinfomsg in mpl_motif.o
"_XmSelectionBoxGetChild", referenced from:
_navigatecb in mpl_motif.o
_zoomfactorcb in mpl_motif.o
"_XmStringCreate", referenced from:
_main in mpl_motif.o
_menucb in mpl_motif.o
_choosecolors in mpl_motif.o
_mtracksetup in mpl_motif.o
_printsetup in mpl_motif.o
"_XmStringCreateLtoR", referenced from:
_xerrmsg in mpl_motif.o
_status in mpl_motif.o
_xinfomsg in mpl_motif.o
"_XmStringCreateSimple", referenced from:
_navigatecb in mpl_motif.o
_zoomfactorcb in mpl_motif.o
"_XmStringFree", referenced from:
_main in mpl_motif.o
_xerrmsg in mpl_motif.o
_menucb in mpl_motif.o
_navigatecb in mpl_motif.o
_zoomfactorcb in mpl_motif.o
_choosecolors in mpl_motif.o
_status in mpl_motif.o
...
"_XmStringGetLtoR", referenced from:
_navigatecb in mpl_motif.o
_getzoomfactor in mpl_motif.o
"_XmTextFieldGetString", referenced from:
_readprinttext in mpl_motif.o
"_XmTextGetString", referenced from:
_menucb in mpl_motif.o
"_XmTextSetString", referenced from:
_menucb in mpl_motif.o
"_XmToggleButtonGetState", referenced from:
_printcb in mpl_motif.o
_menucb in mpl_motif.o
_colorcb in mpl_motif.o
"_XmToggleButtonSetState", referenced from:
_main in mpl_motif.o
_eventgraph in mpl_motif.o
_choosecolors in mpl_motif.o
_printsetup in mpl_motif.o
"_XmUpdateDisplay", referenced from:
_xerrmsg in mpl_motif.o
_gnuplot in mpl_motif.o
_movie in mpl_motif.o
_gnuplot_new in mpl_motif.o
"__XmStrings", referenced from:
_main in mpl_motif.o
_xerrmsg in mpl_motif.o
_menucb in mpl_motif.o
_navigatecb in mpl_motif.o
_zoomfactorcb in mpl_motif.o
_colorcb in mpl_motif.o
_addspectrumcolors in mpl_motif.o
...
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [mpl_motif] Error 1
make[2]: Leaving directory `/Users/joelfrederico/src/epics/extensions/src/SDDS/SDDSaps/sddsplots/motifDriver/O.darwin-x86'
make[1]: *** [install.darwin-x86] Error 2
make[1]: Leaving directory `/Users/joelfrederico/src/epics/extensions/src/SDDS/SDDSaps/sddsplots/motifDriver'
make: *** [SDDSaps/sddsplots/motifDriver.install] Error 2
Code: Select all
ld: symbol(s) not found for architecture x86_64
Joel