delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/04/30/17:13:38

From: Martin Str|mberg <ams AT ludd DOT luth DOT se>
Message-Id: <200004302211.AAA13767@father.ludd.luth.se>
Subject: Re: Problem with symlinks?
In-Reply-To: <200004301959.AAA00638@vsnl.net.in> from Prashant TR at "May 1, 2000 00:59:40 am"
To: djgpp-workers AT delorie DOT com
Date: Mon, 1 May 2000 00:11:08 +0200 (MET DST)
X-Mailer: ELM [version 2.4ME+ PL54 (25)]
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

According to Prashant TR:
> 
> I got this error message while trying to configure sh-utils from another
> drive.
> 
> ----
> creating tests/test/Makefile
> creating config.h
> linking d:/prj/shutils/gnu/sh-util2.0g/intl/libgettext.h to intl/libintl.h
> d:/djgpp/bin/ln: cannot create hard link `intl/libintl.h' to `d:/prj/shutils/gnu/sh-util2.0g/intl/libgettext.h': Improper link (EXDEV)
> configure: error: cannot link intl/libintl.h to d:/prj/shutils/gnu/sh-util2.0g/intl/libgettext.h
> ----
> 
> Trying ln d:/prj/shutils/gnu/sh-util2.0g/intl/libgettext.h intl/libintl.h
> manually, I got the same error. In fact, that was what the configure script
> was trying to do.
> 
> Possibly, there's a bug in ln?

No, this is how hard links work. It's impossible to make hard links
across different partitions.

You probably want "ln -s" which makes symbolic links, which are
allowed to cross partition boundaries.


Right,

							MartinS


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019