[ROOT] ACLiC 'Unexpected EOF' on linux but not on sun

From: S.Schanne +33169081547 (schanne@hep.saclay.cea.fr)
Date: Mon Jul 28 2003 - 18:27:21 MEST


	Dear Root-team,

I have the following probleam with ACLiC creating a shared library under Linux.
But I have not this problem under SUN-Forte61, which correctly generates the .so libraray!
I have simply one class (with overloaded operators) including only stdio.h and TROOT.h

Also compiling the code, generating by hand the Dictionary with rootcint
and linking a program works fine in both systems (Linux & SUN).

Here is the log:

---------------
root [0] .L aspiBitField.cpp++
Info in <TUnixSystem::ACLiC>: creating shared library
/home/spitest/aspi/./aspiBitField_cpp.so
Error: Unexpected EOF G__fignorestream():3 FILE:aspiBitField.cpp LINE:720
Error: Unexpected EOF G__exec_statement() FILE:aspiBitField.cpp LINE:720
Warning: Error occured during reading source files
Warning: Error occured during dictionary source generation
!!!Removing /home/test/./fileqb8RoT.cxx /home/test/./fileqb8RoT.h !!!
Error: rootcint: error loading headers...
Error in <ACLiC>: Dictionary generation failed!
---------------
The file aspiBitField.cpp has a total of 718 lines, so how can there be an error at line 720 ?

Should I provide you with more info?
Thank you for developping the great ROOT system and thanks for your help!
	Stephane

Versions used :
* gcc --version	2.96
* ROOT compiled for gcc 2.96, version 3.05/07
  (but I have the same problem with older ROOT versions, for example 3.03/07)



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