gpgme-0.3.9 compile error on HP-UX 11.x: sys/select.h not found
Marcus Brinkmann
Marcus.Brinkmann at ruhr-uni-bochum.de
Thu Sep 19 16:38:02 CEST 2002
On Wed, Sep 18, 2002 at 06:44:10AM +0200, lassmann at freenet.de wrote:
> Hi,
>
> I've tried to compile gpgme-0.3.9 but in ath.c there is an
> include <sys/select.h> which can't be resolved because
> there is no select.h on HP-UX 11.00 (neither on 11i).
> I've checked in CVS that in ath.c rev. 1.1 the problem is
> the same.
> Do you mean time.h? It compiles fine if I use time.h instead.
No, POSIX 1003.1-2002 mandates sys/select.h and its inclusion if you
want to use select(). But apparently HP-UX 11.00 is following an older
version of the SuS standard (v2?), which had sys/time.h. I will write an
autoconf check for both and include them both.
> BTW - linking libgpgme.la also fails:
> /usr/bin/bash ../libtool --mode=link gcc -g -O2 -Wall -Wcast-align -Wshadow -Wstrict-prototypes -o libgpgme.la -rpath /usr/local/lib -version-info 9:0:3 util.lo data.lo recipient.lo signers.lo wait.lo op-support.lo encrypt.lo encrypt-sign.lo decrypt.lo decrypt-verify.lo verify.lo sign.lo passphrase.lo progress.lo key.lo keylist.lo trustlist.lo import.lo export.lo genkey.lo delete.lo edit.lo rungpg.lo engine-gpgsm.lo engine.lo ath.lo ath-pthread.lo posix-util.lo posix-sema.lo posix-io.lo debug.lo gpgme.lo version.lo errors.lo stpcpy.o vasprintf.o fopencookie.o
> libtool: link: cannot build libtool library `libgpgme.la' from non-libtool objects on this host: stpcpy.o vasprintf.o fopencookie.o
> make[3]: *** [libgpgme.la] Error 1
> make[3]: Leaving directory `/stripeset/usr/local/src/gpgme-0.3.9/gpgme'
>
> I've checked that e.g. stpcpy.o has been built, so I have no
> idea what went wrong.
This should be fixed in CVS.
Thanks,
Marcus
--
`Rhubarb is no Egyptian god.' GNU http://www.gnu.org marcus at gnu.org
Marcus Brinkmann The Hurd http://www.gnu.org/software/hurd/
Marcus.Brinkmann at ruhr-uni-bochum.de
http://www.marcus-brinkmann.de/
More information about the Gnupg-devel
mailing list