problem when compiling GALIB
viji
ktsviji at yahoo.com
Thu Aug 8 04:59:59 EDT 2002
Hi,
I am a student doing post graduate in Computerscience and Engg in coimbatore.
I am doing my project in "Genetic algorithm for real time multiprocessor scheduling"
which is research level.
I got this valuable package GALib. But since i new to this linux, I can't rectify
compilation error. I went mailing list archieve and i got the following error which is
exactly i got. But i coundn't find the remedy for that. So i send the same mail to
you . Please help me.
galib version number: 2.4.5
machine type: Intel pIII
os and version : Red Hat Linux 7.2
Compiler: g++
Give me the step by step installation instruction(request).
// The mail which i got from the mailing archieve is follows
<!--StartFragment-->Hello,
We installed GAlib 2.4.5 on our caldera linux machine
2.4.2. We tried compiling the ex17.C file using g++
version 2.95.2.
But we are getting a pageful of "undefined reference"
errors like:
/tmp/cceUgrZ5.o: In function `main':
/tmp/cceUgrZ5.o(.text+0x14e): undefined reference to
`GAGenome::initializer(void (*)(GAGenome &))'
/tmp/cceUgrZ5.o(.text+0x168): undefined reference to
`GAGenome::mutator(int (*)(GAGenome &, float))'
/tmp/cceUgrZ5.o(.text+0x182): undefined reference to
`GAGenome::crossover(int (*)(GAGenome const &,
GAGenome const &, GAGenome *, GAGenome *))'
/tmp/cceUgrZ5.o(.text+0x19e): undefined reference to
`GASteadyStateGA::GASteadyStateGA(GAGenome const &)'
/tmp/cceUgrZ5.o(.text+0x1aa): undefined reference to
`gaDefSigmaTruncationMultiplier'
/tmp/cceUgrZ5.o(.text+0x1bc): undefined reference to
`GASigmaTruncationScaling::GASigmaTruncationScaling(float)'
/tmp/cceUgrZ5.o(.text+0x1d5): undefined reference to
`GASteadyStateGA::scaling(GAScalingScheme const &)'
/tmp/cceUgrZ5.o(.text+0x1ee): undefined reference to
`GAGeneticAlgorithm::set(char const *, int)'
/tmp/cceUgrZ5.o(.text+0x20e): undefined reference to
`GAGeneticAlgorithm::set(char const *, double)'
/tmp/cceUgrZ5.o(.text+0x22e): undefined reference to
`GAGeneticAlgorithm::set(char const *, double)'
.
.
.
.
Could anyone please suggest a solution to this
problem.
Thank you
Jaykumar
Anubhav
Manish
Sumeet
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Thanx in advance.
viji
---------------------------------
Do You Yahoo!?
HotJobs, a Yahoo! service - Search Thousands of New Jobs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/galib/attachments/20020808/2dd4e0a4/attachment.htm
More information about the galib
mailing list