D interface for C library problems

denizzzka 4denizzz at gmail.com
Mon Oct 15 08:52:27 PDT 2012


On Monday, 15 October 2012 at 11:37:22 UTC, Oleg wrote:

>
> I got error:
>
> In function `gpgme_error_from_syserror':
> src/main.d:(.text.gpgme_error_from_syserror+0x5): undefined 
> reference to `gpgme_err_code_from_syserror'
> --- errorlevel 1
> collect2: ld returned 1 exit status
>
> Anyone knows how to fix this?
>
> Thanks and sorry for my English.

I think you missed a library with err codes and functions. You 
should used -L compiler flag or pragma(lib, "nameoflib");


More information about the Digitalmars-d mailing list