[Box Backup] Cygwin build

Paul Arch boxbackup@fluffy.co.uk
Fri, 16 Apr 2004 16:14:58 +0800


>
> >  I seem to be having this problem (which relates to LinuxWorkaround
> somehow
> > ? )
> > RaidFileRead.cpp: In static member function `static bool
> >    RaidFileRead::ReadDirectoryContents(int, const std::string&, int,
> >    std::vector<std::string, std::allocator<std::string> >&)':
> > RaidFileRead.cpp:1597: error: 'struct dirent' has no member named
'd_type'
> > RaidFileRead.cpp:1597: error: `DT_REG' undeclared (first use this
> function)

<snip>

> Apr 16 12:55:49 sdmgbackup bbstored[4280]: Send
> LoginConfirmed(0x0,0x2,0x7d000,0xbb800)
> Apr 16 12:55:51 sdmgbackup bbstored[4280]: Receive
> ListDirectory(0x100000000000000,0xffffffff,0xc,true)

>From my last post, I am now thinking it is to do with perhaps byte order?
Note the ListDirectory Command from above from cygwin.  When running from
linux, the numbers are like 0x1, 0x2 etc.

Any ideas ?  I tried #PLATFORM_SWAP64_REQUIRED I found somewhere, but no
luck :)

cheers