[klibc] [SOLVED] error in make install "cp: cannot copy cyclic symbolic link"

Aline de Freitas aline at riseup.net
Mon Jul 2 13:14:23 PDT 2007


Aline de Freitas escreveu:
> Hi All,
>
> I'm trying to build klibc against my own kernel source tree. The build
> goes fine, the problem is to install it.
>
> As usr/klibc/README asks, I've create a symlink called linux pointing to
> my kernel tree:
>
> lrwxrwxrwx 1 root root   25 Jul  2 16:18 linux -> /usr/src/linux-2.6.22-rc6
>
> anderson-herzer:/usr/local/src/klibc-1.5# export LANG=C
> anderson-herzer:/usr/local/src/klibc-1.5# make prefix=/usr/local/install
>   INSTALL headers + man pages to /usr/local//lib/klibc
> cp: cannot copy cyclic symbolic link
> `linux//include/asm-x86_64/./asm-x86_64'
> make[1]: *** [header] Error 1
> make: *** [install] Error 2
>
>
>
> anderson-herzer:/usr/local/src/klibc-1.5# uname -a
> Linux anderson-herzer 2.6.22-rc6 #4 Mon Jul 2 14:30:42 BRT 2007 x86_64
> GNU/Linux
>
> My distro is Debian unstable amd64.
>
> My processor is (as /proc/cpuinfo)
>
> model name      : AMD Athlon(tm) 64 Processor 3200+
>
> If you need more info just tell me.
> Thanks
I've find the problem. In my kernel tree I had a symlink
include/asm-x86_64/asm-x86_64 pointing to
/usr/src/linux/include/asm-x86_64. So I just remove it.

-- 
Aline de Freitas - Chave pública: ID DE632016 / keys.indymedia.org
gpg --keyserver keys.indymedia.org --recv-keys DE632016




-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://www.zytor.com/pipermail/klibc/attachments/20070702/cd122a23/attachment.bin 


More information about the klibc mailing list