On Tue, 22 Dec 2009, Ben Wart wrote: > Darren, > > I was able to compile pyzfs using the information in your post above > with Python 2.6 on NexentaCore. However the pyzfs that I found for > download and available on Google Code doesn't have a reference to the > zfs_do_send method that you mention. > > When I added that code I recieved the following error when compiling: > code.cxx:203:2: warning: no newline at end of file > code.cxx:147: error: no 'int zfs::zfs_do_send(const char*, const char*, int)' > member function declared in class 'zfs' > code.cxx: In member function 'int zfs::zfs_do_send(const char*, const char*, > int)': > code.cxx:150: error: 'bzero' was not declared in this scope
If I'm reading this correctly, and it's very probable I'm not, the zfs_do_send function *is* there, but code.cxx is missing a #include for strings.h ... or whatever c++ uses for its equivalent. Regards, markm