There should be other thing if not d_off, we cant just remove it like this. Because, if we remove it. it won't return at all. Other than this, I am pretty sure i compiled 1.3.8 on bsd machine (on paul arch's machine). Anyways, Thanks for the patch. But Iam thinking how i can set that d_off thing. On Tue, May 13, 2008 at 12:56 AM, Harshavardhana <harsha@xxxxxxxxxxxxx> wrote: > Hi Amar, > > Actually it was 1.3.8pre6 which successfully compiled on FreeBSD 7.0 not > 1.3.8 release. But when i saw the 1.3.8 release it had alloca.h added > into common-utils.h and also d_off is not present under FreeBSD dirent > structure used in posix translator. > > Please find the attached patch which makes 1.3.8 compile fine on FreeBSD > 7.0, the d_off entry has been removed. > > And also by fact all the xlators/schedulers/transport needed > -D$(GF_HOST_OS) to be added for AM_CFLAGS. > > Let me know if this works out. Sorry about suggesting you linux-compat > package that actually didn't really help :D > > Regards > -- > Harshavardhana > [y4m4 on #gluster@xxxxxxxxxxxxxxxx] > "Samudaya TantraShilpi" > Z Research Inc - http://www.zresearch.com > > > -- Amar Tumballi Gluster/GlusterFS Hacker [bulde on #gluster/irc.gnu.org] http://www.zresearch.com - Commoditizing Super Storage!