RE: [ROOT] u_int32_t not defined

From: Philippe Canal (pcanal@fnal.gov)
Date: Tue Sep 02 2003 - 18:50:10 MEST


Hi Thomas,

Try to have rootcint use the external pre-processor:

	rootcint -f dict.cxx -c -p .....

Cheers,
Philippe.

-----Original Message-----
From: owner-roottalk@pcroot.cern.ch
[mailto:owner-roottalk@pcroot.cern.ch]On Behalf Of Thomas Schoerner
Sent: Tuesday, September 02, 2003 5:32 AM
To: roottalk@pcroot.cern.ch
Subject: [ROOT] u_int32_t not defined


Hello,

I am including db.h (in my case at /usr/local/include) but then get loads
of errors from undefined types like

Error: class,struct,union or type u_int32_t not defined
FILE:/usr/local/include/db.h LINE:83
Error: class,struct,union or type u_int16_t not defined
FILE:/usr/local/include/db.h LINE:84
Error: class,struct,union or type u_int32_t not defined
FILE:/usr/local/include/db.h LINE:87
Error: Symbol u_int32_tsize is not defined in current scope
FILE:/usr/local/include/db.h LINE:124
Error: Symbol u_int32_tulen is not defined in current scope
FILE:/usr/local/include/db.h LINE:126
Error: Symbol u_int32_tdlen is not defined in current scope
FILE:/usr/local/include/db.h LINE:127

Can you tell me what to do in order to overcome this problem?

Thanks,

Thomas



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:15 MET