[CMake] 2.4.7 TarTest test failure on Tru64 UNIX 5.1
Albert Chin
cmake at mlists.thewrittenword.com
Thu Sep 20 19:08:51 EDT 2007
On Thu, Sep 20, 2007 at 05:56:43PM -0500, Albert Chin wrote:
> [ snip snip ... ]
>
> The problem is that dirname("tar_dir/") == NULL. However, with
> -D_XOPEN_SOURCE_EXTENDED, then dirname("tar_dir/") works. So, what
> should we do? Is it possible to build Utilities/cmtar/util.c with
> -D_XOPEN_SOURCE_EXTENDED on Tru64 UNIX only? I know I can do this for
> _every_ file under Utilities/cmtar but want to restrict it only to
> Utilities/cmtar/util.c.
Ugh. Figured this out but building all of Utilities/cmtar/extract.c
with -D_XOPEN_SOURCE_EXTENDED gives an unresolved reference to
makedev().
--
albert chin (china at thewrittenword.com)
More information about the CMake
mailing list