compilation error in standard header fpos.h in gcc 3.2.2
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
compilation error in standard header fpos.h in gcc 3.2.2
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? Any help would be greatly appreciated. I actually am in desperate need for help!
Linux version 2.4.25master (root@master) (gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5))
I'm trying to install a package for statistical natural language processing training. Its called GenPar. Hope that information helps. Has anyone heard of this error before?
If it is at all possible, I'd recommend upgrading to Fedora Core rather than continuing to use RedHat. The official RedHat distribution is no longer in production, and no longer supported by RedHat. Fedora Core is essentially RedHat, just not officially maintained by the RedHat company itself.
If this isn't possible, you could always try editing line 60 in fpos.h to correct whatever it is that GCC is complaining about.
Honestly though, upgrading the entire distribution is probably your best bet. RedHat has been "deprecated" for some time now, and that is not going to change.
Originally posted by Maestro485 Honestly though, upgrading the entire distribution is probably your best bet. RedHat has been "deprecated" for some time now, and that is not going to change.
Whoa... hold on a sec. RedHat personal may have moved along to FedoraCore, but RedHat Enterprise is very much alive and well. Assuming he's using Enterprise and not a horribly outdated version of RedHat personal then it's probably modern. Otherwise, I would agree: update
I'm not knowledgeable about the bug foo_bar_foo references, but my first question would be: how are you installing it? Are there step-by-step instructions (configure, make, make install) or is this a custom job? I haven't searched for the package to look over it yet. If it's a custom sequence of commands, it'd be helpful to see what commands you're issuing to compile.
Well, I cannot upgrade to Fedora (I just have and account on that machine).. As for the instructions, Im simply following instructions on the documentation of the package (after setting all the variables and stuff, its a simple "make all"!)..
Is it something to do with the gcc? I will send an email to gcc-help@gnu.org, just in case... But please do reply if you have any solutions though... Thanks a lot!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.