rootcint problem (root-head version)

From: Diego Faso <>
Date: Mon, 25 Sep 2006 14:37:10 +0200 (MET DST)

Hello, I have just downloaded thr root-head version (I'm testing the new features of OpenGL), and I got some problems with the rootcint dictionary generation. In particular I can not generate the dictionary if I try to include the "sys/socket.h".
I attach a dummy class (header and source) as an example:

I send the following command:
  # rootcint -f dic.C -c -p TestClass.h Linkdef.h

And I get the following error:

  Error: class,struct,union or type __socklen_t not defined   /usr/include/bits/socket.h:36:
  Error: Symbol __uint32_t__ss_align is not defined in current scope   /usr/include/bits/socket.h:165:
  Error: Symbol __uint32_t is not defined in current scope   /usr/include/bits/socket.h:166:
  Warning: Error occurred during reading source files   Warning: Error occurred during dictionary source generation   !!!Removing dic.C dic.h !!!
  Error: rootcint: error loading headers...

Everything works fine with root-5.13/02.

Do I have to modify anything in my code? Thank you in advance.

Received on Mon Sep 25 2006 - 14:37:21 MEST

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