[galib] Compile GALib on Unix machine.
Miguel Nicolau
Miguel.Nicolau at ul.ie
Tue Mar 28 12:24:15 EST 2006
Hi Lei,
I came across that problem before. Edit the file ga/gaconfig.h (line
368) and change:
#if __GNUC__ == 3
to
#if __GNUC__ >= 3
That should (hopefully) do the trick.
Lei Li wrote:
> Hi there,
>
> I downloaded galib246 from the website. When I tried to compile it using
> “make test”, I got following errors:
>
>
> -------------------------------------------------------------------------------------------------------------------------------------------------
>
> g++ -g -Wall -I.. -c GAAllele.C
>
> In file included from
> /usr/lib/gcc/i386-redhat-linux/4.0.0/../../../../include/c++/4.0.0/backward/iostream.h:31,
>
> from ../ga/std_stream.h:17,
>
> from ../ga/GAAllele.h:18,
>
> from GAAllele.C:15:
>
> /usr/lib/gcc/i386-redhat-linux/4.0.0/../../../../include/c++/4.0.0/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 <iostream> instead
> of the deprecated header <iostream.h>. To disable this warning use
> -Wno-deprecated.
>
> ../ga/GAAllele.h:147: error: declaration of âoperator==â as non-function
>
> ../ga/GAAllele.h:147: error: expected â;â before â<â token
>
> ../ga/GAAllele.h:148: error: declaration of âoperator!=â as non-function
>
> ../ga/GAAllele.h:148: error: expected â;â before â<â token
>
> make[1]: *** [GAAllele.o] Error 1
>
> make[1]: Leaving directory `/home/lli4/Grid/galib246/ga'
>
> make: *** [lib] Error 2
>
> -----------------------------------------------------------------------------------------------------------------------------------------
>
>
>
> My OS is Fedora Core 4.0.
>
> g++ version 4.0
>
>
>
> Could anybody give me some clues what’s going on? Any help is highly
> appreciated.
>
>
>
> Thanks,
>
> *************************************
>
> Lei Li
>
> Ph.D. Candidate
>
> Computer Information System
>
> Georgia State University
>
> http://www.cis.gsu.edu/~lli
>
> *************************************
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> galib mailing list
> galib at mit.edu
> http://mailman.mit.edu/mailman/listinfo/galib
More information about the galib
mailing list