This is the mail archive of the cygwin@sources.redhat.com 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]

Re: Compiling problem: crt0.o -- undefined reference


--- Queenie Chan <r54684@email.sps.mot.com> wrote:
> 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
> 

The only way we can help you is if you do a full install.  Go to the
http://cygwin.com website and click on the "Install Cygwin Now" link.  Your mix
and match isn't complete and Cygwin doesn't provide glibc.

Cheers,

=====
Earnie Boyd
mailto:earnie_boyd@yahoo.com

---         <http://earniesystems.safeshopper.com>         ---
--- Cygwin: POSIX on Windows <http://gw32.freeyellow.com/> ---
---   Minimalist GNU for Windows <http://www.mingw.org/>   ---

__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


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