Problem compiling with galib

harold ferus halharold at prodigy.net
Thu May 16 10:37:34 EDT 2002


> Sounds like the paths are not set up rt.

hal




> Problem compiling with galib
>
> ids ga galib at mit.edu
> Sat, 4 May 2002 05:12:36 -0700 (PDT)
>
>    * Next message: MDaemon Warning - Virus Found
>    * Actions: New   Reply
>    * Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
>
>   ------------------------------------------------------------------------
>
> 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
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Health - your guide to health and wellness
> http://health.yahoo.com
>
>   ------------------------------------------------------------------------
>
>    * Next message: MDaemon Warning - Virus Found
>    * Actions: New   Reply
>    * Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]




More information about the galib mailing list