anyone working on the broken xfe?

Eric Schuele e.schuele at computer.org
Wed Apr 27 07:36:15 PDT 2005


Jonathan,

Jon Drews wrote:
> Hi Eric:
> 
> On 4/26/05, Eric Schuele <e.schuele at 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


More information about the freebsd-ports mailing list