Hello. I created a test class and found that I could not successfully run rootcint to create the dictionary when I included any of the following: malloc.h, netinet/in.h, sys/socket.h, zlib.h I'm running in RH7.3 with g++ version 2.96 and rootcint 5.15.86 (ROOT 3.05/05). I'm pretty sure it's just user error on my part, so I'm hoping there's a simple solution. Here are the source files: test.h: #ifndef ROOT_test #define ROOT_test #include "TROOT.h" //#include <malloc.h> //#include <netinet/in.h> //#include <sys/socket.h> //#include <zlib.h> class test:TObject { public: test(); ~test(); ClassDef(test,1) }; #endif test.cxx: #include "test.h" #include <iostream.h> ClassImp(test) test::test() { cout << "hi" << endl; } test::~test() { cout << "bye" << endl; } test_LinkDef.h: #ifdef __CINT__ #pragma link off all globals; #pragma link off all classes; #pragma link off all functions; #pragma link C++ class test+; #endif I ran with rootcint -f testDict.C -c test.h test_LinkDef.h and got errors, which I wrote to a file and attached to this email. Thanks in advance! Curtis
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:13 MET