how to solve this error?<div>which libraries to be linked<br clear="all"><div><div>/usr/bin/ld: /tmp/ccfh4ykU.o: in function main:main.cpp(.text+0x34): error: undefined reference to 'G__gisinit(char const*, char const*)'</div>
<div>/usr/bin/ld: /tmp/ccfh4ykU.o: in function main:main.cpp(.text+0x61): error: undefined reference to 'Vect_open_new(Map_info*, char const*, int)'</div><div>/usr/bin/ld: /tmp/ccfh4ykU.o: in function main:main.cpp(.text+0x88): error: undefined reference to 'Vect_default_field_info(Map_info*, int, char const*, int)'</div>
<div>/usr/bin/ld: /tmp/ccfh4ykU.o: in function main:main.cpp(.text+0xac): error: undefined reference to 'Vect_subst_var(char const*, Map_info*)'</div><div>/usr/bin/ld: /tmp/ccfh4ykU.o: in function main:main.cpp(.text+0xc4): error: undefined reference to 'db_start_driver_open_database(char const*, char const*)'</div>
<div>/usr/bin/ld: /tmp/ccfh4ykU.o: in function main:main.cpp(.text+0xda): error: undefined reference to 'db_begin_transaction(_db_driver*)'</div><div>/usr/bin/ld: /tmp/ccfh4ykU.o: in function main:main.cpp(.text+0xe9): error: undefined reference to 'db_init_string(_db_string*)'</div>
<div>/usr/bin/ld: /tmp/ccfh4ykU.o: in function main:main.cpp(.text+0x138): error: undefined reference to 'db_set_string(_db_string*, char const*)'</div><div>/usr/bin/ld: /tmp/ccfh4ykU.o: in function main:main.cpp(.text+0x189): error: undefined reference to 'Vect_map_add_dblink(Map_info*, int, char const*, char const*, char const*, char const*, char const*)'</div>
<div>/usr/bin/ld: /tmp/ccfh4ykU.o: in function main:main.cpp(.text+0x198): error: undefined reference to 'db_get_string(_db_string*)'</div><div>/usr/bin/ld: /tmp/ccfh4ykU.o: in function main:main.cpp(.text+0x1a8): error: undefined reference to 'G_debug(int, char const*, ...)'</div>
<div>/usr/bin/ld: /tmp/ccfh4ykU.o: in function main:main.cpp(.text+0x1c2): error: undefined reference to 'db_execute_immediate(_db_driver*, _db_string*)'</div><div>/usr/bin/ld: /tmp/ccfh4ykU.o: in function main:main.cpp(.text+0x1da): error: undefined reference to 'db_close_database(_db_driver*)'</div>
<div>/usr/bin/ld: /tmp/ccfh4ykU.o: in function main:main.cpp(.text+0x1e9): error: undefined reference to 'db_shutdown_driver(_db_driver*)'</div><div>/usr/bin/ld: /tmp/ccfh4ykU.o: in function main:main.cpp(.text+0x1fb): error: undefined reference to 'Vect_delete(char const*)'</div>
<div>/usr/bin/ld: /tmp/ccfh4ykU.o: in function main:main.cpp(.text+0x20a): error: undefined reference to 'Vect_hist_command(Map_info*)'</div><div>/usr/bin/ld: /tmp/ccfh4ykU.o: in function main:main.cpp(.text+0x216): error: undefined reference to 'G_get_window(Cell_head*)'</div>
<div>/usr/bin/ld: /tmp/ccfh4ykU.o: in function main:main.cpp(.text+0x225): error: undefined reference to 'Vect_build(Map_info*)'</div><div>/usr/bin/ld: /tmp/ccfh4ykU.o: in function main:main.cpp(.text+0x234): error: undefined reference to 'Vect_close(Map_info*)'</div>
<div>collect2: ld returned 1 exit status</div></div><div><br></div><div><br></div>-- <br><div><font face="arial, helvetica, sans-serif">Regards,</font></div><font face="arial, helvetica, sans-serif"> Mohammed Rashad K M</font><div>
<font face="arial, helvetica, sans-serif"> M.S. (By Research) student<br> Lab for Spatial Informatics<br> Department of CSE<br> International Institute of Information Technology</font></div><div><font face="arial, helvetica, sans-serif"> Hyderabad, India</font></div>
<br>
</div>