Re: Error During Compilation Relating to Iosenum.h

From: Mark Delgado <mtdelgad_at_ncsu.edu>
Date: Fri, 10 Jun 2011 22:46:54 -0400


Fons,

One more thing, attached is a link to a screen shot of the error http://imgur.com/Yffj8

It appears to happen when the compilation of xrootd occurs. One line I found interesting was when it declared the host arch was i386_linux instead of armlinux. Is there a config file I need to change somewhere.

Sorry I didn't attach this earlier, I hope this helps.

Thanks again,
-Mark

On Fri, Jun 10, 2011 at 10:40 PM, Mark Delgado <mtdelgad_at_ncsu.edu> wrote:
> Fons,
>
> Thank you for your input. I have done exactly what you have said.
> However when I do what you recommended, after a looooong compilation I
> get the following error:
>
> cc1plus: error: unrecognized command line option "-m32"
> make[5]: *** [../../obj/XrdSysDir.o] Error 1
> make[4]: *** [Linuxall] Error 2
> make[3]: *** [all] Error 2
> make[2]: *** [XrdSys] Error 2
> make[1]: *** [all] Error 2
> make[1]: *** Leaving directory '$ROOTDIRECTORY/net/xrootd/src/xrootd'
> *** Error condition reported by make (rc = 2):
> make: *** [net/xrootd/src/xrootd/LastBuild.d] Error 1
>
> Any suggestions on how to fix this? Do you think running this on the
> actual platform will yield different results compared to the virtual
> environment that I am currently on?
>
> Thanks again for the feed back
> -Mark
> On Thu, Jun 9, 2011 at 5:12 PM, Fons Rademakers <Fons.Rademakers_at_cern.ch> wrote:
>> Hi Mark,
>>
>>  the issue is that we've not compiled for a while on Linux ARM and hence the
>> iosenum file is for gcc 4 is missing. Can you try the following
>>
>> cd $ROOTSYS/cint/iosenum
>> cp iosenum.linux3 iosenum.linuxarm3
>>
>> then re-make ROOT:
>>
>> cd $ROOTSYS
>> make distclean
>> make
>>
>> Let me know if that works for you?
>>
>> Cheers, Fons.
>>
>>
>> On 09/06/2011 22:36, Mark Delgado wrote:
>>>
>>> Hello,
>>>
>>> I am currently trying to compile ROOT and am running into a difficult
>>> problem. When I compile from source I get the following error:
>>>
>>> Error:  cannot open file "iosenum.h" cint/cint/include/iostream.h:32:
>>> Warning: Error occurred during reading source files
>>> Warning: Error occurred during dictionary source generation
>>> !!!Removing core/base/src/G__Base1.cxx core/base/src/G__Base1.h !!!
>>> Error: core/utils/src/rootcint_tmp: error loading headers...
>>>
>>> The commands I have entered are
>>> ./configure
>>> make
>>>
>>> This error happens after I enter the make command.
>>>
>>> I am currently running Debian Linux, my GCC version is 4.4.5, and I am
>>> using the latest svn code. I am doing all of this on the linuxarm
>>> architecture which is being emulated on QEMU.Are there any
>>> suggestions to fix these problems?
>>>
>>> If you need any more information please let me know and I will
>>> be happy to provide it. It should be noted that I have gotten
>>> this same error with versions 5.30-rc1, 5.28, and 5.26.
>>>
>>> Thank you for any and all help,
>>> -Mark
>>>
>>
>> --
>> Org:    CERN, European Laboratory for Particle Physics.
>> Mail:   1211 Geneve 23, Switzerland
>> E-Mail: Fons.Rademakers_at_cern.ch              Phone: +41 22 7679248
>> WWW:    http://fons.rademakers.org           Fax:   +41 22 7669640
>>
>
Received on Sat Jun 11 2011 - 04:47:06 CEST

This archive was generated by hypermail 2.2.0 : Sat Jun 11 2011 - 23:50:01 CEST