[Top][All Lists]

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

Re: Missing ‘strverscmp’ Gnulib module

From: Ludovic Courtès
Subject: Re: Missing ‘strverscmp’ Gnulib module
Date: Tue, 30 Mar 2010 18:43:37 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

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.

>> 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:

--8<---------------cut here---------------start------------->8---
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I..  -I../lib -I../gl -I../gl   -g -O2 -c 
Test_errors.c: In function 'main':
Test_errors.c:33: warning: 'libtasn1_strerror' is deprecated (declared at 
Test_errors.c:34: warning: 'libtasn1_perror' is deprecated (declared at 
/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  
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
--8<---------------cut here---------------end--------------->8---

(From <>.)

I can set up email notification if you want.


reply via email to

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