[GRASS-user] grass link libraries

Mohammed Rashad mohammedrashadkm at gmail.com
Thu Oct 27 08:02:04 EDT 2011


how to solve this error?
which libraries to be linked
/usr/bin/ld: /tmp/ccfh4ykU.o: in function main:main.cpp(.text+0x34): error:
undefined reference to 'G__gisinit(char const*, char const*)'
/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)'
/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)'
/usr/bin/ld: /tmp/ccfh4ykU.o: in function main:main.cpp(.text+0xac): error:
undefined reference to 'Vect_subst_var(char const*, Map_info*)'
/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*)'
/usr/bin/ld: /tmp/ccfh4ykU.o: in function main:main.cpp(.text+0xda): error:
undefined reference to 'db_begin_transaction(_db_driver*)'
/usr/bin/ld: /tmp/ccfh4ykU.o: in function main:main.cpp(.text+0xe9): error:
undefined reference to 'db_init_string(_db_string*)'
/usr/bin/ld: /tmp/ccfh4ykU.o: in function main:main.cpp(.text+0x138): error:
undefined reference to 'db_set_string(_db_string*, char const*)'
/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*)'
/usr/bin/ld: /tmp/ccfh4ykU.o: in function main:main.cpp(.text+0x198): error:
undefined reference to 'db_get_string(_db_string*)'
/usr/bin/ld: /tmp/ccfh4ykU.o: in function main:main.cpp(.text+0x1a8): error:
undefined reference to 'G_debug(int, char const*, ...)'
/usr/bin/ld: /tmp/ccfh4ykU.o: in function main:main.cpp(.text+0x1c2): error:
undefined reference to 'db_execute_immediate(_db_driver*, _db_string*)'
/usr/bin/ld: /tmp/ccfh4ykU.o: in function main:main.cpp(.text+0x1da): error:
undefined reference to 'db_close_database(_db_driver*)'
/usr/bin/ld: /tmp/ccfh4ykU.o: in function main:main.cpp(.text+0x1e9): error:
undefined reference to 'db_shutdown_driver(_db_driver*)'
/usr/bin/ld: /tmp/ccfh4ykU.o: in function main:main.cpp(.text+0x1fb): error:
undefined reference to 'Vect_delete(char const*)'
/usr/bin/ld: /tmp/ccfh4ykU.o: in function main:main.cpp(.text+0x20a): error:
undefined reference to 'Vect_hist_command(Map_info*)'
/usr/bin/ld: /tmp/ccfh4ykU.o: in function main:main.cpp(.text+0x216): error:
undefined reference to 'G_get_window(Cell_head*)'
/usr/bin/ld: /tmp/ccfh4ykU.o: in function main:main.cpp(.text+0x225): error:
undefined reference to 'Vect_build(Map_info*)'
/usr/bin/ld: /tmp/ccfh4ykU.o: in function main:main.cpp(.text+0x234): error:
undefined reference to 'Vect_close(Map_info*)'
collect2: ld returned 1 exit status


-- 
Regards,
   Mohammed Rashad K M
   M.S. (By Research) student
   Lab for Spatial Informatics
   Department of CSE
   International Institute of Information Technology
   Hyderabad, India
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20111027/415592c5/attachment.html


More information about the grass-user mailing list