First issue Fixed : I needed to add
-lwx_gtk2u_aui-2.9 -lwx_gtk2u_stc-2.9 to the compile/linking line (i need to change the bkl file like is done for windows with 29 system libs added)
Second issue Fixed:
I investigate this error now when i fetch data from a table in the grid