Hey All,<br><br>I&#39;m trying to create my own composite genome by modifying ex5.C from the GALib examples.  However, when I try to compile my code I&#39;m getting the following error:<br><br>g++ -g -Wall   -c -o my-compga.o my-compga.cpp<br>
g++ my-compga.o -o my-compga -L../../ga -lga -lm <br>my-compga.o: In function `CompositeGenome::equal(GAGenome const&amp;) const&#39;:<br>/galib247/my_code/comp-test/my-compga.cpp:118: undefined reference to `int operator==&lt;GA1DArrayAlleleGenome&lt;float&gt; &gt;(GA1DArrayAlleleGenome&lt;float&gt; const&amp;, GA1DArrayAlleleGenome&lt;float&gt; const&amp;)&#39;<br>
/galib247/my_code/comp-test/my-compga.cpp:118: undefined reference to `int operator==&lt;GABin2DecGenome&gt;(GABin2DecGenome const&amp;, GABin2DecGenome const&amp;)&#39;<br>collect2: ld returned 1 exit status<br>make: *** [my-compga] Error 1<br>
<br><br>Can anyone help with this?  I can&#39;t figure out what I&#39;ve done wrong.  Since my composite genome is part GABin2DecGenome, I didn&#39;t change anything with regard to that type from ex5.C, so the second error here is really confusing.<br>
<br>Thanks so much,<br>Francis<br>