After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 671196 - build: link against libgcrypt if required
build: link against libgcrypt if required
Status: RESOLVED FIXED
Product: totem-pl-parser
Classification: Core
Component: General
unspecified
Other All
: Normal normal
: ---
Assigned To: totem-pl-parser-maint
totem-pl-parser-maint
Depends on:
Blocks:
 
 
Reported: 2012-03-02 08:58 UTC by Frederic Peters
Modified: 2012-03-02 12:50 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
build: link against libgcrypt if required (1000 bytes, patch)
2012-03-02 08:58 UTC, Frederic Peters
none Details | Review

Description Frederic Peters 2012-03-02 08:58:21 UTC
AmazonAMZ decoding with libgcrypt enabled gets to this build error, as
totem-pl-parser is not linked against libgcrypt.

  CC     parser-parser.o
  CCLD   disc
../.libs/libtotem-plparser.so: error: undefined reference to 'gcry_cipher_open'
../.libs/libtotem-plparser.so: error: undefined reference to 'gcry_strerror'
../.libs/libtotem-plparser.so: error: undefined reference to 'gcry_cipher_setkey'
../.libs/libtotem-plparser.so: error: undefined reference to 'gcry_cipher_close'
../.libs/libtotem-plparser.so: error: undefined reference to 'gcry_cipher_setiv'
../.libs/libtotem-plparser.so: error: undefined reference to 'gcry_cipher_decrypt'
collect2: ld returned 1 exit status
make[4]: *** [disc] Error 1
Comment 1 Frederic Peters 2012-03-02 08:58:23 UTC
Created attachment 208840 [details] [review]
build: link against libgcrypt if required
Comment 2 Bastien Nocera 2012-03-02 12:50:24 UTC
Fixed slightly differently, please reopen if it still fails.

commit 215006e0d4d0368d4cb27e0f7369137944091c2d
Author: Bastien Nocera <hadess@hadess.net>
Date:   Fri Mar 2 12:49:42 2012 +0000

    build: Fix compilation with libgcrypt
    
    https://bugzilla.gnome.org/show_bug.cgi?id=671196