Missing ‘strverscmp’ Gnulib module

Simon Josefsson simon at josefsson.org
Tue Mar 30 22:00:54 CEST 2010


ludo at gnu.org (Ludovic Courtès) writes:

> Hi Simon,
>
> Simon Josefsson <simon at josefsson.org> writes:
>
>> ludo at gnu.org (Ludovic Courtès) writes:
>
>>> (You should really have a ‘bug-libtasn1’ mailing list.  :-))
>>
>> It is called gnutls-devel at gnu.org. ;) Maybe a bug-libtasn1 (or
>> help-libtasn1) list should be started, although there is some cost to
>> maintain yet another mailing list for me...  let's see how heavy the
>> libtasn1-specific traffic will be on gnutls-devel first.
>
> Or you could ask for an alias bug-libtasn1 at gnu.org ->
> gnutls-devel at gnu.org, for the sake of consistency with other GNU
> projects mailing list names.

Done, let's see if it works...

>>> Libtasn1 should use Gnulib’s ‘strverscmp’ module since that function is
>>> a GNU extension and is lacking on non-GNU platforms (e.g.,
>>> <http://hydra.nixos.org/build/336708>).
>>
>> Libtasn1 already uses that module, but didn't link to it...  Fixed as
>> below:
>>
>> http://git.savannah.gnu.org/cgit/libtasn1.git/commit/?id=ab67c9ada8549b03b3345b912362698355ef5a19
>
> Yeah, it fixes FreeBSD builds!  :-)

Great.

>> Let me know if you find any other portability issues.
>
> On Darwin:
>
> gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I..  -I../lib -I../gl -I../gl   -g -O2 -c Test_errors.c
> Test_errors.c: In function 'main':
> Test_errors.c:33: warning: 'libtasn1_strerror' is deprecated (declared at ../lib/libtasn1.h:319)
> Test_errors.c:34: warning: 'libtasn1_perror' is deprecated (declared at ../lib/libtasn1.h:324)
> /bin/sh ../libtool --tag=CC   --mode=link gcc -std=gnu99  -g -O2 -no-install  -o Test_errors Test_errors.o ../lib/libtasn1.la 
> libtool: link: warning: `-no-install' is ignored for i386-apple-darwin9.8.0
> libtool: link: warning: assuming `-no-fast-install' instead
> libtool: link: gcc -std=gnu99 -g -O2 -o .libs/Test_errors Test_errors.o  ../lib/.libs/libtasn1.dylib
> Undefined symbols:
>   "_libtasn1_strerror", referenced from:
>       _main in Test_errors.o
>   "_libtasn1_perror", referenced from:
>       _main in Test_errors.o
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> make[2]: *** [Test_errors] Error 1

Should be fixed now too.

> I can set up email notification if you want.

Yes, please do, send them to libtasn1-commit at gnu.org (which is a list
that exists).

Thanks,
/Simon





More information about the Gnutls-devel mailing list