gpgme and libassuan problem.
Chris
chris.gilg at link-comm.com
Thu Feb 20 21:43:57 CET 2014
Chris <chris.gilg <at> link-comm.com> writes:
>
> I'm attempting to build this on Blackfin, and I'm running into a few issues.
> I've successfully built the required libraries.
>
> My application should link against the correct libraries with the below
command.
>
> -L../../../../staging/usr/lib -lgpg-error -lassuan -lgpgme
>
> My problem is I get this at link time:
>
> ../../../../staging/usr/lib/libgpgme.so: undefined reference to
> `_assuan_new_ext'
> ../../../../staging/usr/lib/libgpgme.so: undefined reference to
> `_assuan_release'
> ../../../../staging/usr/lib/libgpgme.so: undefined reference to
> `_assuan_socket_connect'
> ../../../../staging/usr/lib/libgpgme.so: undefined reference to
> `_assuan_read_line'
> ../../../../staging/usr/lib/libgpgme.so: undefined reference to
> `_assuan_write_line'
> ../../../../staging/usr/lib/libgpgme.so: undefined reference to
> `_assuan_send_data'
> ../../../../staging/usr/lib/libgpgme.so: undefined reference to
`_assuan_sendfd'
> ../../../../staging/usr/lib/libgpgme.so: undefined reference to
> `_assuan_get_active_fds'
> ../../../../staging/usr/lib/libgpgme.so: undefined reference to
> `_assuan_pending_line'
> ../../../../staging/usr/lib/libgpgme.so: undefined reference to
> `_assuan_ctx_set_system_hooks'
> ../../../../staging/usr/lib/libgpgme.so: undefined reference to
> `___assuan_socketpair'
> ../../../../staging/usr/lib/libgpgme.so: undefined reference to
> `___assuan_usleep'
> ../../../../staging/usr/lib/libgpgme.so: undefined reference to
> `_assuan_transact
>
> I was unable to find anything about gpgme complaining that it couldn't find
> undefined references to something that should exist in libassuan.
>
> Any help would be greatly appreciated. Thanks.
>
I'm still stuck on this.
I ran the nm command on libgpgme.so and the result I get is:
U _assuan_ctx_set_system_hooks
U _assuan_get_active_fds
U _assuan_new_ext
U _assuan_pending_line
U _assuan_read_line
U _assuan_release
U _assuan_send_data
U _assuan_sendfd
U _assuan_socket_connect
U _assuan_transact
U _assuan_write_line
I also did the same for the libassuan.so and the result I get(minus all the
other entries):
0000284c t _assuan_ctx_set_system_hooks
000043c0 t _assuan_get_active_fds
00002368 t _assuan_new_ext
00003a10 t _assuan_pending_line
00004278 t _assuan_read_line
00004278 t _assuan_release
00003f3c t _assuan_send_data
00003d0c t _assuan_sendfd
000070d8 t _assuan_socket_connect
00003788 t _assuan_transact
00003ec8 t _assuan_write_line
I've read that " *UND*(U) if the section is referenced in the file being
dumped, but not defined there."
According to that, it has the right requirements.
I'm not sure what else to try. Any tips would be greatly appreciated. Thanks.
More information about the Gnupg-devel
mailing list