#3 Problem compiling geneserver 0.2

open
nobody
None
5
2014-11-29
2004-12-26
Pierre
No

# make
make all-recursive
make[1]: Entering directory `/tmp/geneserver-0.2'
Making all in geneserver
make[2]: Entering directory
`/tmp/geneserver-0.2/geneserver'
Making all in docs
make[3]: Entering directory
`/tmp/geneserver-0.2/geneserver/docs'
Making all in en
make[4]: Entering directory
`/tmp/geneserver-0.2/geneserver/docs/en'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory
`/tmp/geneserver-0.2/geneserver/docs/en'
make[4]: Entering directory
`/tmp/geneserver-0.2/geneserver/docs'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory
`/tmp/geneserver-0.2/geneserver/docs'
make[3]: Leaving directory
`/tmp/geneserver-0.2/geneserver/docs'
make[3]: Entering directory
`/tmp/geneserver-0.2/geneserver'
g++ -DHAVE_CONFIG_H -I. -I. -I.. -s -O3 -march=i686
-c genome.cpp
In file included from genome.cpp:18:
genome.h:24:20: hash_map: No such file or directory
In file included from chromosome.h:23,
from genome.h:27,
from genome.cpp:18:
gene.h:30: error: expected `)' before "gene"
gene.h:36: error: ISO C++ forbids declaration of
`string' with no type
gene.h:36: error: expected `;' before '&' token
gene.h:38: error: `string' has not been declared
gene.h:38: error: ISO C++ forbids declaration of
`_gene' with no type
gene.h:44: error: `string' does not name a type
In file included from genome.h:27,
from genome.cpp:18:
chromosome.h:41: error: `string' does not name a type
chromosome.h:43: error: `string' has not been declared
chromosome.h:43: error: ISO C++ forbids declaration of
`chromosomeString' with no type
chromosome.h:51: error: ISO C++ forbids declaration of
`vector' with no type
chromosome.h:51: error: expected `;' before '<' token
In file included from genome.cpp:18:
genome.h:45: error: `string' does not name a type
genome.h:65: error: `string' does not name a type
genome.h:85: error: ISO C++ forbids declaration of
`hash_map' with no type
genome.h:85: error: expected `;' before '<' token
genome.h:86: error: ISO C++ forbids declaration of
`vector' with no type
genome.h:86: error: expected `;' before '<' token
genome.h:89: error: ISO C++ forbids declaration of
`vector' with no type
genome.h:89: error: expected `;' before '<' token
In file included from genome.cpp:19:
gfile.h:47: error: `string' has not been declared
gfile.h:47: error: ISO C++ forbids declaration of
`genome' with no type
gfile.h:51: error: `string' does not name a type
gfile.h:85: error: `string' does not name a type
genome.cpp:28: error: expected constructor, destructor,
or type conversion before '<' token
genome.cpp:28: error: expected `,' or `;' before '<' token
genome.cpp:29: error: expected constructor, destructor,
or type conversion before '<' token
genome.cpp:29: error: expected `,' or `;' before '<' token
genome.cpp: In destructor `Genome::~Genome()':
genome.cpp:36: error: `chromosomes' undeclared (first
use this function)
genome.cpp:36: error: (Each undeclared identifier is
reported only once for each function it appears in.)
genome.cpp: In static member function `static void
Genome::printConfig()':
genome.cpp:42: error: `hash_map' undeclared (first use
this function)
genome.cpp:42: error: expected primary-expression
before "char"
genome.cpp:42: error: expected `;' before "char"
genome.cpp:42: error: `cfgIt' undeclared (first use
this function)
genome.cpp:42: error: `config' undeclared (first use
this function)
genome.cpp:43: error: `cout' undeclared (first use this
function)
genome.cpp:43: error: `endl' undeclared (first use this
function)
genome.cpp:46: error: `chromosomeFormat' undeclared
(first use this function)
genome.cpp: In static member function `static void
Genome::loadConfig()':
genome.cpp:54: error: `string' undeclared (first use
this function)
genome.cpp:54: error: expected `;' before "line"
genome.cpp:55: error: expected `;' before "config_file"
genome.cpp:56: error: `ifstream' undeclared (first use
this function)
genome.cpp:56: error: expected `;' before "cfg"
genome.cpp:57: error: `cfg' undeclared (first use this
function)
genome.cpp:58: error: `cout' undeclared (first use this
function)
genome.cpp:58: error: `config_file' undeclared (first
use this function)
genome.cpp:58: error: `endl' undeclared (first use this
function)
genome.cpp:65: error: `line' undeclared (first use this
function)
genome.cpp:68: error: `string' has not been declared
genome.cpp:68: error: `size_type' undeclared (first use
this function)
genome.cpp:68: error: expected `;' before "sep"
genome.cpp:69: error: `sep' undeclared (first use this
function)
genome.cpp:69: error: `string' has not been declared
genome.cpp:69: error: `npos' undeclared (first use this
function)
genome.cpp:74: error: expected `;' before "chromdef"
genome.cpp:75: error: `string' has not been declared
genome.cpp:75: error: expected `;' before "chromedefsep"
genome.cpp:77: error: `chromdef' undeclared (first use
this function)
genome.cpp:77: error: `chromedefsep' undeclared (first
use this function)
genome.cpp:79: error: `chromosomeFormat' undeclared
(first use this function)
genome.cpp:81: error: `config' undeclared (first use
this function)
genome.cpp: At global scope:
genome.cpp:87: error: `string' does not name a type
genome.cpp: In member function `void Genome::save()':
genome.cpp:96: error: `string' undeclared (first use
this function)
genome.cpp:96: error: expected `;' before "genomeString"
genome.cpp:97: error: `chromosomes' undeclared (first
use this function)
genome.cpp:98: error: `genomeString' undeclared (first
use this function)
genome.cpp: In member function `void Genome::load(int)':
genome.cpp:108: error: `string' undeclared (first use
this function)
genome.cpp:108: error: expected `;' before "genomeString"
genome.cpp:109: error: `chromosomes' undeclared (first
use this function)
genome.cpp:111: error: `chromosomeFormat' undeclared
(first use this function)
genome.cpp:113: error: expected `;' before
"chromosomeString"
genome.cpp:115: error: `chromosomeString' undeclared
(first use this function)
genome.cpp: In member function `void
Genome::generate(int)':
genome.cpp:123: error: `chromosomes' undeclared (first
use this function)
genome.cpp:124: error: `chromosomeFormat' undeclared
(first use this function)
genome.cpp: In member function `Genome*
Genome::mate(Genome*)':
genome.cpp:141: error: `chromosomes' undeclared (first
use this function)
genome.cpp:142: error: 'class Genome' has no member
named 'chromosomes'
genome.cpp:142: error: 'class Genome' has no member
named 'chromosomes'
genome.cpp:143: error: 'class Genome' has no member
named 'chromosomes'
genome.cpp: In constructor `Genome::Genome(Genome*)':
genome.cpp:151: error: `chromosomes' undeclared (first
use this function)
genome.cpp:152: error: `chromosomeFormat' undeclared
(first use this function)
genome.cpp:153: error: `string' undeclared (first use
this function)
genome.cpp:153: error: expected `;' before "cString"
genome.cpp:154: error: `cString' undeclared (first use
this function)
genome.cpp: At global scope:
genome.cpp:164: error: `string' does not name a type
make[3]: *** [genome.o] Error 1
make[3]: Leaving directory `/tmp/geneserver-0.2/geneserver'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/geneserver-0.2/geneserver'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/geneserver-0.2'
make: *** [all-recursive-am] Error 2

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks