On Wed, 02 May 2007 11:46:23 +0200, Aitor Pérez Iturri  
<[EMAIL PROTECTED]> wrote:

> Hi all.
>
> I'm looking the code for ChrootCompile.
>
> Function create_root tries to create at the end a symlink to a non
> existent directory:
>
>        ln -nfs .. $rootdir/$prefix
>
> rootdir as been yet set to $1/$2 where $1 is set to:
>       "/Mount/HDB1/Epia/Bootstrap/chroot/Area-UClibc-0.9.26-r2/"
> and $2 is set to:
>       "/Mount/HDB2/System/Epia-C3/"
>
> Is this a type and the symlink should be created as:
>        ln -nfs .. `echo $rootdir | cut -d"/" -f2-`
>
> or the command is fine, the should exec before the ln command:a
>       local tmp=$rootdir/$prefix
>       mkdir -p ${tmp%/*}
>       ln -nfs .. $rootdir/$prefix
>
> I think the problem comes because i'm not using standard places to make
> the compile.
>
The problem comes from that you probably have configured the  
'cross_prefix_dir' setting in your cross compilation configure file to be  
an absolute path, while it's supposed to be a _prefix_.

-- 
/Jonas

Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
_______________________________________________
gobolinux-devel mailing list
gobolinux-devel@lists.gobolinux.org
http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel

Reply via email to