As a fast shot, try to install a newer (different) version of gcc, as I assume, since you found similar errors, this might be a problem with the version of gcc On the other hand this error might also be connected to the package you are trying to install or to something else you are trying to do. Possibly check the dependencies and/or version updates for the packages you try to install. If you really want to hunt the error you have to be more specific about what files had produced the error, what where the compiler arguments and how is this error reproducable with some example code that contains not much more than the code which produces the error. Am Samstag, 10. Dezember 2005 10:26 schrieb Mohamed Ghorab: > Dear Sir, > > I am a student at the American University in Cairo, and I am facing > some problems with the gcc version 3.2.2. When installing a package on > linux, it tries to compile some files but outputs the following error: > > /usr/include/c++/3.2.2/bits/fpos.h:60: 'streamoff' is used as a type, > but is not defined as a type. > > > This error is followed by many other errors (but I found the same > combination of errors a lot when trying to search for a solution on > google). I was wondering what the problem was and if there was a known > solution to it? Here are the contents of the /proc/version file, just > in case you need to know the version: > > Linux version 2.4.25master (root@master) (gcc version 3.2.2 20030222 > (Red Hat Linux 3.2.2-5)) > > Any help would be greatly appreciated. > > Thank you for your time, > Mohamed Ghorab