[maemo-developers] [maemo-developers] problem while configuring target compiler in scratchbox

From: Ed Bartosh eduard.bartosh at nokia.com
Date: Thu Jul 27 16:28:02 EEST 2006
On Thu, 2006-07-27 at 16:16 +0300, ext Andrey Khurri wrote:
> Hi,
> 
> I am upgrading my scratchbox environment and maemo sdk. Everything went 
> smoothly except of when I configure newly created target I get the 
> following error:
> 
> [sbox-SDK_PC2: ~] > sbox-config -cc
> cp: cannot overwrite directory `/usr/include/asm' with non-directory
> 
> Has anyone experienced the same?
> 
It's probably because you have /usr/include/asm directory and
sbox-config tries to substitute it with symlink.
I think you can remove it or move somewhere.

Below is log of my attempt to reproduce the issue. 
Hope it'll help.
[sbox-armel: ~/tmp] > file /usr/include/asm
/usr/include/asm: symbolic link to `asm-arm'
[sbox-armel: ~/tmp] > rm /usr/include/asm
[sbox-armel: ~/tmp] > mkdir /usr/include/asm
[sbox-armel: ~/tmp] > sbox-config -cc
cp: cannot overwrite directory `/usr/include/asm' with non-directory
[sbox-armel: ~/tmp] > rm -rf /usr/include/asm
[sbox-armel: ~/tmp] > sbox-config -cc
[sbox-armel: ~/tmp] > echo $?
0

> Andrey
> 
> _______________________________________________
> maemo-developers mailing list
> maemo-developers at maemo.org
> https://maemo.org/mailman/listinfo/maemo-developers
-- 
Ed Bartosh <eduard.bartosh at nokia.com>
Nokia-M/Helsinki

More information about the maemo-developers mailing list