Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I need to compile files using makedepend. The command is makedepend -v -I/usr/include/g++-3/ $(IFLAGS) -- $(CFLAGS) -- $(SRCS) which was given as part of the MakeFile (the MakeFile was not created by me). However When I run make depend in terminal I get cannot find include file "fstream.h" error. Considering that I have installed the latest boost_1_54_0 manually (from sourceforge) as well as through sudo apt-get install libboost-all-dev, I'm still getting the error that fstream.h is missing.

PS: I'm using Ubuntu 13.04

Another issue I'm having is that I don't have /usr/include/g++-3/ nor any g++ type of folder under /usr/include/, could this be due to the version of ubuntu I'm using? If so, how would I obtain it?

Thanks in advance...

share|improve this question
g++-3 is really old and I don't think fstream.h is part of any development package in Ubuntu (although mingw lists this file for backwards compatibility). What exactly are you trying to compile in the first place? It smells like really old stuff. –  gertvdijk Jul 24 '13 at 20:35
My old boost 1.46 has several fstream.hpp files, but they are are under /usr/include/boost/... –  ubfan1 Jul 24 '13 at 21:38
Thanks pals, I guess its a very old piece of code, I would need to look for an updated version! –  Issam Laradji Jul 25 '13 at 1:18
@IssamLaradji Well... please give us the big picture here. Why don't you include in your question what software this is you're trying to compile? Link to it, etc. Perhaps we can provide you with an answer that solves what you're trying to accomplish in the first place. –  gertvdijk Jul 25 '13 at 9:35
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.