help-gsasl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Possible issue with static win32 gsasl


From: Lothar May
Subject: Re: Possible issue with static win32 gsasl
Date: Tue, 5 Oct 2010 22:33:17 +0200

Hi Simon,

2010/10/4 Simon Josefsson <address@hidden>:
(snip)
> It was a typo, try looking at this archive now:
>
> http://alpha.gnu.org/gnu/gsasl/gsasl-1.5.2-x64.zip
> http://alpha.gnu.org/gnu/gsasl/gsasl-1.5.2-x64.zip.sig
>
> Be sure to make sure you aren't getting a stale cached copy.
>
> 4109b0cf5bcbb7e6292a01e9413fb5818182000e  gsasl-1.5.2-x64.zip
> 6838836f6f37be56ee0ba63edbd7bcfc0732e3bd2a05606edc48e5d8  gsasl-1.5.2-x64.zip
>

Thanks. I tested using the simple client.c from
http://www.gnu.org/software/gsasl/doxygen/
I use the mingw-w64 build of http://tdm-gcc.tdragon.net/ which is
"kind of" an official mingw-w64 release.

Using static linking of gsasl (removing the other files from the lib
directory) I get errors:

-- cut here --
C:\Projects\pokerth_mingw64\gsasl\examples>gcc -I..\include -L..\lib client.c -l
gsasl -o client
c:/projects/pokerth_mingw64/mingw/bin/../lib/gcc/x86_64-w64-mingw32/4.5.1/../../
../../x86_64-w64-mingw32/bin/ld.exe: Dwarf Error: Offset (7872) greater than or
equal to .debug_abbrev size (601).
..\lib/libgsasl.a(vasnprintf.o):vasnprintf.c:(.text+0x96): undefined reference t
o `___chkstk'
collect2: ld returned 1 exit status
-- cut here --

Using the DLL seems to work fine, output is:
-- cut here --
C:\Projects\pokerth_mingw64\gsasl\examples>client
Output:
AGphcwBzZWNyZXQ=

If server accepted us, we're done.
-- cut here --

Best regards,
Lothar



reply via email to

[Prev in Thread] Current Thread [Next in Thread]