Dear Rooters
I would like to create a makefile for all architectures although I can test it
only on my Mac with OS X 10.4.1. For this reason I tried to use the makefile
“Makefile.arch” from root/test by using “include Makefile.arch”, see the attached
makefiles.
These makefiles should substitute the makefile “Makefile4MyGui” in my example
MyGui, which I attached in my forum example “Progressbar”, see:
root.cern.ch/phpBB2/viewtopic.ph … de9fce8495
Sorrowly, when using the new makefile I get the following error messages:
christians-powerbook-g4:~/ROOT/rootcode/MyProgress cs make -f Makefile4MyGui
c++ -O -pipe -Wall -D_REENTRANT -Wno-long-double -I/Users/cs/ROOT/root/include -c MyGui.cxx
Generating dictionary MyGuiDict.cxx...
c++ -O -pipe -Wall -D_REENTRANT -Wno-long-double -I/Users/cs/ROOT/root/include -c MyGuiDict.cxx
MACOSX_DEPLOYMENT_TARGET=10.4 c++ -O -Xlinker -bind_at_load -flat_namespace MyGui.o MyGuiDict.o -L. -lMyProgress -L/Users/cs/ROOT/root/lib -lCore -lCint -lHist -lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript -lMatrix -lPhysics -lfreetype -lpthread -lm -ldl -lThread -o MyGui
/usr/bin/ld: Undefined symbols:
TGHotString::TGHotString(char const*)
TGMainFrame::DontCallClose()
TGMainFrame::SetWMPosition(int, int)
TGMainFrame::TGMainFrame(TGWindow const*, unsigned int, unsigned int, unsigned int)
TGPopupMenu::TGPopupMenu(TGWindow const*, unsigned int, unsigned int, unsigned int)
TGGroupFrame::GetDefaultGC()
TGGroupFrame::GetDefaultFontStruct()
TGGroupFrame::TGGroupFrame(TGWindow const*, char const*, unsigned int, unsigned long, unsigned long, unsigned long)
TGTextButton::GetDefaultFontStruct()
TGTextButton::TGTextButton(TGWindow const*, char const*, int, unsigned long, unsigned long, unsigned int)
TGProgressBar::SetBarColor(char const*)
TGProgressBar::SetFillType(TGProgressBar::EFillType)
TGProgressBar::GetDefaultGC()
TGProgressBar::GetDefaultFontStruct()
TGProgressBar::Increment(float)
TGProgressBar::TGProgressBar(TGWindow const*, unsigned int, unsigned int, unsigned long, unsigned long, unsigned long, unsigned long, unsigned int)
TGShutterItem::TGShutterItem(TGWindow const*, TGHotString*, int, unsigned int)
TGHProgressBar::ShowPosition(bool, bool, char const*)
TGPictureButton::TGPictureButton(TGWindow const*, TGPicture const*, int, unsigned long, unsigned int)
TGCompositeFrame::TGCompositeFrame(TGWindow const*, unsigned int, unsigned int, unsigned int, unsigned long)
TGCompositeFrame::TGCompositeFrame(TGWindow const*, unsigned int, unsigned int, unsigned int, unsigned long)
TGCompositeFrame::~TGCompositeFrame()
TGTransientFrame::TGTransientFrame(TGWindow const*, TGWindow const*, unsigned int, unsigned int, unsigned int)
TGFrame::GetWhitePixel()
TGFrame::GetDefaultFrameBackground()
TGFrame::GetDefaultSelectedBackground()
TGFrame::TGFrame(TGWindow const*, unsigned int, unsigned int, unsigned int, unsigned long)
TGFrame::~TGFrame()
TGButton::GetDefaultGC()
TGClient::GetPicture(char const*)
TGWindow::SetWindowName(char const*)
TGMenuBar::TGMenuBar(TGWindow const*, unsigned int, unsigned int, unsigned int)
TGShutter::TGShutter(TGWindow const*, unsigned int)
TGGC::operator()() const
TGClient::GetRoot() const
vtable for TGDimension
vtable for TGLayoutHints
vtable for TGHProgressBar
vtable for TGHorizontalFrame
vtable for TGHorizontal3DLine
_gClient
collect2: ld returned 1 exit status
make: *** [MyGui(ExeSuf)] Error 1
Do you know what these messages mean and what may be wrong with the novel
makefile?
Thank you in advance
Best regards
Christian
Makefile4MyGui.txt (1.29 KB)
Makefile.arch.txt (12.7 KB)