<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
hi,<BR>
&nbsp;<BR>
ive just started using libGA. I cant compile the ga-test.c program.<BR>
I do it with this comand: gcc -lm -o ga-test ga-test.c<BR>
And it comes up with this error:<BR>
/tmp/ccSdTEwt.o: In function 'main':ga-test.c:(.text+0x2c):undefined reference to 'GA_config'<BR>
:ga-test.c:(.text+0x4c): undefined reference to 'X_select'<BR>
:ga-test.c:(.text+0x57): undefined reference to 'GA_run'<BR>
collect2: ld returned 1 exit status<BR>
&nbsp;<BR>
This is without any modifications to the program, i.e. just using what I downloaded.<BR>
Could you tell me why and explain these errors and how to fix it, please?<BR>
&nbsp;<BR>
THanks very much.<BR>
&nbsp;<BR>
C<RTE_TEXT></RTE_TEXT><BR><br /><hr />Win John Lewis vouchers with BigSnapSearch.com  <a href='http://clk.atdmt.com/UKM/go/117442309/direct/01/' target='_new'>Search now</a></body>
</html>