[Gambas-user] gba3 -> Invalid cross-device link

Tobias Boege taboege at ...626...
Sun Mar 31 17:53:50 CEST 2013


On Sun, 31 Mar 2013, Beno?t Minisini wrote:
> Le 31/03/2013 04:06, Beno?t Minisini a ?crit :
> > Le 31/03/2013 04:03, Beno?t Minisini a ?crit :
> >> Le 27/03/2013 19:32, Tobias Boege a ?crit :
> >>> Hi,
> >>>
> >>> I try to create a Gambas executable (from within the IDE but that
> >>> doesn't
> >>> seem to be relevant here). The project directory lies on another hard
> >>> drive
> >>> partition than the executable's target directory. This causes gba3 to
> >>> fail
> >>> with:
> >>>
> >>> gba: ERROR: Cannot make executable: Cannot create executable: Invalid
> >>> cross-device link
> >>> Project.MakeExecutable.2828
> >>>
> >>> There seems to be a hardlink involved and so I ask: is it really
> >>> necessary
> >>> to hardlink? Wouldn't a symlink do it, too?
> >>>
> >>> Regards,
> >>> Tobi
> >>>
> >>
> >> There is no hardlink used anywhere in Gambas. That's a strange error! I
> >> will investigate...
> >>
> >
> > OK. This error has nothing to do with hardlinks. It's just that the
> > executable is created inside a temporary file, and that temporay file is
> > then moved (i.e. renamed), which does not work if the target directory
> > is on a different device than the temporary directory.
> >
> 
> It should be fixed in revision #5604.

Yep, thanks.

Regards,
Tobi




More information about the User mailing list