[GRASS-user] grass link libraries
Markus Neteler
neteler at osgeo.org
Sun Oct 30 14:49:06 EDT 2011
On Thu, Oct 27, 2011 at 2:02 PM, Mohammed Rashad
<mohammedrashadkm at gmail.com> wrote:
> how to solve this error?
> which libraries to be linked
all GRASS libraries
> /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+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
>
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>
>
More information about the grass-user
mailing list