[GRASS-dev] undefined reference to `G__gisinit(char const*, char const*)'

here is my make command

g++ -I/usr/lib/grass64/include grass.o -L/usr/lib/grass64/lib -lgrass_I -lgrass_Iortho -lgrass_arraystats -lgrass_bitmap -lgrass_btree -lgrass_cairodriver -lgrass_cdhc -lgrass_cluster -lgrass_datetime -lgrass_dbmibase -lgrass_dbmiclient -lgrass_dbmidriver -lgrass_dbstubs -lgrass_dgl -lgrass_dig2 -lgrass_display -lgrass_driver -lgrass_dspf -lgrass_edit -lgrass_form -lgrass_g3d -lgrass_gis -lgrass_gmath -lgrass_gpde -lgrass_gproj -lgrass_interpdata -lgrass_interpfl -lgrass_iostream -lgrass_ismap -lgrass_lidar -lgrass_linkm -lgrass_lrs -lgrass_manage -lgrass_nviz -lgrass_ogsf -lgrass_pngdriver -lgrass_psdriver -lgrass_qtree -lgrass_raster -lgrass_rli -lgrass_rowio -lgrass_rtree -lgrass_segment -lgrass_shape -lgrass_sim -lgrass_sites -lgrass_sqlp -lgrass_stats -lgrass_symb -lgrass_trans -lgrass_vask -lgrass_vect -lgrass_vedit -o wgrass

libgrass_gis is there but still error
/home/rashad/grass.cpp:5: undefined reference to `G__gisinit(char const*, char const*)’

Regards,