compile on OpenSolaris build 133
Status: Alpha
Brought to you by:
willmurnane
We would like to use pyzfs on our system and I tried to compile
svn rel 15 on OpenSolaris snv 133 using gcc.
However I get the following error message:
/usr/local/pyzfs/trunk/zfs.cxx: In member function `int zfs::send(char*, PyObject*, char*, bool, bool, bool, bool, bool, bool, PyObject*, PyObject*)':
/usr/local/pyzfs/trunk/zfs.cxx:117: error: conversion from `boolean_t' to non-scalar type `sendflags_t' requested
*** Error code 1
The following command caused the error:
/usr/bin/g++ -D_pyzfs_EXPORTS -fPIC -I/usr/include/python2.6 -o CMakeFiles/_pyzfs.dir/zfs.cxx.o -c /usr/local/pyzfs/trunk/zfs.cxx
Any hint would be welcome,
kind regards, Ralf
Ralf Utermann, Universität Augsburg, Germany
It looks as though you're getting HAVE_SENDFLAGS_T undefined. I was unable to test this, as my machine is running snv_127. What does your config.h look like?
(Sorry for the delay in answering; I didn't notice that email notification was off for this forum.)