Home > Gpg Error > Libgpg-error



ubuntu g++ install mime share|improve this question asked Dec 20 '13 at 20:55 Shoshinsha purogurama 265 add a comment| 2 Answers 2 active oldest votes up vote 1 down vote accepted Is it illegal for regular US citizens to possess or read documents published by Wikileaks? DO NOT EDIT. */ 2 : 3 : /* gpg-error.h - Public interface to libgpg-error. 4 : Copyright (C) 2003, 2004 g10 Code GmbH 5 : 6 : This file is You should have received a copy of the GNU Lesser General Public License along with this program; if not, see . */ #ifndef GPG_ERROR_H #define GPG_ERROR_H 1 #include #ifdef __GNUC__

It's not a particularly big list at this point. It shouldn't be used to prevent potential negative numbers when transmitting error values as text. */ /* GCC feature test. */ #undef _GPG_ERR_HAVE_CONSTRUCTOR #if __GNUC__ #define _GPG_ERR_GCC_VERSION (__GNUC__ * 10000 \ Reload to refresh your session. Already have an account?


Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] More information about the Gnupg-users mailing list Home | Content | Search | Navigation | This has only an effect on Windows platforms. */ /* The error source type gpg_err_source_t. Copyright (C) 2003, 2004, 2010 g10 Code GmbH This file is part of libgpg-error. This function is, in contrast to gpg_strerror, thread-safe if a thread-safe strerror_r() function is provided by the system.

FWIW, I'm the GMime author. –jstedfast Dec 26 '13 at 21:19 add a comment| up vote 1 down vote solved the problem so installed all that is possible in “libgmime” and This returns 0 if CODE is not a system error code. */ int gpg_err_code_to_errno (gpg_err_code_t code); /* Retrieve the error code directly from the ERRNO variable. Sign in. The 16th 500 : bit indicates system errors. */ 501 : #define GPG_ERR_CODE_MASK (GPG_ERR_CODE_DIM - 1) 502 : 503 : /* Bits 17 to 24 are reserved. */ 504 : 505

Error codes are 47 : exchanged between all components. jacknagel commented Nov 19, 2014 This happens because the flags in libgcrypt-config are (of course) generated at build-time, and then libgpg-error receives a subsequent version bump. It is #included by gpgme development files. http://hackage.haskell.org/package/bindings-gpgme-0.1/src/include/gpg-error.h Security Patch SUPEE-8788 - Possible Problems?

This function is not thread-safe. */ const char *gpg_strerror (gpg_error_t err); /* Return the error string for ERR in the user-supplied buffer BUF of size BUFLEN. I've started keeping a little text file of things that need bumps when other things are bumped; I don't know if it'd be any use to make it markdown & put A component of the GnuPG project can define the following macros to tune the behaviour of the library: GPG_ERR_SOURCE_DEFAULT: Define to an error source of type gpg_err_source_t to make that source gpgme was installed. > > I was hoping that someone could give a few ideas on what I could try > Make sure you have libgpg-error-devel installed (or in > neededforbuild


This returns 607 : GPG_ERR_UNKNOWN_ERRNO if the system error is not mapped (report 608 : this). */ 609 : gpg_err_code_t gpg_err_code_from_errno (int err); 610 : 611 : 612 : /* Retrieve This returns GPG_ERR_UNKNOWN_ERRNO if the system error is not mapped (report this). */ gpg_err_code_t gpg_err_code_from_errno (int err); /* Retrieve the system error for the error code CODE. Libgpg-error This function is not thread-safe. */ 588 : const char *gpg_strerror (gpg_error_t err); 589 : 590 : /* Return the error string for ERR in the user-supplied buffer BUF of 591 I checked /usr/include and the headers are all there, but no other sign of the library in my file system.

DomT4 commented Nov 18, 2014 It works okay here. ~> libgcrypt-config --libs --cflags [~] -I/usr/local/Cellar/libgcrypt/1.6.2/include -I/usr/local/Cellar/libgpg-error/1.17/include -L/usr/local/Cellar/libgcrypt/1.6.2/lib -lgcrypt -L/usr/local/Cellar/libgpg-error/1.17/lib -lgpg-error It seems possible/likely that you have an older libgpg-error linked. Personal Open source Business Explore Sign up Sign in Pricing Blog Support Search GitHub This repository Watch 16 Star 8 Fork 15 Chronic-Dev/libgpg-error Code Issues 0 Pull requests 0 Projects The common error codes and their user-presentable descriptions are kept into a shared library to allow adding new error codes and components without recompiling any of the other components. It is way more robust than gmime and it has a very thorough documentation. –Shoshinsha purogurama Dec 24 '13 at 9:46 More robust in what way?

We recommend upgrading to the latest Safari, Google Chrome, or Firefox. When compiling individual sources, you could do: g++ -o file.o -c file.cpp `pkg-config --cflags gmime-2.6` And then use pkg-config --libs gmime-2.6 for the final step. My answer above is in the GMime documentation: developer.gnome.org/gmime/stable/gmime-compiling.html. GPG_ERR_NO_ERROR 549 : : (((source & GPG_ERR_SOURCE_MASK) << GPG_ERR_SOURCE_SHIFT) 550 0 : | (code & GPG_ERR_CODE_MASK)); 551 : } 552 : 553 : 554 : /* The user should define GPG_ERR_SOURCE_DEFAULT

This function should be run early. */ 531 : gpg_error_t gpg_err_init (void) _GPG_ERR_CONSTRUCTOR; 532 : 533 : /* If this is defined, the library is already initialized by the 534 : Thanks again > > Shalom-Salam, > > Werner > > -- > Die Gedanken sind frei. Skip to content Ignore Learn more Please note that GitHub no longer supports old versions of Firefox.

If so, which chapter?

This returns 0 613 : if CODE is not a system error code. */ 614 : int gpg_err_code_to_errno (gpg_err_code_t code); 615 : 616 : 617 : /* Retrieve the error code Error codes are exchanged between all components. If the buffer was not 595 : large enough, ERANGE is returned and BUF contains as much of the 596 : beginning of the error string as fits into the buffer. Implementation of a generic List Why did my electrician put metal plates wherever the stud is drilled through?

De kio “saluton” estas la rekta objekto? When I try to compile the Cisco VPN password decryptor, I get: $ gcc -Wall -o cisco-decrypt cisco-decrypt.c $(libgcrypt-config --libs --cflags) In file included from cisco-decrypt.c:30: /usr/local/Cellar/libgcrypt/1.6.2/include/gcrypt.h:32:10: fatal error: 'gpg-error.h' file How should I deal with a difficult group and a DM that doesn't help? DomT4 commented Nov 20, 2014 @mikemcquaid Cheers.

Otherwise GPG_ERR_SOURCE_UNKNOWN is used as default. Skip to content Ignore Learn more Please note that GitHub no longer supports old versions of Firefox. If the function succeeds, 0 is returned and BUF contains the string describing the error. Thank you for pointing this out!

Related 112How do I install the OpenSSL C++ library on Ubuntu?231sqlite3-ruby install error on Ubuntu1Problem installing linkparser on Ubuntu 10351How to install lxml on Ubuntu3How to install a shared library on Reload to refresh your session. A workaround was to generate xml output from `swig -c++` and process this xml file. This function is the preferred way to set ERRNO due to peculiarities on WindowsCE. */ void gpg_err_set_errno (int err); @include extra-h.in /* Self-documenting convenience functions. */ static GPG_ERR_INLINE gpg_error_t gpg_err_make_from_errno (gpg_err_source_t

In it, you'll get: The week's top questions and answers Important community announcements Questions that need answers see an example newsletter By subscribing, you agree to the privacy policy and terms Within a 544 : subsystem, use gpg_error. */ 545 : static GPG_ERR_INLINE gpg_error_t 546 : gpg_err_make (gpg_err_source_t source, gpg_err_code_t code) 547 : { 548 : return code == GPG_ERR_NO_ERROR ? You signed in with another tab or window. more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed

TIA James < Previous Next > Thread Index Author Index Date Index All Messages Search this list List Navigation Overview Next Thread Previous Thread Top of the Page Feedback This Thread Browse other questions tagged ubuntu g++ install mime or ask your own question. As the error value is been passed from one component to 55 : another, it preserver the information about the source and nature 56 : of the error. 57 : 58 GPG_ERR_NO_ERROR : (((source & GPG_ERR_SOURCE_MASK) << GPG_ERR_SOURCE_SHIFT) | (code & GPG_ERR_CODE_MASK)); } /* The user should define GPG_ERR_SOURCE_DEFAULT before including this file to specify a default source for gpg_error. */ #ifndef

Terms Privacy Security Status Help You can't perform that action at this time. That is clearly a swig problem. > > To fix this you may run (a working) cpp over gpg-error.h and passing its > output to swig. ("cpp gpg-error.h >gpg-error.i") > Thank-you It seemed to work well, but then #include doesn't work (gmime.h not found).