bug-xorriso
[Top][All Lists]
Advanced

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

[Bug-xorriso] Portability issues of xorriso on Solaris 9


From: Dagobert Michelsen
Subject: [Bug-xorriso] Portability issues of xorriso on Solaris 9
Date: Mon, 17 Jan 2011 14:30:57 +0100

Hi Thomas,

I just tried to build the current xorriso 1.0.0 on Solaris 9 Sparc
with Sun Studio 12 compiler and ran into a couple of portability issues:

1. Although configure already tests for the availability for stdint.h and
inttypes.h everywhere is unconditionally included stdint.h. As Solaris 9
does only have inttypes.h this does not work. This patch contitionally
includes either one if available:

Attachment: 0001-Use-inttypes.h-when-stdint.h-is-not-available.patch
Description: Binary data


2. The function 'nanosleep' is in librt for Solaris 9. This can easily be
checked by adding
AC_SEARCH_LIBS([nanosleep],[rt])
to configure.ac.

3. The functions 'setenv' and 'unsetenv' are not available on Solaris 9
im favor of 'putenv'. This could e.h. be fixed by adding the setenv
emulation from GNULib as documented here:
http://www.gnu.org/software/hello/manual/gnulib/setenv.html
I did not make a patch yet as I don't know your preferred method and
whether you want to move in the gnulib direction.

If you need access to the OpenCSW buildfarm equipped with several versions
of Solaris and a variety of compilers just let me know. Rocky is already
using the farm for compatibility checks :-)


Best regards und besten Dank!

-- Dago


reply via email to

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