delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
Message-ID: | <3A246144.70CB2DDF@email.sps.mot.com> |
Date: | Wed, 29 Nov 2000 09:52:04 +0800 |
From: | "Queenie Chan" <r54684 AT email DOT sps DOT mot DOT com> |
Organization: | Motorola Semiconductor Products Sector |
X-Mailer: | Mozilla 4.61 [en]C-MOT45 (WinNT; I) |
X-Accept-Language: | en |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Compiling problem: crt0.o -- undefined reference |
Hi, This is my first time using cygwin, and I tried to run a simple Hello World program, but I got this error message: bash-2.04$ gcc hello.c /usr/lib/crt0.o(.text+0x39):crt0.c: undefined reference to 'cygwin_crt0' collect2: ld returned 1 exit status I'm using Windows NT and I installed the following cygwin packages: bash, binutils, cygwin, fileutils, gcc, make, shellutils, diff, glibc-1.09.1 I figure the problem occurs when the compiler gets to the line, main(), of my Hello World program. Yet, I don't know how to fix it. My crt0.o file is in D:\cygwin\lib\. Please help me, for I can't do anything else if I can't even compile. Thank you very much. Queenie -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |