This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

tar: Cannot hard link: No such file or directory


I seem to have the exact same problem as mentioned in an old message
http://www.cygwin.com/ml/cygwin/2004-01/msg00853.html

specifically I'm trying to untar the arm-elf gnutools from ecos
$ tar xjf ecoscentric-gnutools-arm-elf-1.4-2.cygwin.tar.bz2
tar: gnutools/arm-elf/arm-elf/bin/g++.exe: Cannot hard link to
`gnutools/arm-elf/arm-elf/bin/c++.exe': No such file or directory
tar: gnutools/arm-elf/bin/arm-elf-ar.exe: Cannot hard link to
`gnutools/arm-elf/arm-elf/bin/ar.exe': No such file or directory
tar: gnutools/arm-elf/bin/arm-elf-as.exe: Cannot hard link to
`gnutools/arm-elf/arm-elf/bin/as.exe': No such file or directory
tar: gnutools/arm-elf/bin/arm-elf-g++.exe: Cannot hard link to
`gnutools/arm-elf/bin/arm-elf-c++.exe': No such file or directory
tar: gnutools/arm-elf/bin/arm-elf-ld.exe: Cannot hard link to
`gnutools/arm-elf/arm-elf/bin/ld.exe': No such file or directory
tar: gnutools/arm-elf/bin/arm-elf-nm.exe: Cannot hard link to
`gnutools/arm-elf/arm-elf/bin/nm.exe': No such file or directory
tar: gnutools/arm-elf/bin/arm-elf-ranlib.exe: Cannot hard link to
`gnutools/arm-elf/arm-elf/bin/ranlib.exe': No such file or directory
tar: gnutools/arm-elf/bin/arm-elf-strip.exe: Cannot hard link to
`gnutools/arm-elf/arm-elf/bin/strip.exe': No such file or directory
tar: Error exit delayed from previous errors

If I create the links myself they succeed
$ ln gnutools/arm-elf/arm-elf/bin/c++.exe gnutools/arm-elf/arm-elf/bin/g++.exe
$ ls -al gnutools/arm-elf/arm-elf/bin/c++.exe
gnutools/arm-elf/arm-elf/bin/g++.exe
-rwxr-xr-x 2 ChristopherCordahi Domain Users 92672 Feb  2  2003
gnutools/arm-elf/arm-elf/bin/c++.exe
-rwxr-xr-x 2 ChristopherCordahi Domain Users 92672 Feb  2  2003
gnutools/arm-elf/arm-elf/bin/g++.exe

googling I can find similar problems mentioned several times,
but no applicable explanations or solutions.

--
Chris

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]