termios.h and rootcint

From: OKUMURA, Akira <oxon_at_icrr.u-tokyo.ac.jp>
Date: Mon, 4 Dec 2006 22:47:29 +0900

Hello ROOTers,

I wrote a class which includes termios.h to control RS232C devices. When I tried to generate dictionaries, some errors occurred.

$ make
rootcint -f src/CloudMonitorDict.cxx -c -p include/ARS232C.h include/ LinkDef.h
Error: Symbol speed_tfInputSpeed is not defined in current scope include/ARS232C.h:39:
Error: Symbol speed_tfOutputSpeed is not defined in current scope include/ARS232C.h:40:

Syntax error include/ARS232C.h:59:
Syntax error include/ARS232C.h:60:
Syntax error include/ARS232C.h:61:

Warning: Error occurred during reading source files Warning: Error occurred during dictionary source generation ............

fInputSpeed and fOutputSpeed are member variables of a class ARS232C. lines 59, 60 and 61 have a strings "foo(speed_t speed)" where foo is name of functions.

like as below

class ARS232C : public TObject {
     speed_t fInputSpeed;
     speed_t fOutputSpeed;

     void func(speed_t speed);


What should I do?


OKUMURA, Akira oxon_at_icrr.u-tokyo.ac.jp
Institute for Cosmic Ray Research, University of Tokyo 5-1-5 Kashiwanoha Kashiwa Chiba 277-8582 Japan Phone/Fax : +81 4-7136-3153
Skype : okumura.akira Received on Mon Dec 04 2006 - 14:47:40 MET

This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:32:02 MET