Hi Michael, Yes, I found my error last night. A confusing factor was the presence of a pregenerated OracleDict On Wednesday 26 February 2003 03:38 am, Dahlinger Dr. Michael wrote: > Hi I just tested and got no problem using: > > make OracleDict.o > Generating dictionary > rootcint -f OracleDict.cxx -c OracleServer.h OracleResult.h OracleRow.h > LinkDef.h > g++ -g -Wall -fPIC -I. -D_REENTRANT > -I/usr/local/pub/debian3.0/gcc295-04/root/304-02/include > -I/usr/local/oracle/product/9.0.1/precomp/public > -I/usr/local/oracle/product/9.0.1/plsql/public > -I/usr/local/oracle/product/9.0.1/rdbms/public > -I/usr/local/oracle/product/9.0.1/network/public > -I/usr/local/oracle/product/9.0.1/rdbms/demo -c OracleDict.cxx > > It also works with Oracle 8.1.7 > > We have gcc 2.95.4 Debian version and root 304.2 > > Maybe you regenerate the OracleDict.cxx with the rootcint command. > > Michael > > -------------------------------------------------- > Dr. Michael Dahlinger Tel.: (+49)-06159-71-2546 > GSI computing dept. FAX : (+49)-06159-71-2986 > Planckstr. 1 Email: M.Dahlinger@gsi.de > D-64291 Darmstadt > Germany > -------------------------------------------------- > > > > -----Ursprüngliche Nachricht----- > Von: Alex Schlessinger [mailto:als@SLAC.Stanford.EDU] > Gesendet am: Dienstag, 25. Februar 2003 22:40 > An: roottalk@pcroot.cern.ch; M.Dahlinger@gsi.de; > richard@SLAC.Stanford.EDU; kyoung@SLAC.Stanford.EDU; janani@stanford.edu > Betreff: OracleRoot compile > > > Hi, > > I'm trying to build the OracleRoot package against ROOT v3.04.2 and Oracle > 8.1.7. Our compile is gcc 2.95.3, although regressing to egcs made no > difference. I get this compilation error, any ideas? > > thanks, > -alex > > g++ -g -Wall -fPIC -I. -D_REENTRANT -I/opt/ROOT/v3.04.02/root//include > -I/usr/oracle//rdbms/demo -I/usr/oracle//precomp/public > -I/usr/oracle//plsql/public -I/usr/oracle//rdbms/public > -I/usr/oracle//network/public -c OracleDict.cxx > OracleDict.cxx:70: syntax error before `;' > OracleDict.cxx:74: cannot declare member function `TOracleResult::Streamer' > within `TOracleServer' > OracleDict.cxx:74: syntax error before `{' > OracleDict.cxx:82: cannot declare member function > `TOracleResult::ShowMembers' > within `TOracleServer' > OracleDict.cxx:82: syntax error before `{' > OracleDict.cxx:86: `R__parent' was not declared in this scope > OracleDict.cxx:87: parse error before `if' > OracleDict.cxx:88: syntax error before `.' > OracleDict.cxx:89: syntax error before `.' > OracleDict.cxx:90: `R__insp' was not declared in this scope > OracleDict.cxx:90: `R__parent' was not declared in this scope > OracleDict.cxx:90: ANSI C++ forbids declaration `ShowMembers' with no type > OracleDict.cxx:90: cannot declare member `TSQLResult::ShowMembers' within > `TOracleServer' > OracleDict.cxx:90: invalid declarator > OracleDict.cxx:91: parse error before `}' > OracleDict.cxx:95: cannot declare member function > `TOracleResult::Class_Name' > within `TOracleServer' > OracleDict.cxx:95: syntax error before `{' > OracleDict.cxx:101: syntax error before `;' > OracleDict.cxx:105: cannot declare member function `TOracleRow::Streamer' > within `TOracleResult' > OracleDict.cxx:105: syntax error before `{' > OracleDict.cxx:113: cannot declare member function > `TOracleRow::ShowMembers' > > within `TOracleResult' > OracleDict.cxx:113: syntax error before `{' > OracleDict.cxx:117: redefinition of `Int_t R__ncp' > OracleDict.cxx:86: `Int_t R__ncp' previously defined here > OracleDict.cxx:117: `R__parent' was not declared in this scope > OracleDict.cxx:118: parse error before `if' > OracleDict.cxx:119: syntax error before `.' > OracleDict.cxx:120: `R__insp' was not declared in this scope > OracleDict.cxx:120: `R__parent' was not declared in this scope > OracleDict.cxx:120: ANSI C++ forbids declaration `ShowMembers' with no type > OracleDict.cxx:120: cannot declare member `TSQLRow::ShowMembers' within > `TOracleResult' > OracleDict.cxx:120: invalid declarator > OracleDict.cxx:121: parse error before `}' > OracleDict.cxx:125: cannot declare member function `TOracleRow::Class_Name' > within `TOracleResult' > OracleDict.cxx:125: syntax error before `{' > OracleDict.cxx:131: syntax error before `;'
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:09 MET