Selim Issever writes:
> Thanks for the quick answer. But I still need help:
>
> I did as requested, but cant get it linked:
>
> >>> TMyRint.H --------------
> #ifndef TMyRint_H
> #define TMyRint_H
> #include <TRint.h>
> class TMyRint : public TRint {
> public:
> TMyRint(char* appClassName, int* argc, char** argv);
> void PrintLogo();
> };
> #endif
> >>> -------------------------
>
> >>> TMyRint.C ---------------
> #include "TMyRint.H"
> TMyRint::TMyRint(char* appClassName, int* argc, char** argv) :
> TRint(appClassName, argc, argv, options, numOptions) {}
> void TMyRint::PrintLogo() {}
> >>> -------------------------
>
> >>> and I get:
> eg++ -g -rdynamic \
> mo.o mydict.o TMyRint.o 7of9.o Date.o EasyTableReader.o
> DBTableIterator.o StyledCanvas.o
> /afs/desy.de/group/hera-b/MIZZI/pro/Linux_intel/lib/mcshb.a
> -L/afs/desy.de/products/cern/root_gcc/lib -lNew -lBase -lCint -lRint -lClib
> -lCont -lFunc -lGraf -lGraf3d -lHist -lHtml -lMatrix -lMeta -lMinuit -lNet
> -lPostscript -lProof -lTree -lUnix -lZip -lg++ -lm -ldl -rdynamic
> -L/afs/desy.de/products/cern/root_gcc/lib -lNew -lBase -lCint -lRint -lClib
> -lCont -lFunc -lGraf -lGraf3d -lHist -lHtml -lMatrix -lMeta -lMinuit -lNet
> -lPostscript -lProof -lTree -lUnix -lZip -lGpad -lGui -lGX11 -lX3d
> -L/usr/X11R6/lib -lXpm -lX11 -lg++ -lm -ldl -rdynamic \
> -o 7of9
> TMyRint.o: In function `TMyRint type_info function':
> TMyRint.o(.text+0xb7): undefined reference to `TRint type_info function'
> TMyRint.o(.text+0xbf): undefined reference to `TRint type_info node'
> collect2: ld returned 1 exit status
> make: *** [7of9] Error 1
>
>
> It seems, that I didnt understand something basic!?
>
> Cheers
> Selim
>
> Rene Brun wrote:
> >
> > Hi Selim,
> > We do not have a command line option to remove the message.
> > If you link your own application and use the TRint class,
> > you can implement your own Application class derived from TRint where
> > You can redefine the function TRint::PrintLogo in the derived class
> > with whatever you want.
> >
> > Rene
> >
>
> --
> Selim Issever | Tel: 040 8998-2843 +- Talk sense to a fool and he --
> DESY-F15 | Fax: 040 8998-4033 +- calls you foolish. -----------
> Notkestr. 85 | selim.issever@desy.de +-------------- Euripides ------
> 22603 Hamburg/Germany | http://www.physik.uni-dortmund.de/~issevers