This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
What is killing my links (.lnk)
- From: Brian Keener <bkeener at thesoftwaresource dot com>
- To: cygwin-apps <cygwin-apps at cygwin dot com>
- Date: Wed, 29 Jan 2003 20:04:25 EST
- Subject: What is killing my links (.lnk)
- Reply-to: bkeener at thesoftwaresource dot com
Does anyone have any idea why my links are disappearing or probably better
phrased as being broken. On my Win2k system I did an update of my Cygwin and
Setup sources and was going to recompile and could not get them to recompile.
I don't know what made me think of it other than the error message were sort of
different and unusual and I remembered a previous problem I had (also with
confusing error messages) that ended up being because of some links that were
broken. I had set up a link to less as pg and it was broken as well (which in
addition to the strange error messages started giving me a clue). I went
searching and found a lot of .lnk files in my cygwin as opposed to the normal
display for my pg link for example of:
pg->less.exe
I assume if they just have a filename.lnk they are broken links???? Is this
correct. If so what breaks them? It would appear that something is changing
the attributes based on the message in the archive:
http://sources.redhat.com/ml/cygwin/2003-01/msg01129.html
and that this is what is causing them to be broken. Based on the above message
I found I could turn it back to a link without recreating simply by checking
the properties of the file and checking the Read Only checkbox and voila they
turn back to link files. I have enclosed a list of the .lnk files I found on
my system which appear to be broken in case anyone else might see a pattern:
-rw-r--r-- 1 briank None 150 Nov 25 12:51 /etc/hosts.lnk
-rw-r--r-- 1 briank None 156 Nov 25 12:51 /etc/services.lnk
-rw-r--r-- 1 briank None 156 Nov 25 12:51 /etc/protocols.lnk
-rw-r--r-- 1 briank None 156 Nov 25 12:51 /etc/networks.lnk
-rw-r--r-- 1 briank None 110 Aug 12 17:25 /bin/libpng-config.lnk
-rw-r--r-- 1 briank None 174 Aug 12 17:25
/lib/gcc-lib/i686-pc-mingw32/3.1.1/tradcpp0.exe.lnk
-rw-r--r-- 1 briank None 160 Aug 12 17:25
/lib/gcc-lib/i686-pc-mingw32/3.1.1/specs.lnk
-rw-r--r-- 1 briank None 166 Aug 12 17:25
/lib/gcc-lib/i686-pc-mingw32/3.1.1/f771.exe.lnk
-rw-r--r-- 1 briank None 166 Aug 12 17:25
/lib/gcc-lib/i686-pc-mingw32/3.1.1/crtend.o.lnk
-rw-r--r-- 1 briank None 170 Aug 12 17:25
/lib/gcc-lib/i686-pc-mingw32/3.1.1/crtbegin.o.lnk
-rw-r--r-- 1 briank None 166 Aug 12 17:25
/lib/gcc-lib/i686-pc-mingw32/3.1.1/cpp0.exe.lnk
-rw-r--r-- 1 briank None 172 Aug 12 17:25
/lib/gcc-lib/i686-pc-mingw32/3.1.1/cc1plus.exe.lnk
-rw-r--r-- 1 briank None 170 Aug 12 17:25
/lib/gcc-lib/i686-pc-mingw32/3.1.1/cc1obj.exe.lnk
-rw-r--r-- 1 briank None 164 Aug 12 17:25
/lib/gcc-lib/i686-pc-mingw32/3.1.1/cc1.exe.lnk
-rw-r--r-- 1 briank None 144 Jan 15 18:53
/lib/gcc-lib/i686-pc-mingw32/3.2/cc1.exe.lnk
-rw-r--r-- 1 briank None 146 Jan 15 18:53
/lib/gcc-lib/i686-pc-mingw32/3.2/cpp0.exe.lnk
-rw-r--r-- 1 briank None 146 Jan 15 18:53
/lib/gcc-lib/i686-pc-mingw32/3.2/crtend.o.lnk
-rw-r--r-- 1 briank None 140 Jan 15 18:53
/lib/gcc-lib/i686-pc-mingw32/3.2/specs.lnk
-rw-r--r-- 1 briank None 154 Jan 15 18:53
/lib/gcc-lib/i686-pc-mingw32/3.2/tradcpp0.exe.lnk
-rw-r--r-- 1 briank None 146 Jan 15 18:53
/lib/gcc-lib/i686-pc-mingw32/3.2/f771.exe.lnk
-rw-r--r-- 1 briank None 150 Jan 15 18:53
/lib/gcc-lib/i686-pc-mingw32/3.2/crtbegin.o.lnk
-rw-r--r-- 1 briank None 152 Jan 15 18:53
/lib/gcc-lib/i686-pc-mingw32/3.2/cc1plus.exe.lnk
-rw-r--r-- 1 briank None 150 Jan 15 18:53
/lib/gcc-lib/i686-pc-mingw32/3.2/cc1obj.exe.lnk
-rw-r--r-- 1 briank None 100 Aug 12 17:25 /lib/libpng.a.lnk
-rw-r--r-- 1 briank None 108 Aug 12 17:25 /lib/libpng.dll.a.lnk
-rw-r--r-- 1 briank None 102 Aug 12 17:25
/lib/pkgconfig/libpng.pc.lnk
-rw-r--r-- 1 briank None 96 Aug 12 17:25 /usr/include/libpng.lnk
-rw-r--r-- 1 briank None 108 Aug 12 17:25 /usr/include/png.h.lnk
-rw-r--r-- 1 briank None 116 Aug 12 17:25
/usr/include/pngconf.h.lnk
-rw-r--r-- 1 briank None 174 Aug 12 17:25
/usr/lib/gcc-lib/i686-pc-mingw32/3.1.1/tradcpp0.exe.lnk
-rw-r--r-- 1 briank None 160 Aug 12 17:25
/usr/lib/gcc-lib/i686-pc-mingw32/3.1.1/specs.lnk
-rw-r--r-- 1 briank None 166 Aug 12 17:25
/usr/lib/gcc-lib/i686-pc-mingw32/3.1.1/f771.exe.lnk
-rw-r--r-- 1 briank None 166 Aug 12 17:25
/usr/lib/gcc-lib/i686-pc-mingw32/3.1.1/crtend.o.lnk
-rw-r--r-- 1 briank None 170 Aug 12 17:25
/usr/lib/gcc-lib/i686-pc-mingw32/3.1.1/crtbegin.o.lnk
-rw-r--r-- 1 briank None 166 Aug 12 17:25
/usr/lib/gcc-lib/i686-pc-mingw32/3.1.1/cpp0.exe.lnk
-rw-r--r-- 1 briank None 172 Aug 12 17:25
/usr/lib/gcc-lib/i686-pc-mingw32/3.1.1/cc1plus.exe.lnk
-rw-r--r-- 1 briank None 170 Aug 12 17:25
/usr/lib/gcc-lib/i686-pc-mingw32/3.1.1/cc1obj.exe.lnk
-rw-r--r-- 1 briank None 164 Aug 12 17:25
/usr/lib/gcc-lib/i686-pc-mingw32/3.1.1/cc1.exe.lnk
-rw-r--r-- 1 briank None 144 Jan 15 18:53
/usr/lib/gcc-lib/i686-pc-mingw32/3.2/cc1.exe.lnk
-rw-r--r-- 1 briank None 146 Jan 15 18:53
/usr/lib/gcc-lib/i686-pc-mingw32/3.2/cpp0.exe.lnk
-rw-r--r-- 1 briank None 146 Jan 15 18:53
/usr/lib/gcc-lib/i686-pc-mingw32/3.2/crtend.o.lnk
-rw-r--r-- 1 briank None 140 Jan 15 18:53
/usr/lib/gcc-lib/i686-pc-mingw32/3.2/specs.lnk
-rw-r--r-- 1 briank None 154 Jan 15 18:53
/usr/lib/gcc-lib/i686-pc-mingw32/3.2/tradcpp0.exe.lnk
-rw-r--r-- 1 briank None 146 Jan 15 18:53
/usr/lib/gcc-lib/i686-pc-mingw32/3.2/f771.exe.lnk
-rw-r--r-- 1 briank None 150 Jan 15 18:53
/usr/lib/gcc-lib/i686-pc-mingw32/3.2/crtbegin.o.lnk
-rw-r--r-- 1 briank None 152 Jan 15 18:53
/usr/lib/gcc-lib/i686-pc-mingw32/3.2/cc1plus.exe.lnk
-rw-r--r-- 1 briank None 150 Jan 15 18:53
/usr/lib/gcc-lib/i686-pc-mingw32/3.2/cc1obj.exe.lnk
-rw-r--r-- 1 briank None 100 Aug 12 17:25 /usr/lib/libpng.a.lnk
-rw-r--r-- 1 briank None 108 Aug 12 17:25
/usr/lib/libpng.dll.a.lnk
-rw-r--r-- 1 briank None 102 Aug 12 17:25
/usr/lib/pkgconfig/libpng.pc.lnk
-rw-r--r-- 1 briank None 181 Nov 15 10:55
/usr/develop/src/depcomp.lnk
-rw-r--r-- 1 briank None 177 May 2 2002
/usr/develop/src/cygwin-apps/setup/libgetopt++/cfgaux/config.sub.lnk
-rw-r--r-- 1 briank None 181 Nov 14 16:35
/usr/develop/src/cygwin-apps/setup/libgetopt++/cfgaux/compile.lnk
-rw-r--r-- 1 briank None 191 Nov 14 16:36
/usr/develop/src/cygwin-apps/setup/libgetopt++/cfgaux/config.guess.lnk
-rw-r--r-- 1 briank None 181 Nov 14 16:36
/usr/develop/src/cygwin-apps/setup/libgetopt++/cfgaux/depcomp.lnk
-rw-r--r-- 1 briank None 187 Nov 14 16:37
/usr/develop/src/cygwin-apps/setup/libgetopt++/cfgaux/install-sh.lnk
-rw-r--r-- 1 briank None 181 Nov 14 16:37
/usr/develop/src/cygwin-apps/setup/libgetopt++/cfgaux/missing.lnk
-rw-r--r-- 1 briank None 193 Nov 14 16:38
/usr/develop/src/cygwin-apps/setup/libgetopt++/cfgaux/mkinstalldirs.lnk
-rw-r--r-- 1 briank None 175 Nov 18 17:34
/usr/develop/src/cygwin-apps/setup/libgetopt++/cfgaux/ltmain.sh.lnk
-rw-r--r-- 1 briank None 175 Jul 19 2002
/usr/develop/src/ltmain.sh.lnk
Any additional information would be greatly appreciated.
bk