Problem for compiling software that I downloaded
From: takashi (twakeshi_at_telus.net)
Date: 07/30/03
- Next message: sage: "Re: How to update Kernel"
- Previous message: Peter T. Breuer: "Re: can't start X session as normal user anymore..."
- Next in thread: Moonlit: "Re: Problem for compiling software that I downloaded"
- Reply: Moonlit: "Re: Problem for compiling software that I downloaded"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 30 Jul 2003 21:59:31 GMT
Hi, I am having trouble to compile some of the softwares that I
downloaded off the internet. I have gcc-3.2.2-5 that came with redhat9.
When I uncompressed some tar files (e.g tar xzvf <filename.tar.gz>),and
used the command "make" in that folder, I have got the message that
> In file included from /usr/include/c++/3.2.2/backward/iostream.h:31,
> from common.h:32,
> from csound.cc:20: >
/usr/include/c++/3.2.2/backward/backward_warning.h:32:2: warning:
#warning This
> file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples
> include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning
> use -Wno-deprecated.
> In file included from /usr/include/c++/3.2.2/i386-redhat-linux/bits/c++locale.h:39
So I looked into some files, and foud the file called common.h that
contains:
> #include <stdlib.h>
> #include <stdio.h>
> #include <string.h>
> #include <time.h>
> #include <gnome.h>
> #include <iostream.h>
> #include <fstream.h>
> #include <math.h>
> #include "config.h"
So I thought that I can just make it like
> #include <stdlib.h>
> #include <stdio.h>
> #include <string>
> #include <time.h>
> #include <gnome.h>
> #include <iostream>
> #include <fstream>
> #include <cmath> //this has been changed from <math.h> to <cmath>
> #include "config.h"
> using namespace std;
When I used "make" again, it again gave me some error message like
-g -O2 -c csound.cc
In file included from
/usr/include/c++/3.2.2/i386-redhat-linux/bits/c++locale.h:39,
from /usr/include/c++/3.2.2/bits/localefwd.h:46,
from /usr/include/c++/3.2.2/ios:48,
from /usr/include/c++/3.2.2/ostream:45,
from /usr/include/c++/3.2.2/iostream:45,
from common.h:32,
from csound.cc:20:
/usr/include/libintl.h:40: parse error before `__const'
/usr/include/libintl.h:44: parse error before `__const'
/usr/include/libintl.h:52: parse error before `__const'
/usr/include/libintl.h:81: parse error before `__const'
/usr/include/libintl.h:86: parse error before `__const'
make[2]: *** [csound.o] Error 1
Do you think I am on the right track? I am wondering if I can install
older version of gcc compiler, so that I would not see this sort of
problems.
I really appreciate if you could give me any suggestions on this.
Thank you, and have a good day.
- Next message: sage: "Re: How to update Kernel"
- Previous message: Peter T. Breuer: "Re: can't start X session as normal user anymore..."
- Next in thread: Moonlit: "Re: Problem for compiling software that I downloaded"
- Reply: Moonlit: "Re: Problem for compiling software that I downloaded"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|