[Top][All Lists]

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

Re: Missing ‘strverscmp’ Gnulib module

From: Simon Josefsson
Subject: Re: Missing ‘strverscmp’ Gnulib module
Date: Tue, 30 Mar 2010 22:00:54 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux)

address@hidden (Ludovic Courtès) writes:

> Hi Simon,
> Simon Josefsson <address@hidden> writes:
>> address@hidden (Ludovic Courtès) writes:
>>> (You should really have a ‘bug-libtasn1’ mailing list.  :-))
>> It is called address@hidden ;) 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 address@hidden ->
> address@hidden, 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.,
>>> <>).
>> Libtasn1 already uses that module, but didn't link to it...  Fixed as
>> below:
> Yeah, it fixes FreeBSD builds!  :-)


>> 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/ 
> 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 address@hidden (which is a list
that exists).


reply via email to

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