Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Subject: Re: Using cygwin with W2K in VMWare on Debian 2.6.8-11-amd64-k8-smp? From: Joost Kraaijeveld To: cygwin AT cygwin DOT com In-Reply-To: <4346015C.7C0C1720@dessent.net> References: <1128580106 DOT 3655 DOT 244 DOT camel AT Panoramix> <20051006141536 DOT GA17445 AT trixie DOT casa DOT cgf DOT cx> <1128611033 DOT 20665 DOT 7 DOT camel AT Panoramix> <6 DOT 2 DOT 1 DOT 2 DOT 0 DOT 20051006121509 DOT 0397c5a8 AT pop DOT prospeed DOT net> <1128660024 DOT 20665 DOT 12 DOT camel AT Panoramix> <4346015C DOT 7C0C1720 AT dessent DOT net> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Fri, 07 Oct 2005 08:19:19 +0200 Message-Id: <1128665959.20665.42.camel@Panoramix> Mime-Version: 1.0 X-IsSubscribed: yes On Thu, 2005-10-06 at 22:02 -0700, Brian Dessent wrote: > I seriously doubt that vmware has anything to do with it. You need to > figure out why ld cannot be executed. Try -v. I have checked all the paths in the output and they exist. All executables that are called seem to respond to running the executable with --version *except* "as" and "ld". 1. /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/as.exe shows nothing. 2. /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld shows a message box about an error in a 16-bits MS-DOS subsystem (in Dutch) saying that the NTVDM-CPU encountered an invalid instruction. Inspecting that directory shows that all files (ar.exe, as.exe, ld.exe, nm.exe, ranlib.exe and strip.exe) are only 26 bytes big (are they actually symlinks?). Running /usr/bin/ld works OK. If the files are symlinks than the remarks about symlinks on Samba shares would apply (can anyone confirm or deny that: I do not have any Windows machine to check it?) . But I have enabled the symlink stuff from the FAQs (map system = yes and create mask = 0775).... So are the files in /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ actually symlinks? Reading specs from /usr/lib/gcc/i686-pc-cygwin/3.4.4/specs Configured with: /gcc/gcc-3.4.4/gcc-3.4.4-1/configure --verbose --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-languages=c,ada,c++,d,f77,java,objc --enable-nls --without-included-gettext --enable-version-specific-runtime-libs --without-x --enable-libgcj --disable-java-awt --with-system-zlib --enable-interpreter --disable-libgcj-debug --enable-threads=posix --enable-java-gc=boehm --disable-win32-registry --enable-sjlj-exceptions --enable-hash-synchronization --enable-libstdcxx-debug : (reconfigured) Thread model: posix gcc version 3.4.4 (cygming special) (gdc 0.12, using dmd 0.125) /usr/lib/gcc/i686-pc-cygwin/3.4.4/cc1.exe -quiet -v -D__CYGWIN32__ -D__CYGWIN__ -Dunix -D__unix__ -D__unix -idirafter /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api -idirafter /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/lib/../../include/w32api test.c -quiet -dumpbase test.c -mtune=pentiumpro -auxbase test -version -o /cygdrive/c/DOCUME~1/ADMINI~1.ASK/LOCALS~1/Temp/ccC78L2H.s ignoring nonexistent directory "/usr/local/include" ignoring nonexistent directory "/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/include" ignoring duplicate directory "/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/lib/../../include/w32api" #include "..." search starts here: #include <...> search starts here: /usr/lib/gcc/i686-pc-cygwin/3.4.4/include /usr/include /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api End of search list. GNU C version 3.4.4 (cygming special) (gdc 0.12, using dmd 0.125) (i686-pc-cygwin) compiled by GNU C version 3.4.4 (cygming special) (gdc 0.12, using dmd 0.125). GGC heuristics: --param ggc-min-expand=47 --param ggc-min-heapsize=32702 /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/as.exe -o /cygdrive/c/DOCUME~1/ADMINI~1.ASK/LOCALS~1/Temp/ccgvKskz.o /cygdrive/c/DOCUME~1/ADMINI~1.ASK/LOCALS~1/Temp/ccC78L2H.s /usr/lib/gcc/i686-pc-cygwin/3.4.4/collect2.exe -Bdynamic --dll-search-prefix=cyg -o test.exe /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../crt0.o -L/usr/lib/gcc/i686-pc-cygwin/3.4.4 -L/usr/lib/gcc/i686-pc-cygwin/3.4.4 -L/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../.. /cygdrive/c/DOCUME~1/ADMINI~1.ASK/LOCALS~1/Temp/ccgvKskz.o -lgcc -lcygwin -luser32 -lkernel32 -ladvapi32 -lshell32 -lgcc /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: installation problem, cannot exec '/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld': Invalid argument collect2: ld returned 255 exit status -- Groeten, Joost Kraaijeveld Askesis B.V. Molukkenstraat 14 6524NB Nijmegen tel: 024-3888063 / 06-51855277 fax: 024-3608416 e-mail: J DOT Kraaijeveld AT Askesis DOT nl web: www.askesis.nl -- 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/