This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFU] libgcrypt-1.4.1-1


Gergely Budai wrote:

> Package location:
> =================
> wget \
>   http://home.arcor.de/thuffir/cygwin/libgcrypt/libgcrypt-1.4.1-1-src.tar.bz2 \
>   http://home.arcor.de/thuffir/cygwin/libgcrypt/libgcrypt-1.4.1-1.tar.bz2

This package is broken -- the import lib and static lib have been
stripped which removes their symbol tables and renders them useless.

Testcase:

$ cat >foo.c <<EOF
#include <gcrypt.h>
int main() { return !gcry_check_version (NULL); }
EOF

$ gcc -o foo foo.c `libgcrypt-config --cflags --libs`
/tmp/ccTal48j.o:foo.c:(.text+0x32): undefined reference to `_gcry_check_version'
collect2: ld returned 1 exit status

$ nm /usr/lib/libgcrypt.dll.a

d000187.o:
nm: d000187.o: no symbols

d000000.o:
nm: d000000.o: no symbols

...

d000002.o:
nm: d000002.o: no symbols

d000001.o:
nm: d000001.o: no symbols

$ nm /usr/lib/libgcrypt.a 

libgcrypt_la-visibility.o:
nm: libgcrypt_la-visibility.o: no symbols

libgcrypt_la-misc.o:
nm: libgcrypt_la-misc.o: no symbols

...

mpih-sub1-asm.o:
nm: mpih-sub1-asm.o: no symbols

mpiutil.o:
nm: mpiutil.o: no symbols

The [prev] version 1.4.0-1 is OK; the above commands work.

Brian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]