# Build failure with gcc 5.1.0: trying to include iostream.h

**URL:** <https://root-forum.cern.ch/t/build-failure-with-gcc-5-1-0-trying-to-include-iostream-h/19363>\
**Category:** ROOT\
**Created:** [June 10, 2015, 3:25pm UTC](https://root-forum.cern.ch/t/build-failure-with-gcc-5-1-0-trying-to-include-iostream-h/19363 "2015-06-10T15:25:09Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Nicola\_Mori](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/nicola_mori/32/23583_2.png) [@Nicola\_Mori](https://root-forum.cern.ch/u/Nicola_Mori)\
**Post date:** [June 10, 2015, 3:25pm UTC](https://root-forum.cern.ch/t/build-failure-with-gcc-5-1-0-trying-to-include-iostream-h/19363/1 "2015-06-10T15:25:09Z")

</div>

I can’t build Root 5.34.25 with gcc 5.1.0. Configuring the build with configure I get this compilation error:

> [@](#):
>
> g++ -g -pipe -m64 -Wall -W -Woverloaded-virtual -fPIC -Iinclude -DR\_\_HAVE\_CONFIG -DG\_\_REGEXP -DG\_\_UNIX -DG\_\_SHAREDLIB -DG\_\_OSFDLL -DG\_\_ROOT -DG\_\_REDIRECTIO -DG\_\_STD\_EXCEPTION -DG\_\_64BIT -DG\_\_HAVE\_CONFIG -DG\_\_NOMAKEINFO -DG\_\_CINTBODY -I/home/mori/software/source/root\_v5.34.25.debug/cint/cint/inc -I/home/mori/software/source/root\_v5.34.25.debug/cint/cint/src -I/home/mori/software/source/root\_v5.34.25.debug/cint/cint/src/dict -pthread -Icint/cint/lib/libstrm -Icint/cint/lib/stream -I. -o cint/cint/src/dict/libstrm.o -c cint/cint/src/dict/libstrm.cxx  
> In file included from cint/cint/src/dict/libstrm.h:37:0,  
> from cint/cint/src/dict/libstrm.cxx:14:  
> cint/cint/lib/stream/iostrm.h:24:22: fatal error: iostream.h: No such file or directory  
> compilation terminated.  
> Makefile:631: recipe for target ‘cint/cint/src/dict/libstrm.o’ failed  
> make: \*\*\* [cint/cint/src/dict/libstrm.o] Error 1

I have previously compiled Root 5.34.25 with gcc 4.9.2 and older without problems. I think that this might be a problem with gcc 5 since I use a bash script to download, configure, build and install, so I’m pretty sure that I’m doing exactly the same things I did with gcc 4.9.2.  
Can anyone confirm this? Or maybe I’m totally wrong? Thanks.

---

_[View the full topic](https://root-forum.cern.ch/t/build-failure-with-gcc-5-1-0-trying-to-include-iostream-h/19363)._
