Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Apr 2005 09:36:12 -0500
From:      Eric Schuele <e.schuele@computer.org>
To:        Jon Drews <jon.drews@gmail.com>
Cc:        ports@freebsd.org
Subject:   Re: anyone working on the broken xfe?
Message-ID:  <426FA35C.8040504@computer.org>
In-Reply-To: <8cb27cbf05042615007ec0d27b@mail.gmail.com>
References:  <426EA027.8060002@computer.org> <8cb27cbf05042615007ec0d27b@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Jonathan,

Jon Drews wrote:
> Hi Eric:
> 
> On 4/26/05, Eric Schuele <e.schuele@computer.org> wrote:
> 
>>Hello,
>>
>>I was wondering if anyone used xfe (other than me)... and if anyone was
>>working on 'fixing' the port which is marked broken?
> 
> 
> I tried to update the port. The new version (0.80) is out:
> http://roland65.free.fr/xfe/

I grabbed the source as well the other day but have not yet had a chance 
to mess with it.

> 
> I get this error when I compile the new port:
> DirPanel.cc:79: error: `ID_MOUNT' is not a member of `DirPanel'
> DirPanel.cc:79: error: `ID_MOUNT' is not a member of `DirPanel'
> DirPanel.cc:80: error: `ID_UMOUNT' is not a member of `DirPanel'
> DirPanel.cc:80: error: `ID_UMOUNT' is not a member of `DirPanel'
> DirPanel.cc: In member function `long int DirPanel::onUpdMount(FX::FXObject*, FX
> ::FXSelector, void*)':
> DirPanel.cc:814: error: `fsdevices' undeclared (first use this function)
> DirPanel.cc:814: error: (Each undeclared identifier is reported only once for ea
> ch function it appears in.)
> DirPanel.cc:814: error: `mtdevices' undeclared (first use this function)
> DirPanel.cc: In member function `long int DirPanel::onUpdUnmount(FX::FXObject*, 
> FX::FXSelector, void*)':
> DirPanel.cc:834: error: `fsdevices' undeclared (first use this function)
> DirPanel.cc:834: error: `mtdevices' undeclared (first use this function)
> gmake[2]: *** [DirPanel.o] Error 1
> gmake[2]: Leaving directory `/usr/ports/x11-fm/xfe/work/xfe-0.80/src'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/usr/ports/x11-fm/xfe/work/xfe-0.80'
> gmake: *** [all] Error 2
> *** Error code 2
> 
> 
> In the DirPanel.cc, I saw this:
> #if defined(linux)                              
> FXMAPFUNC(SEL_COMMAND,DirPanel::ID_MOUNT,DirPanel::onCmdMount),       
> FXMAPFUNC(SEL_COMMAND,DirPanel::ID_UMOUNT,DirPanel::onCmdMount),
> #endif 
> 

Given your post and a cursory glance at the code it... I'm guessing the 
author did not #ifdef enough out.

> 
> so since it's FreeBSD, it may not be used and hence the above error.
> That is just a wild guess. I don't know how to diagnose this one.
> 

If anyone else is on top of this, holler.... and I wont bother.

-- 
Regards,
Eric



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?426FA35C.8040504>